mirror of
https://github.com/rommapp/romm.git
synced 2026-11-30 02:22:44 +01:00
`useI18n()` already resolves to the global scope while no SFC declares an `<i18n>` block, but the components that switch the app's language now say so, per the vue-i18n scope guide. An `<i18n>` block added to either SFC would otherwise flip the write to component-local and silently stop the language switch from reaching the rest of the app. The v1 language selector is left alone: it writes the locale the same way, but v1 is frozen and this is a defensive change, not a bug fix. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>