mirror of
https://github.com/aiclientproxy/proxycast.git
synced 2026-09-24 23:10:56 +08:00
🎉 重大功能 - Chrome Bridge: 完整的浏览器自动化控制系统 - 零配置自动连接:扩展自动加载和配置 - AI 原生集成:作为 MCP 工具支持自然语言控制 - 支持导航、页面读取、元素交互、表单操作等 🐛 Bug 修复 - WebSocket 路由修复 (Axum 路径参数语法) - Chrome 扩展存储清理 - 扩展重复注入防护 - 剪贴板权限添加 🔧 代码质量 - 修复 33+ Clippy 警告 - 所有 259 个测试通过 - ESLint 无警告 📝 文档 - Chrome Bridge 使用指南 - API 技术文档 - 快速参考卡片
Translation Scripts
This directory contains utility scripts for managing i18n translations.
Useful Scripts
extract_remaining_todos.py
Extracts all [TODO: Translate] entries from en.json for manual translation.
Usage:
python scripts/extract_remaining_todos.py
Output: translations-remaining.json - Contains all untranslated entries
import_translations.py
Imports translated entries from translations-remaining.json back into en.json.
Usage:
- Fill in translations in
translations-remaining.json - Run:
python scripts/import_translations.py
translate_all.py
Contains comprehensive translation dictionary (1200+ entries) for reference. Can be used as a base for future translations.
Workflow for Adding New Translations
When upstream adds new Chinese text:
-
Extract new TODOs:
python scripts/extract_remaining_todos.py -
Translate entries: Edit
translations-remaining.jsonand add English translations -
Import translations:
python scripts/import_translations.py -
Verify: Check
en.jsonfor any remaining[TODO]markers
Translation Guidelines
- Use full sentences/phrases - Not word-by-word translation
- Context-aware - Consider where the text appears in the UI
- Natural English - Translate meaning, not literal words
- Consistent terminology - Use same terms for same concepts
Current Status
- Total entries: 3,568
- Translated: 3,568 (100%)
- Coverage: 100%