feat(i18n): update italian language#158
Conversation
Add Italian translations for many UI strings in crates/openlogi-gui/locales/app.yml and register the 'it' locale in crates/openlogi-gui/src/i18n.rs (SUPPORTED list and match_supported). Update tests to exercise the Italian locale and translations. This enables Italian interface text across menus, settings, permissions, pairing flow, DPI/actions and other UI copy.
Co-authored-by: pullfrog[bot] <226033991+pullfrog[bot]@users.noreply.github.com>
Add Italian (it) localization entries to crates/openlogi-gui/locales/app.yml. Provides Italian translations for many UI strings across device/pointer/lighting panels, menu bar items, about/help, SmartShift panel, binding popovers, actions and thumb-wheel texts. Also includes a small tweak to the Traditional Chinese SmartShift message in the same file.
Greptile SummaryThis PR adds Italian (
Confidence Score: 3/5The Italian translations are correct and complete, but the PR accidentally overwrites an existing zh-TW string with the wrong text, so merging as-is will silently break the Traditional Chinese (Taiwan) error message for SmartShift. One existing zh-TW entry was overwritten with the wrong string, which will surface as a mistranslated error state for zh-TW users on every SmartShift failure. That regression needs to be corrected before merging. crates/openlogi-gui/locales/app.yml — specifically the zh-TW entry under "Couldn't read SmartShift — click to retry." at line 750. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A["app.yml locale lookup"] --> B{"locale = 'it'?"}
B -- yes --> C["Return Italian string"]
B -- no --> D{"locale = 'zh-TW'?"}
D -- yes --> E["Return zh-TW string"]
D -- no --> F["Fallback to English key"]
E --> G["'Couldn't read SmartShift'\nkey now returns wrong string\n(Reading SmartShift settings…)"]
C --> H["All ~80 new IT strings\nrender correctly"]
Reviews (1): Last reviewed commit: "Add Italian translations to app.yml" | Re-trigger Greptile |
Update Italian (it) localization entries to
openlogi-gui/locales/app.yml.Provides Italian translations for many UI strings across device/pointer/lighting panels, menu bar items, about/help, SmartShift panel, binding popovers, actions and thumb-wheel texts.