37 Commits

Author SHA1 Message Date
ed7cd6ba54 chore: 停止追踪生成的 i18n 文件,添加语言切换图标
- 从 git 删除 wwwroot/i18n/{zh,en,jp,ko}/ 生成文件(由 merge_i18n.py 生成)
- 添加 .gitignore 排除生成目录
- 新增 language.svg (globe icon) 替换纯文字语言切换器
- language.ui 改为 VBox: globe图标 + 语言代码标签
2026-06-29 11:46:15 +08:00
6493b636a7 fix: i18n_getmsgs.dspy 读取路径缺少 i18n/ 前缀
原代码: os.path.dirname(__file__) + lang → wwwroot/{lang}/i18n.json (不存在)
修正为: + 'i18n' + lang → wwwroot/i18n/{lang}/i18n.json (正确)
同时重跑 merge_i18n.py 确保生成最新合并文件
2026-06-29 11:31:13 +08:00
3948f623ac feat(i18n): 添加DataViewer弹窗国际化翻译
新增key:
- Search Filter (搜索过滤/検索フィルター/검색 필터)
- Delete conform (删除确认/削除確認/삭제 확인)
- Are you sure to delete this record?
2026-06-26 11:05:29 +08:00
f4a5a66929 fix: i18n_getmsgs.dspy 移到 wwwroot 根目录 2026-06-25 14:20:48 +08:00
9f66377222 fix: i18n_getmsgs.dspy 返回扁平字典格式 2026-06-25 14:13:23 +08:00
156767b1e8 fix: i18n_getmsgs.dspy 移到 i18n 目录下 2026-06-25 14:07:00 +08:00
e5450225aa i18n: 添加文件上传控件提示翻译(zh/ko/jp/en) 2026-06-25 13:53:23 +08:00
Hermes Agent
612b23f540 bugfix 2026-06-18 10:46:23 +08:00
Hermes Agent
a1a646eadb i18n: update en/jp/ko translations for all extracted keys 2026-06-18 08:45:26 +08:00
01d2385a26 i18n: add new dashboard strings (暂无数据, 排名, 用户金额TOP5, etc.) 2026-05-28 14:53:29 +08:00
1117dc7b67 i18n: comprehensive translation update - 921 strings across all modules
- Scanned ALL .ui/.json/.dspy files using regex + JSON parsing
  (regex fallback handles template syntax that breaks JSON parser)
- Covers: dashboard_for_sage, menu labels, CRUD headers/tools,
  llmage, accounting, appbase, charge, cpcc, dapi, discount,
  filemgr, hermes-web-cli, msp, platformbiz, pricing, rag, rbac,
  unipay, uapi, and sage core
- zh: 921 entries (Chinese strings as key=value)
- en: 921 entries (Chinese->English translations, preserves existing 227)
- ko: 921 entries (Korean translations, was empty)
- jp: 921 entries (Japanese translations, was empty)
- Generated msg.txt (backend MiniI18N format) in both i18n/ and
  wwwroot/i18n/ directories
- Dashboard translations: 仪表盘, 快捷入口, 今日活跃用户,
  今日交易金额, 数据看板, 在线用户, etc.
- Menu translations: 供应链管理, 平台业务, 折扣管理, 用户与权限,
  算力中心管理, 计费管理, 运维管理, LLM模型管理, etc.
- CRUD: all table headers, tool labels, field labels translated
2026-05-28 14:12:22 +08:00
f71c5f737b i18n: scan all .ui/.dspy files, complete translations for zh/en/ko/jp
- Scanned 193 .ui files across sage/wwwroot/ and pkgs/*/wwwroot/
- Extracted 169 unique otext/label strings
- Generated msg.txt (backend MiniI18N format) for all 4 languages
- Updated i18n.json (frontend reference) for all 4 languages
- zh: 169 entries (Chinese strings as key=value)
- en: 227 entries (Chinese→English translations + existing)
- ko: 169 entries (Korean translations)
- jp: 169 entries (Japanese translations)
- Covered modules: cpcc, dapi, discount, filemgr, hermes-web-cli,
  llmage, msp, platformbiz, pricing, rag, rbac, unipay, accounting,
  appbase, charge, sage core
2026-05-28 11:23:05 +08:00
b8ccea0b3e bugfix 2026-02-27 17:10:09 +08:00
3b1ab503dd bugfix 2026-02-27 16:54:51 +08:00
80b064fd75 bugfix 2026-02-27 16:42:39 +08:00
83aeda54b4 bugfix 2026-02-27 16:40:39 +08:00
de0052c576 bugfix 2026-02-27 16:25:38 +08:00
d91a955460 bugfix 2026-02-27 16:23:34 +08:00
b9559ec2fe bugfix 2026-02-27 15:41:20 +08:00
103e0f8536 bugfix 2026-02-27 14:53:51 +08:00
f969f786c5 bugfix 2026-01-06 17:56:21 +08:00
d1432f9ca1 bugfix 2026-01-06 17:55:11 +08:00
yumoqing
7e74189cb9 bugfix 2025-12-29 23:54:30 +08:00
yumoqing
901fa5e4cf bugfix 2025-12-29 23:44:30 +08:00
yumoqing
b3e4fd16c1 bugfix 2025-12-29 23:41:10 +08:00
yumoqing
c61b134fe1 bugfix 2025-12-29 23:35:35 +08:00
yumoqing
ed681c5b8e bugfix 2025-12-29 23:09:19 +08:00
36ec77f423 bugfix 2025-12-29 17:54:53 +08:00
b3ace417a9 bugfiix 2025-12-29 17:52:07 +08:00
71ca96752b bugfix 2025-12-29 17:50:29 +08:00
59c25e5832 bugfix 2025-12-29 17:46:44 +08:00
f4448699a4 bugfix 2025-12-29 17:35:13 +08:00
0b1cee27e1 bugfix 2025-12-29 17:25:12 +08:00
79ec25273d bugfix 2025-12-29 16:59:43 +08:00
922b19c7ab bugfix 2025-12-29 11:19:50 +08:00
yumoqing
dfc87c4068 bugfix 2025-12-28 17:30:13 +08:00
yumoqing
5b07451380 bugfix 2025-12-28 12:59:21 +08:00