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

The "commands.test.no_tests" raw translation key is displayed when using "/test run..." commands in situations where no tests exist

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 25w04a
    • 25w03a
    • None
    • Confirmed
    • Internationalisation
    • Normal
    • Platform

      The Bug:

      The "commands.test.no_tests" raw translation key is displayed when using "/test run..." commands in situations where no tests exist.

      I'm not exactly sure, but after looking on Crowdin, I can see that the "commands.test.run.no_tests" string exists which is likely what's supposed to be displayed here instead of "commands.test.no_tests".

      Steps to Reproduce:

      1. Ensure that they're no tests in your world and attempt to run the closest test by using the command provided below.
        /test runclosest
      2. Observe what message is displayed in chat.

      Observed Behavior:

      The "commands.test.no_tests" raw translation key is displayed.

      Expected Behavior:

      The "commands.test.no_tests" raw translation key would not be displayed.

        1. image-2025-01-15-15-36-23-816.png
          16 kB
          [Mod] Avoma
        2. MC-279491.png
          543 kB
          [Mod] Avoma

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

              Created:
              Updated:
              Resolved:
              CHK: