Task tsk 336e3a8ead703a96ba54702a[TASK-336e3a8ead703a96ba54702a] feat(i18n): 补全zh-TW繁体中文翻译191个key - #13
Closed
jsyqrt wants to merge 17 commits into
Closed
Task tsk 336e3a8ead703a96ba54702a[TASK-336e3a8ead703a96ba54702a] feat(i18n): 补全zh-TW繁体中文翻译191个key#13jsyqrt wants to merge 17 commits into
jsyqrt wants to merge 17 commits into
Conversation
- WorkspaceManager 完全移除 - API Server 状态检查增强 - deny-only 跨代理隔离策略替代白名单模式
- Added i18next and react-i18next dependencies - Created i18n configuration (en, zh-CN, zh-TW) - Added LanguageSelector component - Created translation JSON files
…gs to i18n keys Extracted 63+ hardcoded English strings to translation keys under work.* namespace. Covers all UI labels, button text, placeholders, empty states, error messages, status indicators, and section headers in the Work page.
…ix missing closing tags
- Add const { t } = useTranslation() to AgentNameLink, InlineEditableText, and InlineEditableTextarea components (Rules of Hooks compliance)
- Fix missing } in subtasks conditional expression
- Fix missing </button> closing tag in revision request button
- All changes build successfully (pnpm build)
…pages - Work.tsx: Replace COLUMN_LABELS, TABS, priority labels with t() calls - Team.tsx: Replace status labels, empty states, prompts with t() calls - Reports.tsx: Replace titles, table headers, empty states with t() calls - Settings.tsx: Replace theme, language, and setup guide texts with t() calls - Updated en/zh-CN translation.json with all new keys
- Settings.tsx: Add useTranslation to OrphanSection component - Team.tsx: Add useTranslation to AgentMessageBody and AgentStatusBadge - Work.tsx: Rename 't' to 'task' in linkedTasks.map to fix t variable shadowing Fixes 8 TypeScript errors where 't' was used without useTranslation.
…d Home components
…n keys in Home.tsx - Replaced remaining hardcoded strings with translation keys: - 'Recent Activity' -> home.recentActivity.title - 'System Health' -> home.systemHealth.title - 'Storage' -> home.storage.title - '+N more' -> home.pendingReviews.more - Added missing translation keys to en.json and zh-CN.json - Build passes with 521 modules, 0 errors
- 新增191个翻译key,与en/translation.json对齐(323个key) - 涵盖common、settings、skillStore、team、work等模块 - 翻译内容包含专业术语如LLM、API、DAG等专业领域用词
…18n translation only)
…legacy fallback block in Team.tsx
…ranslation key in en, zh-CN, zh-TW
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.
No description provided.