Skip to content

fix(i18n): localize the chat font family search keywords - #33718

Closed
nwparker wants to merge 1 commit into
mainfrom
nwparker/fix-chat-font-localization
Closed

nwparker wants to merge 1 commit into
mainfrom
nwparker/fix-chat-font-localization

Conversation

@nwparker

Copy link
Copy Markdown
Contributor

Problem

main fails Verify localization coverage. #33687 added untranslated settings-search keywords in chat-appearance-search.ts (chat, font, family, typeface, typography) and a <code>fontFamily</code> literal in ChatFontFamilySetting.tsx. Every PR branched from main currently fails static analysis because of this.

Fix

  • The keywords now go through translateSearchKeyword / translate, the same way the other settings search catalogs do, and each locale gets new keys under settings.appearance.chat.keywords.
  • fontFamily is the CSS property name shown in the font preview, so it's added to the localization allowlist rather than translated.

Test

verify:localization-coverage, verify:localization-catalogs, verify:localization-extraction and pnpm check:changed all pass.

@nwparker

Copy link
Copy Markdown
Contributor Author

Superseded by #33715, which fixed the same main localization failure.

@nwparker nwparker closed this Oct 26, 2026
@nwparker
nwparker deleted the nwparker/fix-chat-font-localization branch October 26, 2026 01:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant