mojira.dev
MC-211071

Some words within "/spreadplayers" command feedback messages are always pluralized

The Bug:

Some words within "/spreadplayers" command feedback messages are always pluralized.

This is an issue because when the value before the given noun is "1", the noun's plural form is used instead of its singular one, therefore making the string grammatically incorrect in some cases.

Affected Strings:

Before reading the table, please note the following:

  • Words colored in GREEN are correct.

  • Words colored in RED are incorrect.

 

Translation Key

Current String

Expected String

String URL on Crowdin

commands.spreadplayers.success.teams

Spread %s teams around %s, %s with an average distance of %s blocks apart

Spread %s team(s) around %s, %s with an average distance of %s blocks apart

https://crowdin.com/translate/minecraft/10038/enus-engb#5341276 

commands.spreadplayers.success.entities

Spread %s players around %s, %s with an average distance of %s blocks apart

Spread %s player(s) around %s, %s with an average distance of %s blocks apart

https://crowdin.com/translate/minecraft/10038/enus-engb#5341278 

commands.spreadplayers.failed.teams

Could not spread %s teams around %s, %s (too many entities for space - try using spread of at most %s)

Could not spread %s team(s) around %s, %s (too many entities for space - try using spread of at most %s)

https://crowdin.com/translate/minecraft/10038/enus-engb#5341932 

commands.spreadplayers.failed.entities

Could not spread %s entities around %s, %s (too many entities for space - try using spread of at most %s)

Could not spread %s entity/entities around %s, %s (too many entities for space - try using spread of at most %s)

https://crowdin.com/translate/minecraft/10038/enus-engb#5341934 

Alternatively, instead of having one string cover both the plural and non-plural variants of the word, two separate translation strings could be created, one of which covers the plural variant and the other that covers the non-plural variant.

Steps to Reproduce:

  1. Display any of the affected strings as listed above by using the command provided below and replacing "XYZ" with the string's translation key.

    /tellraw @s {"translate":"XYZ"}
  2. Look closely at the affected words within the string.

  3. Take note as to whether or not some words within "/spreadplayers" command feedback messages are always pluralized.

Observed Behavior:

Some words are always pluralized.

Expected Behavior:

The said words would be correctly singularized or pluralized where appropriate.

Linked issues

Attachments

Comments 10

Relates to/Clones MC-106675.
Though, all command feedback is plural since 1.13, no matter how many results. So almost definitely WAI this time.

Can confirm in 1.16.5.

Can confirm in 1.17.

Can confirm in 1.17.1.

Can confirm in 21w40a. The expected behavior would be that when the "spreadplayers" command is used on one player, the word "players" within the success message would be displayed as "player".

Can confirm in 1.18.1.

Can confirm in 1.18.2 and 1.19 Pre-release 1. This can also be seen when teleporting a singular team to a given location. This issue is occurring because the source strings are hardcoded to always use the pluralized version of the words "player" and "team". The affected translation keys are as follows:

  • commands.spreadplayers.success.teams

  • commands.spreadplayers.success.entities

Also, since the reporter of this ticket is inactive, would it be okay for me to request ownership of this report so that I can update it to include this new information?

Can confirm in 1.19.2. This ticket relates to MC-255060. Also, would it be okay if I could take ownership of this report since the reporter has been deemed inactive for quite a substantial amount of time? I'll update this ticket mention the information I stated in my previous comment and will actively take care of it overall. 🙂

Thanks profusely for granting me ownership; this ticket has been updated accordingly to include all of the new and necessary information. 🙂

bugsbugsbugs

Avoma

migrated

Confirmed

Platform

Low

Text

grammar, pluralization, spelling

1.16.4, 20w51a, 21w03a, 1.16.5, 21w05a, ..., 22w03a, 1.18.2, 1.19 Pre-release 1, 1.19.2, 1.19.3

1.19.4 Pre-release 4

Retrieved