Skip to content

fix(i18n): Simplified Chinese follow-ups for new copy, board lanes and stats - #43139

Closed
x-Ai wants to merge 13 commits into
stablyai:mainfrom
x-Ai:fix/i18n-zh-follow-ups
Closed

x-Ai wants to merge 13 commits into
stablyai:mainfrom
x-Ai:fix/i18n-zh-follow-ups

Conversation

@x-Ai

@x-Ai x-Ai commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

ELI5

People using Orca in Simplified Chinese still ran into English, and into a few places where Chinese made things worse. Newer screens (Uninstall Orca, the language picker, the + menu icon row, the new card style notice) had no Chinese at all. The workspace board kept its column names in English, the agent time stat said "24d 13h", and the Voice settings ended almost every line with a full stop. The other way round, the mobile page's demo terminal translated a real terminal session into nonsense like "pnpm 测试 -- 搜索手机设备", and the primary worktree badge read 主要 ("important"). This PR fixes all of these.

What Changed

Nine commits, each self-contained:

  • Agent time stat: StatsPane hard-coded d, h and m. It now formats with the narrow Intl units the checks panel already uses (formatUiNarrowDuration): 24天 13小时 in Chinese, still "24d 13h" in English.
  • Workspace board lanes: WorkspaceKanbanStatusLane printed status.label as stored, so Todo, In progress, In review and Done stayed English although the catalog has 待办, 进行中, 评审中 and 完成. It now goes through translateWorkspaceBoardStatusLabel, which leaves renamed statuses alone, and passes the reactive t so a language switch updates the header and its "New workspace in …" tooltip.
  • Uninstall summary: the summary joined its parts with Intl.ListFormat and appended ., giving "…和 2 台 SSH 主机." A finalSentenceStop helper next to joinSentences leaves CJK text without a final stop and keeps . for everything else. The footer pasted its two "what stays" sentences together with a space; it now uses joinSentences.
  • Language switch-back link: while a community translation is active, the picker footer and the Settings → Language row offered "Switch back to …" as an English literal, so a broken pack could not garble it. They now read in the language the link restores (its catalog loads first; English shows until then), e.g. 切换回系统语言(中文(简体)). The row's "Community translation by …" sentence follows the same rule. Four new keys: languages.switchBackTo, switchBackToSystem, communityBy, communityTranslation.
  • Mobile terminal mock: the terminal slide imitates a real session, so its prompt, branch, commands, tool names, test output and key caps are now English constants with a note not to translate them. Their 23 keys leave every locale catalog.
  • Primary worktree badge: zh shows the English primary in the card and jump palette badges, pinned in locale-key-overrides.mjs with the reason.
  • Missing zh values: 144 renderer strings (152 keys counting plural forms) had no zh value: the Uninstall Orca section, the language picker and community translations, the + menu icon row, the new card style notice, ignored files in the delete dialog and the Mobile Emulator menu toast. 19 more values were still English in zh (re-pair dialog and status rows, sleep workspace dialog, direct setup buttons, sparse preset folder actions). All went through repairTranslatedValue, so agent reads 智能体. A key override keeps the card-style switch's "New" as upstream's 新样式 instead of the generic 新建 ("create").
  • Voice settings punctuation: the 46 zh values the Voice pane shows drop their final 。 and join two-fragment blurbs with a comma ("速度快,支持 25 种欧洲语言"). One label switches 您 to 你.
  • Fixture: the Uninstall fixture used a hard-coded English group title; it now uses settings.uninstall.groupTitle.
  • After merging main: the Uninstall section was reworked upstream meanwhile, so its 13 new keys (hooks per agent and SSH host, the terminal background process and orca serve rows, offline hosts) and the + menu's hidden-items hint are translated too, and the footer's new "Open terminals will close." sentence goes through joinSentences with the others. Where upstream had already translated the card style notice, its wording is kept.

Why

Each of these shows up in everyday use for zh users: new settings pages that fall back to English, board and stats labels that never went through the catalog, and machine-translated text in places that should never be translated. Fixing them at the source (formatters, the lane header, the switch-back copy, constants for the terminal mock) keeps later catalog runs from bringing them back.

For the switch-back link, the alternatives were keeping English (unreadable for many non-English users) or translating it into the active pack's language (the very pack that may be broken). The language being restored is the one the user can read for sure.

Linked Issue

Refs #32207. This covers the Simplified Chinese catalog and a few renderer strings that bypassed it; the issue also tracks other locales, so it stays open. Follows #43011 and #43012.

Visual Proof

Simplified Chinese UI rendered through component fixtures (light theme), before and after this branch:

image image image image image image image image image image image image

Testing

  • Rendered before/after fixtures in zh for the board lanes, the stats card, the Uninstall section, the language picker and settings row (community pack active), the Voice speech model list and the mobile terminal slide.
  • verify:localization-catalog, verify:localization-runtime-catalog, verify:localization-extraction and verify:localization-protected-copy pass. zh.json coverage is 20360/20785; what is left are _one forms zh never uses and about 90 keys from features merged after this PR opened.
  • pnpm check:changed --base=upstream/main passes (typecheck, oxlint, oxfmt, code-quality, ratchets and the unit tests it selects).
  • Tested on macOS. The changes are renderer text and formatting only; local, SSH and paired-server windows render them the same way.

Risk

Level: Low. Mostly displayed text. The riskiest part is the switch-back link: if the restored language's catalog fails to load, the link stays in English as before. finalSentenceStop only drops the stop after CJK text; English output is unchanged, and so is "24d 13h". Removing the terminal mock keys only affects the marketing slide. Every commit can be reverted on its own.

AI Disclosure

AI-assisted: an AI coding assistant helped draft the code changes and translations. I reviewed every change and checked the rendered screenshots and the checks above.

Review

translateWorkspaceBoardStatusLabel keeps its signature; the new t parameter defaults to translate, so other callers are unaffected. previousUiLanguageName became usePreviousUiLanguageCopy, and its two callers were updated.

Agent skill upstream boundary

  • Not applicable, or this change copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.

Notes

No settings, stored data, native code or protocol changes. Mobile catalogs are untouched.

Checklist

  • This PR is small and focused
  • I explained what changed and why (ELI5, the user-facing before/after, the mechanism, and why over the alternatives)
  • I stated the risk: what could break, for whom, and how to back it out
  • Before/after screenshots or videos attached for UI changes, or N/A with reason
  • Self-reviewed for correctness, security, and performance
  • Cross-platform, SSH/remote, and path/shortcut impact considered (or N/A)
  • pnpm lint, pnpm typecheck, pnpm test, and pnpm build pass (or CI will cover; local preferred)

x-Ai added 9 commits November 16, 2026 21:19
The Stats pane hard-coded d, h and m, so Chinese read "24d 13h". It now
uses the narrow Intl units the checks panel already formats with:
24天 13小时 in Chinese, unchanged "24d 13h" in English.
WorkspaceKanbanStatusLane printed status.label as stored, so the board
showed Todo, In progress, In review and Done in English even though the
catalog has 待办, 进行中, 评审中 and 完成. It now runs the label through
translateWorkspaceBoardStatusLabel, which leaves renamed statuses alone,
and passes the reactive t so a language switch re-renders the header and
its "New workspace in …" tooltip.
…Chinese

The Uninstall Orca summary joins its parts with Intl.ListFormat and then
appended ".", so Chinese read "…和 2 台 SSH 主机." with an ASCII stop. A
finalSentenceStop helper beside joinSentences leaves CJK text without a
final stop and keeps "." for everything else. The footer also pasted its
two "what stays" sentences together with a space; it now uses
joinSentences, which puts 。 between Chinese sentences.
…ores

While a community translation is active, the picker footer and the
Settings → Language row offered "Switch back to …" as an English literal,
so a broken pack could not garble it. They now read in the language the
link restores, loading that catalog first and showing English until it
arrives: a Chinese user who tries a pack sees 切换回系统语言(中文(简体)).
The row's "Community translation by …" sentence follows the same rule.
The mobile page's terminal slide imitates a real terminal session, but
every token went through t(), so Chinese showed 开发@mac,
Orca/壮举-手机页面, "pnpm 测试 -- 搜索手机设备" and 经过 for PASS: machine
translations of a prompt, branch, command and test output that a real
terminal never translates. Names, terminal output and key caps are now
English constants with a note not to translate them, and their 23 keys
leave every locale catalog. The agent's reply is one paragraph, so it
wraps at the frame width like real output.
主要 beside a branch name reads as "important" rather than marking the
primary worktree. zh now shows the English "primary" in the worktree card
and jump palette badges, pinned in locale-key-overrides.mjs with a note
that it is untranslated on purpose.
…ied Chinese

Add zh for the 144 renderer strings with no zh value (152 keys counting
plural forms): the Uninstall Orca section, the language picker and
community translations, the + menu icon row, the new worktree card style
notice, ignored files in the delete dialog and the Mobile Emulator menu
toast. Also translate 19 values that were still English in zh: the
re-pair dialog and status rows, the sleep workspace dialog, the direct
setup buttons and the sparse preset folder actions.

Every value went through repairTranslatedValue, so agent reads 智能体. A
key override keeps the card-style switch's "New" as 新版 rather than the
generic 新建 (create).
Nearly every row in the Voice settings ended its short description with
。, and the speech model blurbs split two fragments with one more, as in
"速度快。支持 25 种欧洲语言。". The 46 values the pane shows now drop
the final stop and join their clauses with a comma, like the newer zh
copy elsewhere. One label also switches 您 to 你.
The Uninstall section fixture hard-coded its group title in English, so
screenshots in other languages looked untranslated even though Settings
uses settings.uninstall.groupTitle.
@x-Ai
x-Ai marked this pull request as ready for review November 16, 2026 14:18
@x-Ai
x-Ai requested a review from brennanb2025 as a code owner November 16, 2026 14:18
@coderabbitai

coderabbitai Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The changes update language-pack switch-back and community-translation copy, mobile terminal-slide content, Chinese translations, uninstall sentence formatting, workspace status labels, and agent-time duration formatting. The language-copy hook resolves a locale and loads its catalog when needed. The mobile slide now uses local English mock content, while locale files retain interface labels and remove mock transcript strings.

Merge Risk: Minimal · up to 96dba

This PR updates Chinese localization, board lane labels, and duration formatting. No actionable merge-blocking risk was found.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the Simplified Chinese i18n work, the board lanes, and the stats change, which are all in the changeset. It is concise and specific. It does not describe the switch-back link, the unin…
Description check Passed The description follows the repository template closely. It includes ELI5, What Changed, Why, Linked Issue (Refs #32207, with an explicit note that it does not close the issue), Visual Proof with befo…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the Simplified Chinese i18n work, the board lanes, and the stats change, which are all in the changeset. It is concise and specific. It does not describe the switch-back link, the uninstall punctuation, or the mobile terminal mock, but those are secondary. The 'follow-ups' wording is slightly vague but still conveys the main change.

Full details: Description check

Explanation

The description follows the repository template closely. It includes ELI5, What Changed, Why, Linked Issue (Refs #32207, with an explicit note that it does not close the issue), Visual Proof with before/after images, Testing, Risk with level Low and a revert note, AI Disclosure, Review, and the upstream-boundary checkbox. The Linked Issue section uses 'Refs' rather than 'Fixes', which the template says is insufficient for outside contributors. The author is a maintainer or internal contributor, so the issue rule may not apply, but this should be confirmed. The Checklist leaves the lint, typecheck, test, and build items unchecked, though the Testing section reports check:changed passing. The Risk section does not name the backout for the catalog changes beyond per-commit revert, which is adequate.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 270644ff-a80b-4030-8274-575a9225cfb2
Commits

Reviewing files that changed from the base of the PR and between d79d9ce and 96dba6f.

Files selected for processing: 17

  • config/scripts/locale-catalog/locale-key-overrides.mjs
  • src/renderer/src/components/settings/advanced/uninstall/OrcaUninstallFooter.tsx
  • src/renderer/src/components/settings/advanced/uninstall/OrcaUninstallSection.fixture.tsx
  • src/renderer/src/components/settings/advanced/uninstall/OrcaUninstallSection.tsx
  • src/renderer/src/components/sidebar/workspace-board/viewport/WorkspaceKanbanStatusLane.tsx
  • src/renderer/src/components/sidebar/workspace-status/presentation/workspace-board-status-label.ts
  • src/renderer/src/i18n/locales/de.json
  • src/renderer/src/i18n/locales/en.json
  • src/renderer/src/i18n/locales/es.json
  • src/renderer/src/i18n/locales/fr.json
  • src/renderer/src/i18n/locales/ja.json
  • src/renderer/src/i18n/locales/ko.json
  • src/renderer/src/i18n/locales/pt.json
  • src/renderer/src/i18n/locales/ru.json
  • src/renderer/src/i18n/locales/tr.json
  • src/renderer/src/i18n/locales/zh-Hant.json
  • src/renderer/src/i18n/locales/zh.json
Files with no reviewable changes: 9

  • src/renderer/src/i18n/locales/de.json
  • src/renderer/src/i18n/locales/es.json
  • src/renderer/src/i18n/locales/fr.json
  • src/renderer/src/i18n/locales/ja.json
  • src/renderer/src/i18n/locales/ko.json
  • src/renderer/src/i18n/locales/pt.json
  • src/renderer/src/i18n/locales/ru.json
  • src/renderer/src/i18n/locales/tr.json
  • src/renderer/src/i18n/locales/zh-Hant.json
Files skipped from review as they are similar to previous changes: 4

  • src/renderer/src/components/settings/advanced/uninstall/OrcaUninstallSection.fixture.tsx
  • src/renderer/src/components/settings/advanced/uninstall/OrcaUninstallSection.tsx
  • src/renderer/src/i18n/locales/en.json
  • src/renderer/src/i18n/locales/zh.json

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

x-Ai added 4 commits November 18, 2026 02:50
zh.json conflicted and was merged per key. Upstream's own translations
for the reworked card style notice win (试试新卡片, 新样式, 保留新样式, and
its toast and kept copy), and the key override now pins 新样式 so the
generic "New" → 新建 repair cannot replace it. Three Uninstall values follow
upstream's new English for the orca serve row (searchDescription,
rows.service, summary.service). Keys whose English upstream removed leave
zh as well.
Upstream's "Open terminals will close." was pasted after the keeps
sentence with a bare space, so Chinese ran the two together while the
shared-hooks sentence after them already went through joinSentences. The
footer now collects its sentences and joins them once.
Upstream reworked the Uninstall section after this branch was opened: the
hooks row now lists agents and SSH hosts together, the terminal daemon and
orca serve rows are new, and offline hosts explain what to run. Add zh for
those 13 keys and the + menu row's hidden-items hint, through
repairTranslatedValue as before.
Upstream moved workspace-board-status-label.ts into
workspace-status/presentation while this branch was open. The merge
carried the helper's new t parameter over, but the lane header still
imported the old path.
@x-Ai x-Ai closed this Nov 21, 2026
Jinwoo-H added a commit that referenced this pull request Nov 23, 2026
…ranslatable (#46255)

* fix(i18n): make Bots copy translatable on desktop and mobile

Several Bots surfaces drew English that never reached the catalog, or
joined translated sentences the English way:

- Built-in templates: names, lines, examples, first chat, Watches, Does
  and Reports, schedules, event triggers and skill lines read through
  bots.templateText keys that hash the English (shared
  bot-template-text.ts), so a catalog edit falls back to its new English
  instead of a stale translation. A translated skill name keeps the
  folder name beside it.
- New bot from a template shows its name, purpose and role lines in the
  UI language. Lines left as shown save the template's English to
  SOUL.md and edited lines save as typed. An untouched name creates the
  bot under the English name, which names its folder, its Linear and
  GitHub handle and its SOUL.md, and then renames it to the shown name.
  The phone's New bot sheet does the same for the name. A bot's
  description reads translated while SOUL.md still holds a template line.
- Look-around schedule labels, the phone's Who can ask and access
  request copy, its permission mode words, the Home tab title and the
  local computer's name in Bots settings, New bot and hover cards now go
  through the catalog.
- Sentences built in code use joinSentences, sentenceStop and
  finalSentenceStop instead of a hard-coded ". " or space, and name
  lists use narrow conjunction lists so CJK text gets its own comma.
  sentenceStop and finalSentenceStop are the helpers from #43139.

* i18n: translate Bots and the remaining copy into Simplified Chinese

Adds zh for 927 renderer and 996 mobile keys that had none: the Bots
pages, settings, connectors and chat cards, the built-in template words,
and the rest of the gap (native chat, settings, status bar, agent CLI
updates, the phone's session and terminal settings). Values upstream had
already translated are kept as they are.

Every renderer value went through repairTranslatedValue, so agent reads
智能体. Two key overrides keep context-specific "Dismiss" labels: the
reply a bot's create offer sends (忽略) and the branch auto-name
dialog's button, which clears the saved error beside its own Close
(清除).

* i18n: drop final stops, localize Home and align terms in the zh Bots copy

The Bots strings mixed upstream's existing zh with the new values: most
ended with 。 while the new ones did not, and 13 kept "Home" and "Home
Chat" in English beside a Home tab that now reads 主聊天.

- Every zh value under the Bots surfaces (2960 renderer and 914 mobile
  keys) drops its final 。, as the rest of the new copy does.
- "Home" becomes 主页 and "Home Chat" 主聊天, matching the tab title.
- The three hand-over failure messages put 。 after {{reason}} instead of
  a space: the reason is always a catalog sentence, which no longer
  ends with a stop.
- The new values use upstream's existing words: 条目 for items, 话题 for
  desktop threads, 长期无活动 for stale, 计划 for schedules, and the New
  bot labels 关注内容, 执行工作 and 汇报内容 on the offer cards.

* i18n: use 事项 for items and 话题 for threads in the zh Bots copy

Bots items read 事项 instead of 条目 on desktop and phone, and phone
threads read 话题 like the desktop. The hover card's _one form now
matches its _other form.

* i18n: translate the Bots copy added upstream and use 事项, 项 and 话题 app-wide

- zh for the strings upstream added since this branch's last update on
  desktop and phone, the template Does lines upstream rewrote, and the
  phone's new access copy.
- Items read 事项 (GitHub and GitLab project items) or 项 (counts and UI
  parts) instead of 条目 or 项目, and threads read 话题 instead of 讨论串,
  across the app.
- Upstream's new Bots strings drop their final 。, say Orca Cloud where
  the English does, and lose a few English leftovers (Google 文档 and
  表格, @名称).

* i18n: label the Reports line in the zh template identity text

Each zh Reports line reads 在这里,<when>, which follows 汇报 only with a colon.

* i18n: use one wording across the zh Bots copy

Bots strings upstream had already translated now read like the rest of
the Bots copy (958 renderer strings), with the same glossary and voice.
Six key overrides keep statuses as 已完成 and pin the Up next dismiss
(忽略) and the webhook Checks label (验证), which the repair policy would
otherwise reword.

* fix(i18n): translate template words on the bot-create offer card

When a bot proposes a bot from a template, the card's title, purpose,
origin line and Details read the template's name and lines in the UI
language on desktop and phone (an optional translator on the shared
offer view; callers without one keep the English). The phone catalog
gets the template role lines it lacked.

New bot's identity box shows the translated text only when every line
has a translation, so a bot's own lines beside template ones no longer
read half translated.

* i18n: keep upstream's key order in the zh catalogs

Only the order changes: every key keeps its value. Upstream's keys stay where upstream has them, and keys this branch adds sit beside their en siblings, so the diff shows changed values instead of moved objects.

* fix(i18n): address review notes on the Bots copy

- The phone names the owner's computer in its own language
  (bots.access.yourComputer) instead of the fixed English "your computer".
- Only a template's default name, or that name with the number that keeps
  it free, reads translated; a custom proposal name stays as written.
- New bot creates under an English name that is free on the host and then
  renames, so a free shown name can't fail on a taken English one. Text
  typed back to exactly what the dialog shows keeps the template's words,
  even if the language changes before Create.
- Creating straight from the offer card renames to the shown name too.
- zh: the Codex shared-server banner's Fix reads 修复, and "Turn off and
  stop server" is translated.

* fix(i18n): translate Orca's own plugin names and descriptions

The bundled theme plugins and the Multipass recipes read in the UI
language wherever plugins are named: onboarding's theme looks, the
Appearance theme groups, the plugin list and cards, and the plugin page.
Names go through the shared plugin name disambiguation, so every list
that passes a translator gets them; descriptions translate on the card,
the plugin page and the author's other plugins.

Keys hash the English (`plugins.displayText.t<hash>`), so a manifest
edit shows its new English instead of a stale translation, and other
plugins show as written. The hash moves to a shared helper the template
text uses too.

* i18n: keep the terminal key row's Paste key in English

The phone's accessory key row reads Paste beside Esc and Tab, and so does the desktop's picture of it; the More keys sheet's Paste action stays translated.

* i18n: keep the phone's Paste key in English in More keys too

Key names stay English on the phone, like Esc, Tab and the Ctrl combos beside them.

* fix(i18n): translate the GitHub project picker's Choose a project label

The button showed a hard-coded English label before a project is picked; it now reads through the catalog (projectViews.picker.chooseProject, zh 选择项目).

* i18n: keep reasoning effort level names in English in zh

Minimal, Low, Medium, High, Extra high and Max (Min, Med, XHigh when short) read as the names agents use, on desktop and phone and for the commit-message model's thinking level; the Effort label and Off/Default stay translated.

* fix(i18n): translate the local host name in a project's Available hosts

The host rows, the host switcher and the runtime owner line showed the English "Local Mac"; default local labels now go through translateExecutionHostLabel, and named hosts keep their names.

* i18n: use 主工作树 for the main checkout in zh

The composer's workspace line said 主工作副本, and the worktree symlink and setup hook settings said 主检出 or 主仓库检出目录 for the same folder; all five strings now say 主工作树, as the sidebar and delete dialogs already do for the main worktree.

* i18n: stop calling a checkout 检出 in zh

A project's checkout on a host read 检出 (此检出, {{count}} 个检出, 已有的检出或文件夹), the git verb; it is now 仓库副本, the branch picker's checkout is 工作树, and a dev build's source checkout is 源码目录, on desktop and phone. The remove-project descriptions say 移除 like the dialog's title and button, because the files stay on disk.

* fix(i18n): translate permission modes in the phone's bot settings

The bot's Settings row and its permission picker used the shared English mode names and descriptions; they now read through mobilePermissionModeCopy, which uses the composer's catalog keys and matches the shared per-agent descriptions.

* fix(i18n): create a template's bot under its English name, with no rename after

A bot's name is saved data: it names the bot's folder and SOUL.md. New bot and the
offer cards now create it once under the name shown in the field, which for a
template is its English name, instead of creating it in English and renaming it to
the translated name in a second write. The merge with main already dropped the
rename from New bot on desktop and phone.

* fix(i18n): key template words by template id and field

Template words use named keys, bots.templates.<id>.<field> (and
bots.templateSkills.lines.<skill>), as the rest of the catalogs do, instead of a
hash of the English. Pages that show one template look up its own key; places that
only hold the words (offer cards, SOUL.md descriptions, New bot's fields) find the
key by the English. The zh translations move to the new keys unchanged. A test
keeps both English catalogs equal to the template data, since en.json's value is
what English renders.

* fix(i18n): translate only official plugins' names, per language

A third-party plugin whose name or description matched an official one's English
showed the official translation; only official plugins are looked up now. Names
built with a translator are no longer cached per plugin list, so they follow a
language change and never leak into the untranslated callers.

* fix(i18n): name a template's new bot in the UI language and list its parts translated

Picking a template in Chinese now prefills its translated name (free among the
existing names) and creates the bot once under it. A non-Latin name already makes a
valid folder, as a typed one does. New bot's skill, automation and schedule popovers
show the translated words through the same helper the template page uses. The
catalog test now also catches words left behind by a removed template.

* test(i18n): read the zh catalog with a type guard instead of a cast

* test(i18n): read the zh catalog through a flattened map

---------

Co-authored-by: x-Ai <[email protected]>
Co-authored-by: Jinwoo-H <[email protected]>
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