fix(i18n): complete zh-CN translations and fix hardcoded English strings#46
Open
xie-tj wants to merge 1 commit into
Open
fix(i18n): complete zh-CN translations and fix hardcoded English strings#46xie-tj wants to merge 1 commit into
xie-tj wants to merge 1 commit into
Conversation
xie-tj
commented
May 28, 2026
- Add missing zh-CN translations for common, settings, chat, codeEditor, auth, alwaysOn namespaces
- Translate pilotdeckStatus section (Thinking→思考中, Live→运行中, etc.)
- Add gemini permission mode translations
- Fix hardcoded English in components: SetupForm, PilotDeckConfigTab, GitV2, ProviderLoginModal, ErrorBoundary, FolderBrowserModal, LlmConfigurationStep
- Fix i18n key exposure bug (pilotDeckConfig.add → pilotDeckConfig.actions.add)
- Translate "Always-On" → "常驻" across all zh-CN locale files
- Fix JSON syntax errors in locale files (missing commas, Chinese quotes)
…strings - Add missing zh-CN translations for all 9 namespaces (common, settings, chat, codeEditor, auth, alwaysOn, sidebar, tasks, routing) - Translate pilotdeckStatus section (Thinking→思考中, Live→运行中, etc.) - Add gemini permission mode translations - Fix hardcoded English in 30+ components: SetupForm, PilotDeckConfigTab, GitV2, TasksV2, DashboardV2, ProviderLoginModal, ErrorBoundary, FolderBrowserModal, LlmConfigurationStep, AppShellV2, ToolRenderer, SubagentContainer, AskUserQuestionPanel, PermissionRequestsBanner, ImageLightbox, MarkdownCodeBlock, StandaloneShell, CodeEditorBinaryFile, EditorSidebar, MemoryPanel, DarkModeToggle, ProcessTrace, MessageRowV2, and more - Fix i18n key exposure bug (pilotDeckConfig.add → pilotDeckConfig.actions.add) - Translate "Always-On" → "常驻" across all zh-CN locale files - Add thinkingModes, subagent, askUser, permission, imagePreview, questionContent, taskContent, todoContent namespaces to chat locale - Add subsystemLabels, reloadSummary, sourceLabels, tierDescriptions, tierRules, searchConfig to settings locale - Add deleteProject, deleteConversation, shell, gitV2, tasksV2, standaloneShell, codeEditorBinary, memoryPanel to common locale - Fix JSON syntax errors in locale files (missing commas, Chinese quotes) - Fix untranslated zh-CN values: Provider→提供商, API Key→API 密钥, Bearer header→Bearer 请求头, tokens→Token Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
7da7187 to
1f699e1
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.