Commit Graph

11 Commits

Author SHA1 Message Date
晴猫
34ffc56b85 fix: 更新文档中的文件路径,修正 locale 感知 Prompt 加载的引用 2026-03-15 06:54:28 +09:00
春河晴
6201b862c9 feat: 更新 Crowdin 配置以包含韩语翻译,移除对目标语言的排除 2026-03-13 20:31:26 +09:00
春河晴
5da82c4e24 feat: 更新 Crowdin 工作流以支持 dashboard WebUI 的本地化文件,添加相关验证逻辑 2026-03-13 20:09:22 +09:00
春河晴
e21ea5f9cf feat: 更新文档以说明工作流可见性要求和 GitHub CLI 使用方法 2026-03-13 19:33:41 +09:00
春河晴
89bd4ba13a feat: 添加 Crowdin bootstrap 工作流以支持目标翻译的初始化上传 2026-03-13 04:54:47 +09:00
春河晴
67b559200d move zh-CN prompt source 2026-03-13 02:36:08 +09:00
春河晴
55eb911dd3 fix(i18n): 修复 PROMPT_EXTENSIONS 元组声明、消除重复代码、优化锁策略
- fix: PROMPT_EXTENSIONS = (".prompt") 是字符串非元组,改为 (".prompt",)
- refactor: 将 extract_placeholders/format_template 统一到 loaders.py,
  消除 formatting.py、prompt_i18n.py、i18n_validate.py 三处重复
- perf: _get_catalog 和 load_prompt 改为双重检查锁定,I/O 不再阻塞其他线程
- perf: _log_once 使用独立 _warning_lock,不再与 _cache_lock 竞争
- fix: _scan_legacy_prompt_directory 添加 prompts_root 参数,修正 relative_to 语义
- refactor: 合并 _supported_prompt_files 两个变体为单函数 + recursive 参数
- docs: i18n.md 强化 repository-specific 校验策略标注,修正时间表述冗余
- fix: 验证脚本错误消息移除 Crowdin 暗示,标注为仓库级校验策略

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 01:59:20 +09:00
春河晴
b2fa7a0800 docs: align crowdin workflow wording 2026-03-13 00:54:58 +09:00
春河晴
4b7ee3923c ci: tighten crowdin and i18n PR checks 2026-03-13 00:35:30 +09:00
春河晴
c9bfedddd2 i18n: localize prompt templates with crowdin 2026-03-13 00:09:08 +09:00
春河晴
c470fdfd1e i18n: crowdin integration 2026-03-12 17:23:17 +09:00