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

'/list uuids' shows parentheses incorrectly for right-to-left languages

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 20w28a
    • 1.16 Release Candidate 1, 1.16
    • None
    • Confirmed
    • Text
    • Important

      The bug

      The /list uuids command shows the parentheses which are supposed to enclose the UUID incorrectly for right-to-left languages.

      Note that this appears to not be a translation issue for these specific languages. The problem is rather that the parentheses are not part of the translation, but are instead appended by code (see net.minecraft.world.entity.player.Player.getDisplayNameWithUuid()). This might be solvable by adding a translation %s (%s) to which then the formatting is applied and the player name and UUID is inserted into it.

      This is not a duplicate of MC-191571 because for this command separate code is used. However, it would make sense to create a similar method to the one used by MC-191571 nonetheless.

      Reproduction steps

      1. Change the language to a right-to-left one, e.g. Arabic (first right-to-left language in the list)
      2. /list uuids
        

        The parentheses are misplaced

            boq [Mojang] Bartosz Bok
            marcono1234 Marcono1234
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: