Craft Anything: understand how any software works, and craft your own.
Rust
Translate the agent program setting into Chinese (#122)
BFlat9d3ea967fbd7
diff --git a/crates/ui-egui/src/i18n/zh-hans.tsv b/crates/ui-egui/src/i18n/zh-hans.tsvindex 602a0b05..f0bb7fe6 100644--- a/crates/ui-egui/src/i18n/zh-hans.tsv+++ b/crates/ui-egui/src/i18n/zh-hans.tsv@@ -395,6 +395,7 @@ Find a call path 查找调用路径Find a game's files 查找游戏文件Find an app 查找应用Find in-page MCP tools 查找页面内的 MCP 工具+Find it automatically 自动查找Find out how any software works, then craft your own. 了解任何软件的工作原理,再打造自己的版本。Find the original source line 查找原始源码行Firmware regions 固件区域@@ -820,6 +821,8 @@ Preserving software that's no longer supported. 保存已停止维护的软件Preview a project's website 预览项目网站Preview the website 预览网站Previous address 上一个地址+Program: found automatically 程序:自动查找+Program: {path} 程序:{path}Programs (native code) 程序 (原生代码)Progress 进度Project details 项目详情@@ -952,6 +955,7 @@ Send (Enter) 发送 (Enter)Send now 立即发送Session status 会话状态Set a project's asset budget 设置项目素材预算+Set an AI's program 设置 AI 的程序Set one up 设置一个Set up a brain… 设置 AI 助手…Set up a builder 配置构建助手@@ -1177,6 +1181,7 @@ When the builder needs a choice made: show it to you and wait, or let it decideWhen you rebuild an app or game, start it once to picture its window and compare the rebuild with it. It runs that program. 重建应用或游戏时,先启动原作一次以截取其窗口,并与重建结果比较。这会运行该程序。Where am I 当前位置Where is Ghidra installed? Ghidra 安装在哪里?+Where is the program? 程序在哪里?Where should new projects go? 新项目应保存在哪里?Where we found it 发现位置Whether they're the app to edit in place, or material the app starts from beside them. 选择直接编辑这些应用文件,还是以它们为素材在旁边创建应用。diff --git a/crates/ui-egui/src/i18n/zh-hant.tsv b/crates/ui-egui/src/i18n/zh-hant.tsvindex 1ca4c6ce..348ad64b 100644--- a/crates/ui-egui/src/i18n/zh-hant.tsv+++ b/crates/ui-egui/src/i18n/zh-hant.tsv@@ -395,6 +395,7 @@ Find a call path 尋找呼叫路徑Find a game's files 尋找遊戲檔案Find an app 尋找應用程式Find in-page MCP tools 尋找頁面內的 MCP 工具+Find it automatically 自動尋找Find out how any software works, then craft your own. 瞭解任何軟體的運作原理,再打造自己的版本。Find the original source line 尋找原始碼行Firmware regions 韌體區域@@ -820,6 +821,8 @@ Preserving software that's no longer supported. 保存已停止維護的軟體Preview a project's website 預覽專案網站Preview the website 預覽網站Previous address 上一個位址+Program: found automatically 程式:自動尋找+Program: {path} 程式:{path}Programs (native code) 程式 (原生程式碼)Progress 進度Project details 專案詳細資訊@@ -952,6 +955,7 @@ Send (Enter) 傳送 (Enter)Send now 立即傳送Session status 工作階段狀態Set a project's asset budget 設定專案素材預算+Set an AI's program 設定 AI 的程式Set one up 設定一個Set up a brain… 設定 AI 助手…Set up a builder 設定建置助手@@ -1177,6 +1181,7 @@ When the builder needs a choice made: show it to you and wait, or let it decideWhen you rebuild an app or game, start it once to picture its window and compare the rebuild with it. It runs that program. 重建應用程式或遊戲時,先啟動原作一次以擷取其視窗,並與重建結果比較。這會執行該程式。Where am I 目前位置Where is Ghidra installed? Ghidra 安裝在哪裡?+Where is the program? 程式在哪裡?Where should new projects go? 新專案應儲存在哪裡?Where we found it 發現位置Whether they're the app to edit in place, or material the app starts from beside them. 選擇直接編輯這些應用程式檔案,還是以它們為素材在旁邊建立應用程式。diff --git a/docs/pitfalls.md b/docs/pitfalls.mdindex 715909e7..220f1d39 100644--- a/docs/pitfalls.md+++ b/docs/pitfalls.md@@ -29,6 +29,9 @@ added an app the new rule rejected; both were green on their own branch.`git merge-tree --write-tree origin/main origin/<branch>` for conflicts, then a temporary branchwith the merge, `cargo test --workspace`, clippy and `cargo xtask layers`.- After merging several PRs in a row, run the full checks on `main` once more.+- It happened again with translations: #117 added UI strings and #115, merged right after it,+ added a check that every string has a Chinese translation, so `cargo xtask ci` failed on+ `main`. A PR that adds a check, or adds what a check covers, is tested on top of the other.**A dependency change merged without its lockfile.** Changes were staged with`git add -A crates apps docs`, which leaves out the root `Cargo.lock`, so a new dependency reached