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

Structure block mode and mirror button narration text cannot be translated

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 20w46a, 20w51a
    • None
    • Community Consensus
    • Accessibility, UI
    • Normal
    • Platform

      The bug

      The mode ("Load", "Corner", "Save") and the mirror ("|", "← →", "↑ ↓") button of the structure block edit GUI have narration text which cannot be translated.

      Background:
      20w46a added the GUI element class CycleButton (Mojang name) which has a description text component. In previous versions regular buttons were used for the mode and mirroring, which had initially the placeholder "MODE" and "MIRROR" which were however overwritten during initalization of the GUI so the user never saw them and they were not narrated.
      When switching to using CycleButton it appears it was missed replacing theses hardcoded "MODE" and "MIRROR" texts.
      For the buttons of the command block GUI translated narration text is used, as expected (see new translation strings with prefix adv.).

      How to reproduce

      1. Enable the narrator in the accessibility options
      2. Change the language other than English (does not work in 1.17 snapshots yet)
      3. Place a structure block and right click it
      4. Click on the mode button (bottom left, having the text "Load")
        The narrator reads "mode translated mode type" ("mode" is not translated)

            Unassigned Unassigned
            marcono1234 [Mod] Marcono1234
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              CHK: