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

Translation key "container.isLocked" uses a variable instead of single strings for translation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.19.2, 22w45a, 1.19.3 Pre-release 1, 1.19.3 Pre-release 2, 1.19.3 Pre-release 3, 1.19.3 Release Candidate 2, 1.19.3 Release Candidate 3, 1.19.3, 23w03a, 23w04a, 23w05a, 23w06a, 1.19.4 Pre-release 1, 1.19.4 Pre-release 2, 1.19.4 Pre-release 3, 1.19.4 Pre-release 4, 1.19.4 Release Candidate 3, 1.19.4, 23w12a, 23w13a, 23w17a, 23w18a, 1.20 Pre-release 1, 1.20 Pre-release 5, 1.20 Pre-release 6, 1.20 Pre-release 7, 1.20 Release Candidate 1, 1.20, 1.20.1 Release Candidate 1, 1.20.1, 1.20.2 Pre-release 2, 1.20.2 Release Candidate 1, 1.20.2, 23w45a, 23w46a, 1.20.3 Pre-Release 1, 1.20.3 Pre-Release 2, 1.20.3, 1.20.4 Release Candidate 1, 1.20.4, 24w06a, 24w07a, 24w09a, 1.20.5, 1.20.6, 1.21 Pre-Release 3, 1.21, 1.21.1, 24w38a, 1.21.3, 1.21.4
    • None
    • Confirmed
    • Internationalisation
    • Low
    • Platform

      The Bug:

      The translation key container.isLocked ("%s is locked!") uses a variable instead of single strings for translation, which leads to grammatical errors in some translations due to dual use of strings, for example "Chest" in Swedish.

       

      Translation Key Current Output Expected Output String URL on Crowdin
      container.isLocked Kista är låst! Kistan är låst! https://crowdin.com/translate/minecraft/10038/enus-sv#5336132
      subtitles.block.chest.locked Kistan är låst Kistan är låst https://crowdin.com/translate/minecraft/10038/enus-sv#5338976

      Observed Behavior:

      container.isLocked uses a variable and a single string, which inevitably leads to grammatically incorrect translations.

      Expected Behavior:

      container.isLocked doesn't use a variable and one string for each lockable container, which leads to no grammatically incorrect translations.

            Unassigned Unassigned
            zTxrbq [Mod] turbo
            Votes:
            8 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              CHK: