feat: chrome translation — settings + vocab + self-compassion (final, ~32 sites) - #52
Merged
Merged
Conversation
…Hans/zh-Hant) Final pass of the chrome translation sweep. Adds Japanese, Simplified Chinese, and Traditional Chinese keys to: - LanguageSettingsScreen.tsx - VocabularyScreen.tsx - GardenThemeSelector.tsx - FontPicker.tsx - SelfCompassionPractice.tsx - SelfCompassionSeed.tsx (extends STEP_FR/EN/ES arrays with STEP_JA/ZH_HANS/ZH_HANT so the daily-step bilingual label localizes properly) ~32 t()/bilingual() sites total. Also unifies the Brain Dump translation in LanguageSettingsScreen's preview card with the value used everywhere else (脳のメモ / 想法清空 / 想法清空 — was previously the off-pattern 清空大脑/清空大腦). Known carve-outs (intentional, flagged in PR body): - Language-NAME strings (opt.native/opt.en) are part of the LANGUAGE_NAMES architectural refactor, separate PR. - ChatScreen's ~10 hard-coded isFr/isEs/isZh ternaries — same pre-existing pattern as ReflectionScreen / FeedbackScreen, not t() sites, out of scope. Register: polite Japanese (です・ます), neutral Mandarin (S/T distinguished — 设置/設定, 学习/學習, 主题/主題). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
TrainTravel
force-pushed
the
feat/chrome-translation-settings-misc
branch
from
May 27, 2026 07:03
f1384fa to
cbc4561
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Final pass of the chrome translation sweep. Adds Japanese, Simplified Chinese, and Traditional Chinese keys to settings screens, vocabulary view, theme/font pickers, and the self-compassion components.
Files (~32
t()/bilingual()sites total):LanguageSettingsScreen.tsxVocabularyScreen.tsxGardenThemeSelector.tsxFontPicker.tsxSelfCompassionPractice.tsxSelfCompassionSeed.tsx(extends theSTEP_FR/EN/ESarrays withSTEP_JA/ZH_HANS/ZH_HANTso the daily-step bilingual label localizes properly)Also unifies the Brain Dump translation in LanguageSettingsScreen's preview card with the value used everywhere else (
脳のメモ/想法清空/想法清空— was previously the off-pattern清空大脑/清空大腦).Translation samples
Language settings→言語設定/语言设置/語言設定I'm learning→学んでいる言語/正在学习/正在學習Your emotion vocabulary→あなたの感情の語彙/你的情绪词汇/你的情緒詞彙Self-compassion→自分への思いやり/自我关怀/自我關懷Mindfulness(Neff step) →今この瞬間に気づく/正念/正念Choose a garden→庭を選ぶ/选一个花园/選一個花園Known carve-outs (intentional)
opt.native/opt.eninLanguageSettingsScreen, "French journaling practice" subtitle onHomeScreen, "Practice French Conversation" inChatScreen) are part of the LANGUAGE_NAMES architectural refactor the user flagged as a separate concern.isFr/isEs/isZhternaries — same pre-existing pattern asReflectionScreen/FeedbackScreen(per the PR feat: chrome translation — reflection flow (3 screens) #46 carve-out note). Nott()sites, out of scope for chrome-translation.Test plan
tsc --noEmitpassesvitest run— 14 files / 198 tests passCo-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com