diff --git a/BitFun-Installer/src/i18n/locales/zh-TW.json b/BitFun-Installer/src/i18n/locales/zh-TW.json index 99fde4a38..d47ea25b7 100644 --- a/BitFun-Installer/src/i18n/locales/zh-TW.json +++ b/BitFun-Installer/src/i18n/locales/zh-TW.json @@ -72,8 +72,8 @@ "addHeader": "添加字段", "headerKey": "key", "headerValue": "value", - "advancedShow": "Show advanced settings", - "advancedHide": "Hide advanced settings", + "advancedShow": "顯示進階設定", + "advancedHide": "隱藏進階設定", "providers": { "openbitfun": { "name": "OpenBitFun", diff --git a/BitFun-Installer/src/i18n/locales/zh.json b/BitFun-Installer/src/i18n/locales/zh.json index 541581aac..29b0aa70e 100644 --- a/BitFun-Installer/src/i18n/locales/zh.json +++ b/BitFun-Installer/src/i18n/locales/zh.json @@ -72,8 +72,8 @@ "addHeader": "添加字段", "headerKey": "key", "headerValue": "value", - "advancedShow": "Show advanced settings", - "advancedHide": "Hide advanced settings", + "advancedShow": "显示高级设置", + "advancedHide": "隐藏高级设置", "providers": { "openbitfun": { "name": "OpenBitFun", diff --git a/src/crates/core/locales/zh-TW.ftl b/src/crates/core/locales/zh-TW.ftl index 94d565007..9ee362ea6 100644 --- a/src/crates/core/locales/zh-TW.ftl +++ b/src/crates/core/locales/zh-TW.ftl @@ -1,4 +1,4 @@ -# BitFun 簡體中文語言包 +# BitFun 繁體中文語言包 # Chinese Traditional (zh-TW) Fluent Translation File # ==================== 通用 ==================== diff --git a/src/web-ui/src/locales/zh-CN/flow-chat.json b/src/web-ui/src/locales/zh-CN/flow-chat.json index 71455c90d..f2e9c1828 100644 --- a/src/web-ui/src/locales/zh-CN/flow-chat.json +++ b/src/web-ui/src/locales/zh-CN/flow-chat.json @@ -866,10 +866,6 @@ "errorLabel": "错误信息", "resultLabel": "执行结果", "noData": "无法加载任务数据", - "stopSubagentFailed": "无法停止该子代理。", - "stoppingSubagent": "正在停止子代理……", - "stopSubagent": "停止子代理", - "stopSubagentHint": "仅取消此审查员/子代理。父级审查仍可继续并生成摘要。", "executionContent": "执行内容", "duration": "耗时", "waitingForModelResponse": "等待模型响应...", diff --git a/src/web-ui/src/locales/zh-TW/flow-chat.json b/src/web-ui/src/locales/zh-TW/flow-chat.json index 4c7eaf44c..d2445e811 100644 --- a/src/web-ui/src/locales/zh-TW/flow-chat.json +++ b/src/web-ui/src/locales/zh-TW/flow-chat.json @@ -128,6 +128,15 @@ "copyToolInput": "複製工具輸入", "copyToolOutput": "複製工具輸出" }, + "widgetContextMenu": { + "addToInput": "把選中元素加入輸入框", + "addedToInput": "已將選中元素加入輸入框", + "unknownElement": "元素", + "displayText": "UI:{{summary}}", + "promptSelected": "選中的生成式 UI 元素:{{summary}}。", + "promptSection": "所屬區域:{{section}}。", + "promptFile": "關聯文件:{{file}}{{line}}。" + }, "input": { "placeholder": "有什麼可以幫您...", "placeholderWithContext": "輸入消息,或拖放文件添加上下文...", @@ -597,12 +606,27 @@ "searchCount_one": "進行了 {{count}} 次搜索", "searchCount_other": "進行了 {{count}} 次搜索", "searchCount": "進行了 {{count}} 次搜索", + "commandCount_one": "執行了 {{count}} 個命令", + "commandCount_other": "執行了 {{count}} 個命令", + "commandCount": "執行了 {{count}} 個命令", "exploreCount_one": "執行了 {{count}} 次探索", "exploreCount_other": "執行了 {{count}} 次探索", "exploreCount": "執行了 {{count}} 次探索", "separator": ",", "collapse": "收起探索過程" }, + "terminalRegion": { + "executedCommands_one": "執行了 {{count}} 個命令", + "executedCommands_other": "執行了 {{count}} 個命令", + "executedCommands": "執行了 {{count}} 個命令", + "allSuccess": "全部成功", + "partialSuccess": "{{success}} 個成功,{{failed}} 個失敗", + "withRunning": "{{success}} 個成功,{{running}} 個運行中", + "withCancelled": "{{success}} 個成功,{{cancelled}} 個已取消", + "mixedStatus": "{{success}} 個成功,{{failed}} 個失敗,{{running}} 個運行中", + "separator": ",", + "collapse": "收起命令列表" + }, "toolCards": { "file": { "write": "寫入文件", @@ -626,6 +650,27 @@ "preparing": "準備獲取差異", "failed": "獲取差異失敗" }, + "generativeUI": { + "action": "生成式 UI", + "streamingPreview": "預覽流式生成中", + "openSource": "打開源碼", + "renderFailed": "組件渲染失敗。", + "waitingForContent": "等待組件內容中...", + "saving": "保存中", + "unsaved": "有未保存改動", + "saveFailed": "保存失敗", + "savedToSession": "已保存到會話", + "saveError": "保存組件源碼失敗", + "saveNow": "立即保存", + "reset": "重置", + "source": "源碼", + "empty": "暫無組件內容。", + "workspaceUnavailable": "當前會話沒有可用工作區,無法保存生成式 UI 源碼", + "openSourceFailed": "打開生成式 UI 源碼編輯器失敗" + }, + "generativeWidget": { + "exportFileNamePrefix": "BitFun組件" + }, "git": { "title": "Git", "commandFailed": "Git命令失敗", @@ -821,10 +866,6 @@ "errorLabel": "錯誤信息", "resultLabel": "執行結果", "noData": "無法加載任務數據", - "stopSubagentFailed": "無法停止該子代理。", - "stoppingSubagent": "正在停止子代理……", - "stopSubagent": "停止子代理", - "stopSubagentHint": "僅取消此審查員/子代理。父級審查仍可繼續並生成摘要。", "executionContent": "執行內容", "duration": "耗時", "waitingForModelResponse": "等待模型回應...", diff --git a/src/web-ui/src/locales/zh-TW/panels/files.json b/src/web-ui/src/locales/zh-TW/panels/files.json index ee9e1f6f0..7c5003c77 100644 --- a/src/web-ui/src/locales/zh-TW/panels/files.json +++ b/src/web-ui/src/locales/zh-TW/panels/files.json @@ -7,7 +7,68 @@ "modeFiles": "文件", "modeContent": "內容", "limitReachedFiles": "當前僅顯示前 {{count}} 個文件匹配結果,請繼續縮小查詢範圍。", - "limitReachedContent": "當前僅顯示前 {{count}} 個內容匹配結果,請繼續縮小查詢範圍。" + "limitReachedContent": "當前僅顯示前 {{count}} 個內容匹配結果,請繼續縮小查詢範圍。", + "backendSummary": "候選文檔 {{candidateDocs}} 個,命中行 {{matchedLines}} 行,命中片段 {{matchedOccurrences}} 個。", + "backend": { + "indexed": "索引命中", + "indexed_workspace": "工作區索引", + "text_fallback": "文本回退", + "scan_fallback": "掃描回退" + }, + "index": { + "actions": { + "build": "建立索引", + "rebuild": "重建索引", + "refresh": "刷新索引狀態", + "running": "索引中..." + }, + "badges": { + "rebuildRecommended": "建議重建" + }, + "phase": { + "preparing": "準備中", + "needs_index": "未建索引", + "building": "建立中", + "ready": "索引可用", + "tracking_changes": "跟蹤變更中", + "refreshing": "刷新中", + "limited": "受限", + "unknown": "未知" + }, + "summary": { + "preparing": "正在準備托管搜索工作區。", + "needs_index": "當前搜索仍可透過 fallback 使用,建立索引後內容搜索會更快。", + "building": "正在為當前工作區建立索引。", + "ready": "索引已就緒,內容搜索可優先走索引後端。", + "tracking_changes": "索引當前可用,工作區變更正在被跟蹤。只有出現建議重建時,才需要關注重建。", + "refreshing": "正在根據最新文件變更刷新索引。", + "limited": "索引能力受限。搜索仍可 fallback,但建議重建。", + "unavailable": "當前無法獲取索引狀態。" + }, + "indicator": { + "label": "工作區索引狀態", + "checking": "正在檢查索引狀態...", + "tones": { + "green": "索引正常", + "yellow": "索引需關注", + "gray": "尚未建索引", + "red": "需要重建索引" + }, + "progressKnown": "{{processed}} / {{total}}", + "progressUnknown": "已處理 {{processed}} 項", + "dirtyFiles": "待同步變更:修改 {{modified}},刪除 {{deleted}},新增 {{new}}", + "rebuildRecommended": "當前建議執行重建。", + "probeDegraded": "工作區探測狀態異常,工作區索引視圖可能不再持續跟進變更。", + "hoverTooltip": "Flashgrep 索引:{{status}}" + }, + "taskState": { + "queued": "排隊中", + "running": "執行中", + "completed": "已完成", + "failed": "失敗", + "cancelled": "已取消" + } + } }, "options": { "caseSensitive": "區分大小寫 (Aa)", @@ -65,6 +126,8 @@ "pasteNoFiles": "剪貼板中沒有文件", "pastingFiles": "正在粘貼 {{count}} 個文件到 {{target}}...", "openExplorerFailed": "打開文件管理器失敗: {{error}}", - "selectWorkspaceFirst": "請先打開工作區" + "selectWorkspaceFirst": "請先打開工作區", + "searchIndexBuildStarted": "已開始建立工作區索引。", + "searchIndexRebuildStarted": "已開始重建工作區索引。" } }