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

Some words within some test command strings are always pluralized

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 25w04a
    • 25w03a
    • None
    • Confirmed
    • Text
    • Low
    • Platform

      The Bug:

      Some words within some test command strings 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.test.summary.optional_failed %s optional tests failed %s optional test(s) failed https://crowdin.com/editor/minecraft/10038/enus-engb?view=comfortable#5404188 
      commands.test.summary.failed %s required tests failed %s required test(s) failed https://crowdin.com/editor/minecraft/10038/enus-engb?view=comfortable#5404186 
      commands.test.summary.all_required_passed All required tests passed Required test(s) passed https://crowdin.com/editor/minecraft/10038/enus-engb?view=comfortable#5404184 
      commands.test.summary Game Test complete! %s tests were run Game Test complete! %s test(s) were run https://crowdin.com/editor/minecraft/10038/enus-engb?view=comfortable#5404182 
      commands.test.run.running Running %s tests... Running %s test(s)... https://crowdin.com/editor/minecraft/10038/enus-engb?view=comfortable#5404180 
      commands.test.clear.success Cleared %s structures Cleared %s structure(s) https://crowdin.com/editor/minecraft/10038/enus-engb?view=comfortable#5404152 

      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.

      Observed Behavior:

      Some words are always pluralized.

      Expected Behavior:

      All words would be correctly singularized or pluralized where appropriate. 

            slicedlime [Mojang] slicedlime
            Avoma [Mod] Avoma
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: