Catch up localization for this cycle's new UI strings (nb/sv/da/de/fr)

Ran the standard xcodebuild -exportLocalizations audit pass, which
caught 22 new Text() literals from this week's work (Hugging Face
provider UI, External MCP npx/Node.js install flow, Mail integration).
That tool only extracts Text() though — a follow-up manual sweep for
Button()/.help()/Label() literals specifically in the files touched
this session found 6 more genuinely new strings it missed (Custom
Model ID sheet's Add button, three HF pricing/model-picker tooltips,
the "Generate a token" link, the "Varies" pricing label).

All 28 translated into Norwegian Bokmål, Swedish, Danish, German, and
French, following this project's established conventions (informal
address, "token" kept as an English loanword, brand/product names
left untranslated). Verified no existing translations were lost in
the process (28 net new keys, 0 removed, 0 lost) and the app still
builds and the full test suite still passes.

A much larger, pre-existing gap was also found while auditing this —
showSystemMessage(...) (83 unique literal calls) and several other
Button()/.help() strings from earlier work have apparently never been
swept by any i18n pass in this project's history, since this project's
SWIFT_EMIT_LOC_STRINGS=NO setting means only regex-based Text()
extraction runs, not full compiler-based String Catalog extraction.
Deliberately out of scope for this release per discussion — logged
as a follow-up item, not fixed here.
This commit is contained in:
2026-08-28 13:49:58 +02:00
parent 768b0901da
commit 9d2ce6f667
+4908 -3854
View File
File diff suppressed because it is too large Load Diff