Eric Blanquer
|
ede56ad81b
|
fix: simplify project wizard labels for clarity
|
2026-01-26 03:25:43 +01:00 |
|
Eric Blanquer
|
8ef0951901
|
fix: update i18n translations for clone progress and SSH detection
|
2026-01-26 03:09:22 +01:00 |
|
Haileyesus Dessie
|
38745bdf85
|
Merge pull request #327 from NobitaYuan/feat/add-i18n
update: Add translations for more components
|
2026-01-23 15:26:51 +03:00 |
|
YuanNiancai
|
e85cc746b1
|
fix: add missing translation
|
2026-01-22 15:24:27 +08:00 |
|
YuanNiancai
|
cc3368c591
|
add translations for Shell.jsx
|
2026-01-22 15:12:01 +08:00 |
|
YuanNiancai
|
5131d2ae27
|
add some translations for CodeEditor.jsx、QuickSettingsPanel.jsx
|
2026-01-22 14:57:32 +08:00 |
|
YuanNiancai
|
394b95ae29
|
add some translations for chatInterface.jsx
|
2026-01-22 14:38:24 +08:00 |
|
YuanNiancai
|
fea8e30725
|
update: Add translations for some components
|
2026-01-22 09:49:19 +08:00 |
|
Eric Blanquer
|
9f534ce15b
|
fix: use i18next v4+ pluralization format and add sessionTitle fallback
|
2026-01-21 23:14:41 +01:00 |
|
Eric Blanquer
|
8cb34a73b5
|
fix: localize delete confirmation modal strings
|
2026-01-21 22:38:29 +01:00 |
|
YuanNiancai
|
a173817d37
|
feat: add i18n translations for ThinkingModeSelector component
|
2026-01-21 14:50:15 +08:00 |
|
YuanNiancai
|
73375d7653
|
fix: improve i18n translation strings based on code review
Refactored translation strings to follow best practices:
1. Removed HTML tags from translation strings (en/chat.json)
- Changed "Adds <span class=\"font-mono\">{{entry}}</span>" to "Adds {{entry}}"
2. Simplified TasksSettings.jsx component (TasksSettings.jsx)
- Moved command code directly into translation file
3. Updated both English and Chinese translation files
- en/chat.json: Removed HTML markup from permissions.addTo
- zh-CN/chat.json: Corresponding Chinese translation update
- en/settings.json: Added task-master init command
-zh-CN/settings.json: Added task-master init command in Chinese
根据代码审查改进 i18n 翻译字符串:
1. 从翻译字符串中移除 HTML 标签(en/chat.json)
- 将 "Adds <span class=\"font-mono\">{{entry}}</span>" 改为 "Adds {{entry}}"
2. 简化 TasksSettings.jsx 组件
- 将命令代码直接移到翻译文件中
3. 更新英文和中文翻译文件
- en/chat.json: 从 permissions.addTo 移除 HTML 标记
- zh-CN/chat.json: 对应的中文翻译更新
- en/settings.json: 添加 task-master init 命令
- zh-CN/settings.json: 添加 task-master init 命令的中文翻译
|
2026-01-21 14:29:16 +08:00 |
|
YuanNiancai
|
0517ee609e
|
feat: complete internationalization (i18n) for components
Implemented comprehensive i18n translation support for the following components:
1. GitSettings.jsx - Git configuration interface
2. ApiKeysSettings.jsx - API keys settings
3. CredentialsSettings.jsx - Credentials settings (GitHub tokens)
4. TasksSettings.jsx - TaskMaster task management settings
5. ChatInterface.jsx - Chat interface (major translation work)
New translation files:
- src/i18n/locales/en/chat.json - English chat interface translations
- src/i18n/locales/zh-CN/chat.json - Chinese chat interface translations
ChatInterface.jsx translations:
- Code block copy buttons (Copy, Copied, Copy code)
- Message type labels (User, Error, Tool, Claude, Cursor, Codex)
- Tool settings tooltip
- Search result display (pattern, in, results)
- Codex permission modes (Default, Accept Edits, Bypass Permissions, Plan)
- Input placeholder and hint text
- Keyboard shortcut hints (Ctrl+Enter/Enter modes)
- Command menu button
i18n configuration updates:
- Registered chat namespace in config.js
- Extended settings.json translations (git, apiKeys, tasks, agents, mcpServers sections)
完成以下组件的 i18n 翻译工作:
1. GitSettings.jsx - Git 配置界面
2. ApiKeysSettings.jsx - API 密钥设置
3. CredentialsSettings.jsx - 凭据设置(GitHub Token)
4. TasksSettings.jsx - TaskMaster 任务管理设置
5. ChatInterface.jsx - 聊天界面(主要翻译工作)
新增翻译文件:
- src/i18n/locales/en/chat.json - 英文聊天界面翻译
- src/i18n/locales/zh-CN/chat.json - 中文聊天界面翻译
ChatInterface.jsx 翻译内容:
- 代码块复制按钮
- 消息类型标签
- 工具设置提示
- 搜索结果显示
- Codex 权限模式(默认、编辑、无限制、计划模式)
- 输入框占位符和提示文本
- 键盘快捷键提示
- 命令菜单按钮
更新 i18n 配置:
- 在 config.js 中注册 chat 命名空间
- 扩展 settings.json 翻译(git、apiKeys、tasks、agents、mcpServers 等部分)
|
2026-01-21 13:58:30 +08:00 |
|
YuanNiancai
|
4216676395
|
add i18n feat && Add partial translation
|
2026-01-16 19:11:19 +08:00 |
|