Found during review of #456.
Every visible string goes through tr.t(), but the icon-only buttons carry English aria-label/title literals: "Toggle theme", "Keyboard shortcuts", "More options", "Preferences" (templates/base.html), "Dismiss" (shopping list, pantry, recipe error banners), "Decrease scale" / "Increase scale" (recipe and menu steppers), "Close" (static/js/keyboard-shortcuts.js).
Fix: add keys to the seven locales in locales/ and swap the literals. The JS modal needs the strings passed in from the template.
Found during review of #456.
Every visible string goes through
tr.t(), but the icon-only buttons carry Englisharia-label/titleliterals: "Toggle theme", "Keyboard shortcuts", "More options", "Preferences" (templates/base.html), "Dismiss" (shopping list, pantry, recipe error banners), "Decrease scale" / "Increase scale" (recipe and menu steppers), "Close" (static/js/keyboard-shortcuts.js).Fix: add keys to the seven locales in
locales/and swap the literals. The JS modal needs the strings passed in from the template.