Skip to content
This repository was archived by the owner on Jul 24, 2026. It is now read-only.

fix: translate the device name fallback - #19

Merged
trin94 merged 1 commit into
mainfrom
fix/translate-device-name-fallback
Jul 18, 2026
Merged

fix: translate the device name fallback#19
trin94 merged 1 commit into
mainfrom
fix/translate-device-name-fallback

Conversation

@trin94

@trin94 trin94 commented Jul 18, 2026

Copy link
Copy Markdown
Owner

Routes the "Mouse" device name fallback through one translated helper on the devices singleton. Fixes #12

"Mouse" was the only user-facing string that skipped I18n.tr, and
the literal had spread to six places across two files since the
notification logic moved into its own monitor. All of them now go
through one translated helper on the devices singleton.

The stale reading stores the raw model instead of a resolved name,
so a reading captured in one language does not keep showing that
language after a locale change.

Fixes #12
@trin94
trin94 merged commit 0aaa747 into main Jul 18, 2026
1 check passed
@trin94
trin94 deleted the fix/translate-device-name-fallback branch July 18, 2026 12:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

deviceName fallback "Mouse" is not translated

1 participant