Repository navigation
fix(i18n): add missing Editor Font Family translations for es, ja, ko, zh - #11573
Conversation
…, zh The EditorFontFamilySetting title, description, and placeholder were left untranslated in four non-English locales, falling back to English in the UI.
Greptile SummaryAdds missing Editor Font Family translations (title, description, and placeholder) to the Spanish, Japanese, Korean, and Simplified Chinese locale files, where these strings were previously left as English fallbacks. Each locale has two key locations updated: a hash-keyed entry and a component-name-keyed
Confidence Score: 5/5Pure string additions to four locale JSON files with no logic or runtime changes — safe to merge. All six translated strings per locale are accurate, both key locations in each file are updated consistently, and the changes carry no runtime risk. Files Needing Attention: No files require special attention.
|
| Filename | Overview |
|---|---|
| src/renderer/src/i18n/locales/es.json | Adds Spanish translations for editorFontFamily, editorFontFamilyDesc, and EditorFontFamilySetting (title, description, placeholder). Translations are accurate and consistent. |
| src/renderer/src/i18n/locales/ja.json | Adds Japanese translations for the six Editor Font Family strings. Title uses "エディターフォント" (omitting "Family"), which is natural for Japanese UI — consistent across both key locations. |
| src/renderer/src/i18n/locales/ko.json | Adds Korean translations for the six Editor Font Family strings. All values consistent across both key locations in the file. |
| src/renderer/src/i18n/locales/zh.json | Adds Simplified Chinese translations for the six Editor Font Family strings. Translations are accurate and consistent across both key locations in the file. |
Flowchart
%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Editor Font Family Setting UI] --> B{User locale?}
B -->|en| C[English strings\nno change]
B -->|es| D[es.json\neditorFontFamily\nEditorFontFamilySetting]
B -->|ja| E[ja.json\neditorFontFamily\nEditorFontFamilySetting]
B -->|ko| F[ko.json\neditorFontFamily\nEditorFontFamilySetting]
B -->|zh| G[zh.json\neditorFontFamily\nEditorFontFamilySetting]
D --> H[title / description / placeholder\nnow localized]
E --> H
F --> H
G --> H
Reviews (1): Last reviewed commit: "fix(i18n): add missing Editor Font Famil..." | Re-trigger Greptile
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (4)
📝 WalkthroughWalkthroughLocalized editor font family settings in the Spanish, Japanese, Korean, and Chinese locale files. Updated general setting labels and descriptions, along with dedicated setting titles, descriptions, and placeholders indicating the terminal font fallback. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
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. Comment |
Summary
Added Chinese, Japanese, Korean, and Spanish translations for the Editor Font Family setting. The title, description, and placeholder were left in English across all four non-English locales, falling back to the English inline defaults in the UI.
Screenshots
Before modification:
After modification:
Testing
pnpm lintpnpm typecheckpnpm testpnpm buildpnpm lint.AI Review Report
Reviewed by AI coding agent. All translations verified against the English source for accuracy (zh, ja, ko, es). Checked:
Security Audit
No risk — pure translation text change. No input handling, command execution, path handling, auth, secrets, dependencies, or IPC surface.
Notes
None.