Skip to content

Task tsk 336e3a8ead703a96ba54702a[TASK-336e3a8ead703a96ba54702a] feat(i18n): 补全zh-TW繁体中文翻译191个key - #13

Closed
jsyqrt wants to merge 17 commits into
mainfrom
task-tsk_336e3a8ead703a96ba54702a
Closed

Task tsk 336e3a8ead703a96ba54702a[TASK-336e3a8ead703a96ba54702a] feat(i18n): 补全zh-TW繁体中文翻译191个key#13
jsyqrt wants to merge 17 commits into
mainfrom
task-tsk_336e3a8ead703a96ba54702a

Conversation

@jsyqrt

@jsyqrt jsyqrt commented Apr 16, 2026

Copy link
Copy Markdown
Contributor

No description provided.

jsyqrt added 17 commits April 13, 2026 12:42
- 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.
…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等专业领域用词
@jsyqrt jsyqrt closed this Apr 16, 2026
@jsyqrt jsyqrt reopened this Apr 16, 2026
@jsyqrt jsyqrt closed this Apr 16, 2026
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