Mojira Archive
MC-172305

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

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:

  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 "/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.

Fixed

[Mod] Avoma

3A 'n 2A Kids

[Mojang] parberge

2020-02-15, 09:06 AM

2023-03-08, 10:16 PM

2023-03-06, 12:05 PM

9

4

Confirmed

Low

Platform

Text

grammar, pluralization, spelling

1.15.2 - 1.19.31.15.2, 20w06a, 20w07a, 20w14a, 1.16.2, 1.16.4, 20w48a, 20w49a, 21w03a, 1.16.5, 21w11a, 21w13a, 1.17, 1.17.1, 1.18.1, 1.18.2, 22w18a, 1.19.2, 22w43a, 1.19.3

1.19.4 Pre-release 4