bin scripts: user-visible OSD strings are hardcoded English, no i18n path
Problem
bin/omarchy-audio-input-mute sends user-visible OSD messages as literals:
omarchy-osd -i microphone-muted -m "Microphone muted"
omarchy-osd -i microphone -m "Microphone on"
On a non-English setup (e.g. Russian keyboard toggling mic mute), the OSD pops up in English while everything around it (binds, panel, notifications) is translated. There is currently no mechanism for locales to translate strings emitted by bin/ scripts — QML has i18n.t(), shell has nothing.
Proposal
Give scripts a lookup path for user-visible strings, for example:
- a per-locale message catalog (e.g. under
config/or$OMARCHY_PATH/locale/) that scripts source, falling back to English when a key is missing; - or an
omarchy-osdmessage-key mode (-k microphone-muted) resolved against the same catalogs QML uses.
Fail-closed to English keeps this safe: missing key = current behaviour.
Happy to pilot it on omarchy-audio-input-mute (two strings) if the approach sounds right.
For context, quattro doesn't have a QML translation layer yet either. I couldn't find i18n.t() (or qsTr) anywhere under shell/, so the bar, panels and OSD are all English today. The broader localization question is tracked in #7284, and #12345 compares the existing proposals. A catalog for bin/ strings should probably follow whatever gets picked there, so it's worth raising this on #7284 before you start the pilot.