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
Enable the narrator in the accessibility options
Change the language other than English (does not work in 1.17 snapshots yet)
Place a structure block and right click it
Click on the mode button (bottom left, having the text "Load")
❌ The narrator reads "mode translated mode type" ("mode" is not translated)
Linked issues
Attachments
Comments 5
I am still seeing hardcoded "MODE" and "MIRROR" in class StructureBlockEditScreen (Mojang name) in 20w51a.
Though have non-English translations for the 1.17 snapshots already been released? Otherwise you cannot perform step 2 of the reproduction steps yet.
Relates to MC-206176
Hmm... I can't seem to reproduce in 20w51a. Is this still an issue for you? The structure block mode button narrations seem to be correctly translated.