Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-172305

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.19.4 Pre-release 4
    • 1.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
    • Confirmed
    • Text
    • Low
    • Platform

      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.

        1. MC-172305-1.png
          MC-172305-1.png
          56 kB
        2. MC-172305.png
          MC-172305.png
          933 kB
        3. MC-172305.mp4
          2.80 MB

            parberge [Mojang] parberge
            Avoma [Mod] Avoma
            Votes:
            9 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: