The Bug:
Some words within "/clear" 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.clear.success.single | Removed %s items from player %s | Removed %s item(s) from player %s | https://crowdin.com/translate/minecraft/10038/enus-engb#5341010 |
commands.clear.success.multiple | Removed %s items from %s players | Removed %s item(s) from %s players | https://crowdin.com/translate/minecraft/10038/enus-engb#5341012 |
commands.clear.test.single | Found %s matching items on player %s | Found %s matching item(s) on player %s | https://crowdin.com/translate/minecraft/10038/enus-engb#5341014 |
commands.clear.test.multiple | Found %s matching items on %s players | Found %s matching item(s) on %s players | https://crowdin.com/translate/minecraft/10038/enus-engb#5341016 |
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:
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"}
Look closely at the affected words within the string.
Take note as to whether or not some words within "/clear" 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
relates to 2
Attachments
Comments 13
Can confirm in 21w13a. Relates to MC-202226.
Can confirm in 1.19.2. This ticket relates to MC-255060.
Hi; I've done some deeper investigating regarding this issue and it appears there are some other "clear" command strings that are also affected by this issue. Would it be okay if I can request ownership of this report since the reporter has been inactive for quite a substantial amount of time and also so that I can update it to mention the newly discovered information? I'm happy to keep this report up-to-date as well. 🙂
Reporter changed to @unknown based on comment above – add a comment here if you would like ownership of the report again, @unknown. Thanks. 🙂
All command feedback is plural, this is because it's a hassle to support every form of plural in translations (note, non-english languages have numerous different plurals for different non-1 values).
This was intentional by design (I asked mojang back when I was mod about this).