From 21c436d90009fb9fc19377147668a78055d35f63 Mon Sep 17 00:00:00 2001 From: Vaayne Date: Tue, 23 Sep 2025 12:23:05 +0800 Subject: [PATCH 1/2] refactor: Clean up JSON structure and improve readability in locale files --- CLAUDE.md | 19 +- package.json | 2 +- src/renderer/src/i18n/locales/en-us.json | 188 +++++++++--------- src/renderer/src/i18n/locales/zh-cn.json | 148 +++++++------- src/renderer/src/i18n/locales/zh-tw.json | 148 +++++++------- .../AgentSettings/AgentAdvanceSettings.tsx | 11 +- 6 files changed, 257 insertions(+), 259 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 4119019336..f1a2f2a48a 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -21,13 +21,18 @@ This file provides guidance to AI coding assistants when working with code in th ## Development Commands -- **Install**: `yarn install` -- **Development**: `yarn dev` - Runs Electron app in development mode -- **Debug**: `yarn debug` - Starts with debugging enabled, use chrome://inspect -- **Build Check**: `yarn build:check` - REQUIRED before commits (lint + test + typecheck), if having i18n sort issues, run `yarn i18n:sync` first to sync template. -- **Test**: `yarn test` - Run all tests (Vitest) -- **Single Test**: `yarn test:main` or `yarn test:renderer` -- **Lint**: `yarn lint` - Fix linting issues and run typecheck +- **Install**: `yarn install` - Install all project dependencies +- **Development**: `yarn dev` - Runs Electron app in development mode with hot reload +- **Debug**: `yarn debug` - Starts with debugging enabled, use `chrome://inspect` to attach debugger +- **Build Check**: `yarn build:check` - **REQUIRED** before commits (lint + test + typecheck) + - If having i18n sort issues, run `yarn i18n:sync` first to sync template + - If having formatting issues, run `yarn format` first +- **Test**: `yarn test` - Run all tests (Vitest) across main and renderer processes +- **Single Test**: + - `yarn test:main` - Run tests for main process only + - `yarn test:renderer` - Run tests for renderer process only +- **Lint**: `yarn lint` - Fix linting issues and run TypeScript type checking +- **Format**: `yarn format` - Auto-format code using Biome ## Project Architecture diff --git a/package.json b/package.json index 8be83e9e37..18408e4a74 100644 --- a/package.json +++ b/package.json @@ -69,7 +69,7 @@ "test:e2e": "yarn playwright test", "test:lint": "oxlint --deny-warnings && eslint . --ext .js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --cache", "test:scripts": "vitest scripts", - "lint": "oxlint --fix && eslint . --ext .js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --cache && yarn typecheck && yarn check:i18n", + "lint": "oxlint --fix && eslint . --ext .js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --cache && yarn typecheck && yarn check:i18n && yarn format:check", "format": "biome format --write && biome lint --write", "format:check": "biome format && biome lint", "prepare": "git config blame.ignoreRevsFile .git-blame-ignore-revs && husky", diff --git a/src/renderer/src/i18n/locales/en-us.json b/src/renderer/src/i18n/locales/en-us.json index c8cbf004cd..ed12fa512b 100644 --- a/src/renderer/src/i18n/locales/en-us.json +++ b/src/renderer/src/i18n/locales/en-us.json @@ -80,102 +80,102 @@ } }, "settings": { - "advance": { - "maxTurns": { - "description": "Define how many request/response cycles the agent may complete automatically.", - "helper": "Higher values enable longer autonomous runs; lower values keep sessions short.", - "label": "Conversation turn limit" - }, - "permissionMode": { - "description": "Control how the agent handles actions that require approval.", - "label": "Permission mode", - "options": { - "acceptEdits": "Accept edits automatically", - "bypassPermissions": "Bypass permission checks", - "default": "Default (ask before continuing)", - "plan": "Planning mode (requires plan approval)" + "advance": { + "maxTurns": { + "description": "Define how many request/response cycles the agent may complete automatically.", + "helper": "Higher values enable longer autonomous runs; lower values keep sessions short.", + "label": "Conversation turn limit" + }, + "permissionMode": { + "description": "Control how the agent handles actions that require approval.", + "label": "Permission mode", + "options": { + "acceptEdits": "Accept edits automatically", + "bypassPermissions": "Bypass permission checks", + "default": "Default (ask before continuing)", + "plan": "Planning mode (requires plan approval)" + }, + "placeholder": "Choose a permission behavior" + }, + "title": "Advanced Settings" }, - "placeholder": "Choose a permission behavior" - }, - "title": "Advanced Settings" - }, - "essential": "Essential Settings", - "prompt": "Prompt Settings", - "tooling": { - "mcp": { - "description": "Connect MCP servers to unlock additional tools you can approve above.", - "empty": "No MCP servers detected. Add one from the MCP settings page.", - "manageHint": "Need advanced configuration? Visit Settings → MCP Servers.", - "toggle": "Toggle {{name}}" - }, - "permissionMode": { - "acceptEdits": { - "behavior": "Pre-approves trusted filesystem tools so edits run immediately.", - "description": "File edits and filesystem operations are automatically approved.", - "title": "Auto-accept file edits" + "essential": "Essential Settings", + "prompt": "Prompt Settings", + "tooling": { + "mcp": { + "description": "Connect MCP servers to unlock additional tools you can approve above.", + "empty": "No MCP servers detected. Add one from the MCP settings page.", + "manageHint": "Need advanced configuration? Visit Settings → MCP Servers.", + "toggle": "Toggle {{name}}" + }, + "permissionMode": { + "acceptEdits": { + "behavior": "Pre-approves trusted filesystem tools so edits run immediately.", + "description": "File edits and filesystem operations are automatically approved.", + "title": "Auto-accept file edits" + }, + "bypassPermissions": { + "behavior": "Every tool is pre-approved automatically.", + "description": "All permission prompts are skipped — use with caution.", + "title": "Bypass permission checks", + "warning": "Use with caution — all tools will run without asking for approval." + }, + "confirmChange": { + "description": "Switching modes updates the automatically approved tools.", + "title": "Change permission mode?" + }, + "default": { + "behavior": "Read-only tools are pre-approved automatically.", + "description": "Read-only tools are pre-approved; everything else still needs permission.", + "title": "Default (ask before continuing)" + }, + "plan": { + "behavior": "Read-only defaults are pre-approved while execution remains disabled.", + "description": "Shares the default read-only tool set but presents a plan before execution.", + "title": "Planning mode (coming soon)" + } + }, + "preapproved": { + "autoBadge": "Added by mode", + "autoDescription": "This tool is auto-approved by the current permission mode.", + "empty": "No tools match your filters.", + "mcpBadge": "MCP tool", + "requiresApproval": "Requires approval when disabled", + "search": "Search tools", + "toggle": "Toggle {{name}}", + "warning": { + "description": "Enable only tools you trust. Mode defaults are highlighted automatically.", + "title": "Pre-approved tools run without manual review." + } + }, + "review": { + "autoTools": "Auto: {{count}}", + "customTools": "Custom: {{count}}", + "helper": "Changes save automatically. Adjust the steps above any time to fine-tune permissions.", + "mcp": "MCP: {{count}}", + "mode": "Mode: {{mode}}" + }, + "steps": { + "mcp": { + "title": "MCP servers" + }, + "permissionMode": { + "title": "Step 1 · Permission mode" + }, + "preapproved": { + "title": "Step 2 · Pre-approved tools" + }, + "review": { + "title": "Step 3 · Review" + } + }, + "tab": "Tooling & permissions" }, - "bypassPermissions": { - "behavior": "Every tool is pre-approved automatically.", - "description": "All permission prompts are skipped — use with caution.", - "title": "Bypass permission checks", - "warning": "Use with caution — all tools will run without asking for approval." - }, - "confirmChange": { - "description": "Switching modes updates the automatically approved tools.", - "title": "Change permission mode?" - }, - "default": { - "behavior": "Read-only tools are pre-approved automatically.", - "description": "Read-only tools are pre-approved; everything else still needs permission.", - "title": "Default (ask before continuing)" - }, - "plan": { - "behavior": "Read-only defaults are pre-approved while execution remains disabled.", - "description": "Shares the default read-only tool set but presents a plan before execution.", - "title": "Planning mode (coming soon)" - } - }, - "preapproved": { - "autoBadge": "Added by mode", - "autoDescription": "This tool is auto-approved by the current permission mode.", - "empty": "No tools match your filters.", - "mcpBadge": "MCP tool", - "requiresApproval": "Requires approval when disabled", - "search": "Search tools", - "toggle": "Toggle {{name}}", - "warning": { - "description": "Enable only tools you trust. Mode defaults are highlighted automatically.", - "title": "Pre-approved tools run without manual review." - } - }, - "review": { - "autoTools": "Auto: {{count}}", - "customTools": "Custom: {{count}}", - "helper": "Changes save automatically. Adjust the steps above any time to fine-tune permissions.", - "mcp": "MCP: {{count}}", - "mode": "Mode: {{mode}}" - }, - "steps": { - "mcp": { - "title": "MCP servers" - }, - "permissionMode": { - "title": "Step 1 · Permission mode" - }, - "preapproved": { - "title": "Step 2 · Pre-approved tools" - }, - "review": { - "title": "Step 3 · Review" - } - }, - "tab": "Tooling & permissions" - }, - "tools": { - "approved": "approved", - "caution": "Pre-approved tools bypass human review. Enable only trusted tools.", - "description": "Choose which tools can run without manual approval.", - "requiresPermission": "Requires permission when not pre-approved.", + "tools": { + "approved": "approved", + "caution": "Pre-approved tools bypass human review. Enable only trusted tools.", + "description": "Choose which tools can run without manual approval.", + "requiresPermission": "Requires permission when not pre-approved.", "tab": "Pre-approved tools", "title": "Pre-approved tools", "toggle": "{{defaultValue}}" diff --git a/src/renderer/src/i18n/locales/zh-cn.json b/src/renderer/src/i18n/locales/zh-cn.json index bab95f7f8f..88d2752510 100644 --- a/src/renderer/src/i18n/locales/zh-cn.json +++ b/src/renderer/src/i18n/locales/zh-cn.json @@ -99,81 +99,81 @@ }, "title": "高级设置" }, - "essential": "基础设置", - "prompt": "提示词设置", - "tooling": { - "mcp": { - "description": "连接 MCP 服务器即可解锁更多可在上方预先授权的工具。", - "empty": "未检测到 MCP 服务器,请前往 MCP 设置页添加。", - "manageHint": "需要更多配置?前往 设置 → MCP 服务器。", - "toggle": "切换 {{name}}" - }, - "permissionMode": { - "acceptEdits": { - "behavior": "预先授权受信任的文件系统工具,允许即时执行。", - "description": "文件编辑和文件系统操作将自动通过审批。", - "title": "自动接受文件编辑" + "essential": "基础设置", + "prompt": "提示词设置", + "tooling": { + "mcp": { + "description": "连接 MCP 服务器即可解锁更多可在上方预先授权的工具。", + "empty": "未检测到 MCP 服务器,请前往 MCP 设置页添加。", + "manageHint": "需要更多配置?前往 设置 → MCP 服务器。", + "toggle": "切换 {{name}}" + }, + "permissionMode": { + "acceptEdits": { + "behavior": "预先授权受信任的文件系统工具,允许即时执行。", + "description": "文件编辑和文件系统操作将自动通过审批。", + "title": "自动接受文件编辑" + }, + "bypassPermissions": { + "behavior": "所有工具都会被自动预先授权。", + "description": "所有权限提示都会被跳过,请谨慎使用。", + "title": "跳过所有权限检查", + "warning": "危险:所有工具都会在无审批情况下执行。" + }, + "confirmChange": { + "description": "切换模式会更新自动预先授权的工具。", + "title": "确认切换权限模式?" + }, + "default": { + "behavior": "只读工具会自动预先授权。", + "description": "只读工具会自动预先授权,其它操作仍需权限。", + "title": "默认(继续前询问)" + }, + "plan": { + "behavior": "默认的只读工具会自动预先授权,但执行仍被禁用。", + "description": "继承默认的只读工具集,并会在执行前先呈现计划。", + "title": "规划模式(即将支持)" + } + }, + "preapproved": { + "autoBadge": "模式自动添加", + "autoDescription": "该工具由当前权限模式自动预先授权。", + "empty": "没有符合筛选条件的工具。", + "mcpBadge": "MCP 工具", + "requiresApproval": "禁用时需要人工审批", + "search": "搜索工具", + "toggle": "切换 {{name}}", + "warning": { + "description": "仅启用你信任的工具。模式默认值会自动标注。", + "title": "预先授权的工具将在无人工审核时运行。" + } + }, + "review": { + "autoTools": "自动:{{count}}", + "customTools": "自定义:{{count}}", + "helper": "设置会自动保存,可随时返回上方步骤进行调整。", + "mcp": "MCP:{{count}}", + "mode": "模式:{{mode}}" + }, + "steps": { + "mcp": { + "title": "MCP 服务器" + }, + "permissionMode": { + "title": "步骤 1 · 权限模式" + }, + "preapproved": { + "title": "步骤 2 · 预先授权工具" + }, + "review": { + "title": "步骤 3 · 总览" + } + }, + "tab": "工具与权限" }, - "bypassPermissions": { - "behavior": "所有工具都会被自动预先授权。", - "description": "所有权限提示都会被跳过,请谨慎使用。", - "title": "跳过所有权限检查", - "warning": "危险:所有工具都会在无审批情况下执行。" - }, - "confirmChange": { - "description": "切换模式会更新自动预先授权的工具。", - "title": "确认切换权限模式?" - }, - "default": { - "behavior": "只读工具会自动预先授权。", - "description": "只读工具会自动预先授权,其它操作仍需权限。", - "title": "默认(继续前询问)" - }, - "plan": { - "behavior": "默认的只读工具会自动预先授权,但执行仍被禁用。", - "description": "继承默认的只读工具集,并会在执行前先呈现计划。", - "title": "规划模式(即将支持)" - } - }, - "preapproved": { - "autoBadge": "模式自动添加", - "autoDescription": "该工具由当前权限模式自动预先授权。", - "empty": "没有符合筛选条件的工具。", - "mcpBadge": "MCP 工具", - "requiresApproval": "禁用时需要人工审批", - "search": "搜索工具", - "toggle": "切换 {{name}}", - "warning": { - "description": "仅启用你信任的工具。模式默认值会自动标注。", - "title": "预先授权的工具将在无人工审核时运行。" - } - }, - "review": { - "autoTools": "自动:{{count}}", - "customTools": "自定义:{{count}}", - "helper": "设置会自动保存,可随时返回上方步骤进行调整。", - "mcp": "MCP:{{count}}", - "mode": "模式:{{mode}}" - }, - "steps": { - "mcp": { - "title": "MCP 服务器" - }, - "permissionMode": { - "title": "步骤 1 · 权限模式" - }, - "preapproved": { - "title": "步骤 2 · 预先授权工具" - }, - "review": { - "title": "步骤 3 · 总览" - } - }, - "tab": "工具与权限" - }, - "tools": { - "approved": "已授权", - "caution": "预先授权的工具会跳过人工审核,请仅启用可信的工具。", + "tools": { + "approved": "已授权", + "caution": "预先授权的工具会跳过人工审核,请仅启用可信的工具。", "description": "选择哪些工具可以在无需人工审批的情况下执行。", "requiresPermission": "未预先授权时需要人工审批。", "tab": "预先授权工具", diff --git a/src/renderer/src/i18n/locales/zh-tw.json b/src/renderer/src/i18n/locales/zh-tw.json index 638e3378c5..314955dd8a 100644 --- a/src/renderer/src/i18n/locales/zh-tw.json +++ b/src/renderer/src/i18n/locales/zh-tw.json @@ -99,81 +99,81 @@ }, "title": "進階設定" }, - "essential": "必要設定", - "prompt": "提示設定", - "tooling": { - "mcp": { - "description": "連線 MCP 伺服器即可解鎖更多可在上方預先授權的工具。", - "empty": "尚未偵測到 MCP 伺服器,請前往 MCP 設定頁新增。", - "manageHint": "需要進階設定?前往 設定 → MCP 伺服器。", - "toggle": "切換 {{name}}" - }, - "permissionMode": { - "acceptEdits": { - "behavior": "預先授權受信任的檔案系統工具,允許即時執行。", - "description": "檔案編輯與檔案系統操作會自動通過核准。", - "title": "自動接受檔案編輯" + "essential": "必要設定", + "prompt": "提示設定", + "tooling": { + "mcp": { + "description": "連線 MCP 伺服器即可解鎖更多可在上方預先授權的工具。", + "empty": "尚未偵測到 MCP 伺服器,請前往 MCP 設定頁新增。", + "manageHint": "需要進階設定?前往 設定 → MCP 伺服器。", + "toggle": "切換 {{name}}" + }, + "permissionMode": { + "acceptEdits": { + "behavior": "預先授權受信任的檔案系統工具,允許即時執行。", + "description": "檔案編輯與檔案系統操作會自動通過核准。", + "title": "自動接受檔案編輯" + }, + "bypassPermissions": { + "behavior": "所有工具都會被自動預先授權。", + "description": "所有權限提示都會被略過,請務必謹慎使用。", + "title": "略過所有權限檢查", + "warning": "警告:所有工具都會在無核准情況下執行。" + }, + "confirmChange": { + "description": "切換模式會更新自動預先授權的工具。", + "title": "確認切換權限模式?" + }, + "default": { + "behavior": "唯讀工具會自動預先授權。", + "description": "唯讀工具會自動預先授權,其它操作仍需核准。", + "title": "預設(繼續前先詢問)" + }, + "plan": { + "behavior": "預設的唯讀工具會自動預先授權,但執行仍被停用。", + "description": "沿用預設的唯讀工具集,並會在執行前先呈現計畫。", + "title": "規劃模式(即將支援)" + } + }, + "preapproved": { + "autoBadge": "模式自動添加", + "autoDescription": "此工具由目前的權限模式自動預先授權。", + "empty": "沒有符合篩選條件的工具。", + "mcpBadge": "MCP 工具", + "requiresApproval": "停用時需要人工核准", + "search": "搜尋工具", + "toggle": "切換 {{name}}", + "warning": { + "description": "僅啟用你信任的工具。模式預設值會自動標示。", + "title": "預先授權的工具將在無人工審查下執行。" + } + }, + "review": { + "autoTools": "自動:{{count}}", + "customTools": "自訂:{{count}}", + "helper": "設定會自動儲存,可隨時回到上方步驟調整。", + "mcp": "MCP:{{count}}", + "mode": "模式:{{mode}}" + }, + "steps": { + "mcp": { + "title": "MCP 伺服器" + }, + "permissionMode": { + "title": "步驟 1 · 權限模式" + }, + "preapproved": { + "title": "步驟 2 · 預先授權工具" + }, + "review": { + "title": "步驟 3 · 檢視" + } + }, + "tab": "工具與權限" }, - "bypassPermissions": { - "behavior": "所有工具都會被自動預先授權。", - "description": "所有權限提示都會被略過,請務必謹慎使用。", - "title": "略過所有權限檢查", - "warning": "警告:所有工具都會在無核准情況下執行。" - }, - "confirmChange": { - "description": "切換模式會更新自動預先授權的工具。", - "title": "確認切換權限模式?" - }, - "default": { - "behavior": "唯讀工具會自動預先授權。", - "description": "唯讀工具會自動預先授權,其它操作仍需核准。", - "title": "預設(繼續前先詢問)" - }, - "plan": { - "behavior": "預設的唯讀工具會自動預先授權,但執行仍被停用。", - "description": "沿用預設的唯讀工具集,並會在執行前先呈現計畫。", - "title": "規劃模式(即將支援)" - } - }, - "preapproved": { - "autoBadge": "模式自動添加", - "autoDescription": "此工具由目前的權限模式自動預先授權。", - "empty": "沒有符合篩選條件的工具。", - "mcpBadge": "MCP 工具", - "requiresApproval": "停用時需要人工核准", - "search": "搜尋工具", - "toggle": "切換 {{name}}", - "warning": { - "description": "僅啟用你信任的工具。模式預設值會自動標示。", - "title": "預先授權的工具將在無人工審查下執行。" - } - }, - "review": { - "autoTools": "自動:{{count}}", - "customTools": "自訂:{{count}}", - "helper": "設定會自動儲存,可隨時回到上方步驟調整。", - "mcp": "MCP:{{count}}", - "mode": "模式:{{mode}}" - }, - "steps": { - "mcp": { - "title": "MCP 伺服器" - }, - "permissionMode": { - "title": "步驟 1 · 權限模式" - }, - "preapproved": { - "title": "步驟 2 · 預先授權工具" - }, - "review": { - "title": "步驟 3 · 檢視" - } - }, - "tab": "工具與權限" - }, - "tools": { - "approved": "已授權", - "caution": "預先授權的工具會略過人工審查,請僅啟用可信任的工具。", + "tools": { + "approved": "已授權", + "caution": "預先授權的工具會略過人工審查,請僅啟用可信任的工具。", "description": "選擇哪些工具可在無需人工核准的情況下執行。", "requiresPermission": "未預先授權時需要人工核准。", "tab": "預先授權工具", diff --git a/src/renderer/src/pages/settings/AgentSettings/AgentAdvanceSettings.tsx b/src/renderer/src/pages/settings/AgentSettings/AgentAdvanceSettings.tsx index 9fb4395e61..00567bfbf6 100644 --- a/src/renderer/src/pages/settings/AgentSettings/AgentAdvanceSettings.tsx +++ b/src/renderer/src/pages/settings/AgentSettings/AgentAdvanceSettings.tsx @@ -1,10 +1,5 @@ import { Input, Tooltip } from '@heroui/react' -import { - AgentConfiguration, - AgentConfigurationSchema, - GetAgentResponse, - UpdateAgentForm -} from '@renderer/types' +import { AgentConfiguration, AgentConfigurationSchema, GetAgentResponse, UpdateAgentForm } from '@renderer/types' import { Info } from 'lucide-react' import { useCallback, useEffect, useState } from 'react' import { useTranslation } from 'react-i18next' @@ -83,9 +78,7 @@ export const AgentAdvanceSettings: React.FC = ({ agen }} aria-label={t('agent.settings.advance.maxTurns.label')} /> - - {t('agent.settings.advance.maxTurns.helper')} - + {t('agent.settings.advance.maxTurns.helper')} From 59b6cbc23cebb0baf6d6f890ae1c01451f3968d4 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Tue, 23 Sep 2025 04:32:42 +0000 Subject: [PATCH 2/2] fix(i18n): Auto update translations for PR #10096 --- src/renderer/src/i18n/translate/el-gr.json | 102 ++++++++++----------- src/renderer/src/i18n/translate/es-es.json | 100 ++++++++++---------- src/renderer/src/i18n/translate/fr-fr.json | 102 ++++++++++----------- src/renderer/src/i18n/translate/ja-jp.json | 98 ++++++++++---------- src/renderer/src/i18n/translate/pt-pt.json | 102 ++++++++++----------- src/renderer/src/i18n/translate/ru-ru.json | 102 ++++++++++----------- 6 files changed, 303 insertions(+), 303 deletions(-) diff --git a/src/renderer/src/i18n/translate/el-gr.json b/src/renderer/src/i18n/translate/el-gr.json index 1de2de9b04..e7e19fe7c4 100644 --- a/src/renderer/src/i18n/translate/el-gr.json +++ b/src/renderer/src/i18n/translate/el-gr.json @@ -47,8 +47,8 @@ "allowed_tools": { "empty": "Δεν υπάρχουν διαθέσιμα εργαλεία για αυτόν τον agent.", "helper": "Επιλέξτε ποια εργαλεία είναι προεγκεκριμένα. Τα μη επιλεγμένα θα χρειαστούν έγκριση πριν από τη χρήση.", - "label": "[to be translated]:Pre-approved tools", - "placeholder": "[to be translated]:Select pre-approved tools" + "label": "Προεγκεκριμένα εργαλεία", + "placeholder": "Επιλέξτε προεγκεκριμένα εργαλεία" }, "create": { "error": { @@ -82,95 +82,95 @@ "settings": { "advance": { "maxTurns": { - "description": "[to be translated]:设定代理自动执行的请求/回复轮次数。", - "helper": "[to be translated]:数值越高可自主运行越久;数值越低更易控制。", - "label": "[to be translated]:会话轮次数上限" + "description": "Ορίστε τον αριθμό γύρων αιτήματος/απάντησης που θα εκτελούνται αυτόματα από τον διαμεσολαβητή.", + "helper": "Όσο υψηλότερη είναι η τιμή, τόσο περισσότερο μπορεί να λειτουργεί αυτόνομα· όσο χαμηλότερη είναι, τόσο πιο εύκολα ελέγχεται.", + "label": "Όριο αριθμού γύρων συνεδρίας" }, "permissionMode": { - "description": "[to be translated]:控制代理在需要授权时的处理方式。", - "label": "[to be translated]:权限模式", + "description": "Ο τρόπος με τον οποίο ο πληρεξούσιος ελεγκτής χειρίζεται την κατάσταση όταν απαιτείται εξουσιοδότηση.", + "label": "Λειτουργία δικαιωμάτων", "options": { - "acceptEdits": "[to be translated]:自动接受编辑", - "bypassPermissions": "[to be translated]:跳过权限检查", - "default": "[to be translated]:默认(继续前询问)", - "plan": "[to be translated]:规划模式(需审批计划)" + "acceptEdits": "Αυτόματη αποδοχή επεξεργασίας", + "bypassPermissions": "παράλειψη ελέγχου δικαιωμάτων", + "default": "Προεπιλογή (να ερωτηθεί πριν από τη συνέχεια)", + "plan": "Λειτουργία σχεδιασμού (απαιτείται έγκριση σχεδίου)" }, - "placeholder": "[to be translated]:选择权限模式" + "placeholder": "Επιλέξτε λειτουργία δικαιωμάτων" }, - "title": "[to be translated]:高级设置" + "title": "Ρυθμίσεις για προχωρημένους" }, "essential": "Βασικές Ρυθμίσεις", "mcps": "Διακομιστής MCP", "prompt": "Ρυθμίσεις Προτροπής", "tooling": { "mcp": { - "description": "[to be translated]:Connect MCP servers to unlock additional tools you can approve above.", - "empty": "[to be translated]:No MCP servers detected. Add one from the MCP settings page.", - "manageHint": "[to be translated]:Need advanced configuration? Visit Settings → MCP Servers.", - "toggle": "[to be translated]:Toggle {{name}}" + "description": "Συνδέστε διακομιστές MCP για να ξεκλειδώσετε πρόσθετα εργαλεία που μπορείτε να εγκρίνετε παραπάνω.", + "empty": "Δεν εντοπίστηκαν διακομιστές MCP. Προσθέστε έναν από τη σελίδα ρυθμίσεων MCP.", + "manageHint": "Χρειάζεστε προηγμένη διαμόρφωση; Επισκεφθείτε Ρυθμίσεις → Διακομιστές MCP.", + "toggle": "Εναλλαγή {{name}}" }, "permissionMode": { "acceptEdits": { - "behavior": "[to be translated]:Pre-approves trusted filesystem tools so edits run immediately.", - "description": "[to be translated]:File edits and filesystem operations are automatically approved.", - "title": "[to be translated]:Auto-accept file edits" + "behavior": "Προεγκρίνει αξιόπιστα εργαλεία συστήματος αρχείων ώστε οι επεξεργασίες να εκτελούνται αμέσως.", + "description": "Οι επεξεργασίες αρχείων και οι λειτουργίες του συστήματος αρχείων εγκρίνονται αυτόματα.", + "title": "Αυτόματη αποδοχή επεξεργασιών αρχείων" }, "bypassPermissions": { - "behavior": "[to be translated]:Every tool is pre-approved automatically.", - "description": "[to be translated]:All permission prompts are skipped — use with caution.", - "title": "[to be translated]:Bypass permission checks", - "warning": "[to be translated]:Use with caution — all tools will run without asking for approval." + "behavior": "Κάθε εργαλείο εγκρίνεται αυτόματα εκ των προτέρων.", + "description": "Όλα τα αιτήματα άδειας παραλείπονται — χρησιμοποιήστε με προσοχή.", + "title": "Παράκαμψη ελέγχων αδειών", + "warning": "Χρησιμοποιήστε με προσοχή — όλα τα εργαλεία θα εκτελεστούν χωρίς να ζητηθεί έγκριση." }, "confirmChange": { - "description": "[to be translated]:Switching modes updates the automatically approved tools.", - "title": "[to be translated]:Change permission mode?" + "description": "Η αλλαγή λειτουργιών ενημερώνει τα εργαλεία που εγκρίνονται αυτόματα.", + "title": "Αλλαγή λειτουργίας δικαιωμάτων;" }, "default": { - "behavior": "[to be translated]:No tools are pre-approved automatically.", - "description": "[to be translated]:Normal permission checks apply.", - "title": "[to be translated]:Default (ask before continuing)" + "behavior": "Κανένα εργαλείο δεν εγκρίνεται αυτόματα εκ των προτέρων.", + "description": "Ισχύουν οι κανονικοί έλεγχοι δικαιωμάτων.", + "title": "Προεπιλογή (να ερωτηθώ πριν συνεχίσω)" }, "plan": { - "behavior": "[to be translated]:Read-only tools only. Execution is disabled.", - "description": "[to be translated]:Claude can only use read-only tools and presents a plan before execution.", - "title": "[to be translated]:Planning mode (coming soon)" + "behavior": "Μόνο εργαλεία μόνο για ανάγνωση. Η εκτέλεση είναι απενεργοποιημένη.", + "description": "Ο Claude μπορεί να χρησιμοποιεί μόνο εργαλεία μόνο για ανάγνωση και παρουσιάζει ένα σχέδιο πριν από την εκτέλεση.", + "title": "Λειτουργία σχεδιασμού (έρχεται σύντομα)" } }, "preapproved": { - "autoBadge": "[to be translated]:Added by mode", - "autoDescription": "[to be translated]:This tool is auto-approved by the current permission mode.", - "empty": "[to be translated]:No tools match your filters.", - "mcpBadge": "[to be translated]:MCP tool", - "requiresApproval": "[to be translated]:Requires approval when disabled", - "search": "[to be translated]:Search tools", - "toggle": "[to be translated]:Toggle {{name}}", + "autoBadge": "Προστέθηκε από τη λειτουργία", + "autoDescription": "Αυτό το εργαλείο έχει εγκριθεί αυτόματα από την τρέχουσα λειτουργία δικαιωμάτων.", + "empty": "Δεν υπάρχουν εργαλεία που να ταιριάζουν με τα φίλτρα σας.", + "mcpBadge": "εργαλείο MCP", + "requiresApproval": "Απαιτείται έγκριση όταν είναι απενεργοποιημένο", + "search": "Εργαλεία αναζήτησης", + "toggle": "Εναλλαγή {{name}}", "warning": { - "description": "[to be translated]:Enable only tools you trust. Mode defaults are highlighted automatically.", - "title": "[to be translated]:Pre-approved tools run without manual review." + "description": "Ενεργοποιήστε μόνο εργαλεία που εμπιστεύεστε. Οι προεπιλογές λειτουργίας τονίζονται αυτόματα.", + "title": "Τα προεγκεκριμένα εργαλεία εκτελούνται χωρίς χειροκίνητη αναθεώρηση." } }, "review": { - "autoTools": "[to be translated]:Auto: {{count}}", - "customTools": "[to be translated]:Custom: {{count}}", - "helper": "[to be translated]:Changes save automatically. Adjust the steps above any time to fine-tune permissions.", - "mcp": "[to be translated]:MCP: {{count}}", - "mode": "[to be translated]:Mode: {{mode}}" + "autoTools": "Αυτόματο: {{count}}", + "customTools": "Προσαρμοσμένο: {{count}}", + "helper": "Οι αλλαγές αποθηκεύονται αυτόματα. Προσαρμόστε τα παραπάνω βήματα ανά πάσα στιγμή για να εξειδικεύσετε τα δικαιώματα.", + "mcp": "MCP: {{count}}", + "mode": "Λειτουργία: {{mode}}" }, "steps": { "mcp": { - "title": "[to be translated]:MCP servers" + "title": "Διακομιστές MCP" }, "permissionMode": { - "title": "[to be translated]:Step 1 · Permission mode" + "title": "Βήμα 1 · Λειτουργία αδειών" }, "preapproved": { - "title": "[to be translated]:Step 2 · Pre-approved tools" + "title": "Βήμα 2 · Προεγκεκριμένα εργαλεία" }, "review": { - "title": "[to be translated]:Step 3 · Review" + "title": "Βήμα 3 · Ανασκόπηση" } }, - "tab": "[to be translated]:Tooling & permissions" + "tab": "Εργαλεία & άδειες" }, "tools": { "approved": "εγκεκριμένο", diff --git a/src/renderer/src/i18n/translate/es-es.json b/src/renderer/src/i18n/translate/es-es.json index dfddab539d..7c7cacfca6 100644 --- a/src/renderer/src/i18n/translate/es-es.json +++ b/src/renderer/src/i18n/translate/es-es.json @@ -47,8 +47,8 @@ "allowed_tools": { "empty": "No hay herramientas disponibles para este agente.", "helper": "Elige qué herramientas quedan preaprobadas. Las no seleccionadas requerirán aprobación manual antes de usarse.", - "label": "[to be translated]:Pre-approved tools", - "placeholder": "[to be translated]:Select pre-approved tools" + "label": "Herramientas preaprobadas", + "placeholder": "Seleccionar herramientas preaprobadas" }, "create": { "error": { @@ -82,95 +82,95 @@ "settings": { "advance": { "maxTurns": { - "description": "[to be translated]:设定代理自动执行的请求/回复轮次数。", - "helper": "[to be translated]:数值越高可自主运行越久;数值越低更易控制。", - "label": "[to be translated]:会话轮次数上限" + "description": "Establece el número de rondas de solicitud/respuesta que el agente ejecutará automáticamente.", + "helper": "Cuanto mayor es el valor, más tiempo puede funcionar de forma autónoma; cuanto menor es el valor, más fácil es de controlar.", + "label": "Límite máximo de turnos de conversación" }, "permissionMode": { - "description": "[to be translated]:控制代理在需要授权时的处理方式。", - "label": "[to be translated]:权限模式", + "description": "Cómo el agente de control maneja las situaciones que requieren autorización.", + "label": "modo de permisos", "options": { - "acceptEdits": "[to be translated]:自动接受编辑", - "bypassPermissions": "[to be translated]:跳过权限检查", - "default": "[to be translated]:默认(继续前询问)", - "plan": "[to be translated]:规划模式(需审批计划)" + "acceptEdits": "Aceptar ediciones automáticamente", + "bypassPermissions": "Omitir verificación de permisos", + "default": "Predeterminado (preguntar antes de continuar)", + "plan": "Modo de planificación (requiere aprobación del plan)" }, - "placeholder": "[to be translated]:选择权限模式" + "placeholder": "Seleccionar modo de permisos" }, - "title": "[to be translated]:高级设置" + "title": "Configuración avanzada" }, "essential": "Configuraciones esenciales", "mcps": "Servidor MCP", "prompt": "Configuración de indicaciones", "tooling": { "mcp": { - "description": "[to be translated]:Connect MCP servers to unlock additional tools you can approve above.", - "empty": "[to be translated]:No MCP servers detected. Add one from the MCP settings page.", - "manageHint": "[to be translated]:Need advanced configuration? Visit Settings → MCP Servers.", - "toggle": "[to be translated]:Toggle {{name}}" + "description": "Conecta servidores MCP para desbloquear herramientas adicionales que puedes aprobar arriba.", + "empty": "No se detectaron servidores MCP. Añade uno desde la página de configuración de MCP.", + "manageHint": "¿Necesitas configuración avanzada? Visita Configuración → Servidores MCP.", + "toggle": "Alternar {{name}}" }, "permissionMode": { "acceptEdits": { - "behavior": "[to be translated]:Pre-approves trusted filesystem tools so edits run immediately.", - "description": "[to be translated]:File edits and filesystem operations are automatically approved.", - "title": "[to be translated]:Auto-accept file edits" + "behavior": "Preaprueba herramientas de sistema de archivos de confianza para que las ediciones se ejecuten inmediatamente.", + "description": "Las ediciones de archivos y las operaciones del sistema de archivos se aprueban automáticamente.", + "title": "Aceptar automáticamente las ediciones de archivos" }, "bypassPermissions": { - "behavior": "[to be translated]:Every tool is pre-approved automatically.", - "description": "[to be translated]:All permission prompts are skipped — use with caution.", - "title": "[to be translated]:Bypass permission checks", - "warning": "[to be translated]:Use with caution — all tools will run without asking for approval." + "behavior": "Cada herramienta está pre-aprobada automáticamente.", + "description": "Todos los mensajes de permiso se omiten — úsalo con precaución.", + "title": "Omitir verificaciones de permisos", + "warning": "Usar con precaución: todas las herramientas se ejecutarán sin pedir aprobación." }, "confirmChange": { - "description": "[to be translated]:Switching modes updates the automatically approved tools.", - "title": "[to be translated]:Change permission mode?" + "description": "Cambiar de modo actualiza las herramientas aprobadas automáticamente.", + "title": "¿Cambiar modo de permisos?" }, "default": { - "behavior": "[to be translated]:No tools are pre-approved automatically.", - "description": "[to be translated]:Normal permission checks apply.", - "title": "[to be translated]:Default (ask before continuing)" + "behavior": "No se aprueban herramientas automáticamente de antemano.", + "description": "Se aplican los controles de permisos normales.", + "title": "Predeterminado (preguntar antes de continuar)" }, "plan": { - "behavior": "[to be translated]:Read-only tools only. Execution is disabled.", - "description": "[to be translated]:Claude can only use read-only tools and presents a plan before execution.", + "behavior": "Solo herramientas de solo lectura. La ejecución está deshabilitada.", + "description": "Claude solo puede usar herramientas de solo lectura y presenta un plan antes de ejecutarlo.", "title": "[to be translated]:Planning mode (coming soon)" } }, "preapproved": { - "autoBadge": "[to be translated]:Added by mode", - "autoDescription": "[to be translated]:This tool is auto-approved by the current permission mode.", - "empty": "[to be translated]:No tools match your filters.", - "mcpBadge": "[to be translated]:MCP tool", - "requiresApproval": "[to be translated]:Requires approval when disabled", - "search": "[to be translated]:Search tools", - "toggle": "[to be translated]:Toggle {{name}}", + "autoBadge": "Añadido por modo", + "autoDescription": "Esta herramienta está aprobada automáticamente por el modo de permisos actual.", + "empty": "Ninguna herramienta coincide con tus filtros.", + "mcpBadge": "herramienta MCP", + "requiresApproval": "Requiere aprobación cuando está deshabilitado", + "search": "Herramientas de búsqueda", + "toggle": "Alternar {{name}}", "warning": { - "description": "[to be translated]:Enable only tools you trust. Mode defaults are highlighted automatically.", - "title": "[to be translated]:Pre-approved tools run without manual review." + "description": "Habilita solo las herramientas en las que confíes. Los valores predeterminados del modo se resaltan automáticamente.", + "title": "Herramientas preaprobadas se ejecutan sin revisión manual." } }, "review": { - "autoTools": "[to be translated]:Auto: {{count}}", - "customTools": "[to be translated]:Custom: {{count}}", - "helper": "[to be translated]:Changes save automatically. Adjust the steps above any time to fine-tune permissions.", - "mcp": "[to be translated]:MCP: {{count}}", - "mode": "[to be translated]:Mode: {{mode}}" + "autoTools": "Auto: {{count}}", + "customTools": "Personalizado: {{count}}", + "helper": "Los cambios se guardan automáticamente. Ajusta los pasos anteriores en cualquier momento para afinar los permisos.", + "mcp": "MCP: {{count}}", + "mode": "Modo: {{mode}}" }, "steps": { "mcp": { - "title": "[to be translated]:MCP servers" + "title": "servidores MCP" }, "permissionMode": { - "title": "[to be translated]:Step 1 · Permission mode" + "title": "Paso 1 · Modo de permiso" }, "preapproved": { - "title": "[to be translated]:Step 2 · Pre-approved tools" + "title": "Paso 2 · Herramientas preaprobadas" }, "review": { - "title": "[to be translated]:Step 3 · Review" + "title": "Paso 3 · Revisar" } }, - "tab": "[to be translated]:Tooling & permissions" + "tab": "Herramientas y permisos" }, "tools": { "approved": "aprobado", diff --git a/src/renderer/src/i18n/translate/fr-fr.json b/src/renderer/src/i18n/translate/fr-fr.json index 43bbd5b0fe..c60e674419 100644 --- a/src/renderer/src/i18n/translate/fr-fr.json +++ b/src/renderer/src/i18n/translate/fr-fr.json @@ -47,8 +47,8 @@ "allowed_tools": { "empty": "Aucun outil disponible pour cet agent.", "helper": "Choisissez les outils préapprouvés. Les outils non sélectionnés nécessiteront une approbation avant utilisation.", - "label": "[to be translated]:Pre-approved tools", - "placeholder": "[to be translated]:Select pre-approved tools" + "label": "Outils pré-approuvés", + "placeholder": "Sélectionner des outils pré-approuvés" }, "create": { "error": { @@ -82,95 +82,95 @@ "settings": { "advance": { "maxTurns": { - "description": "[to be translated]:设定代理自动执行的请求/回复轮次数。", - "helper": "[to be translated]:数值越高可自主运行越久;数值越低更易控制。", - "label": "[to be translated]:会话轮次数上限" + "description": "Définir le nombre de cycles de requête/réponse exécutés automatiquement par l'agent.", + "helper": "Une valeur plus élevée permet une autonomie prolongée ; une valeur plus faible facilite le contrôle.", + "label": "Limite maximale de tours de conversation" }, "permissionMode": { - "description": "[to be translated]:控制代理在需要授权时的处理方式。", - "label": "[to be translated]:权限模式", + "description": "Contrôle la manière dont l'agent gère les demandes d'autorisation.", + "label": "mode d'autorisation", "options": { - "acceptEdits": "[to be translated]:自动接受编辑", - "bypassPermissions": "[to be translated]:跳过权限检查", - "default": "[to be translated]:默认(继续前询问)", - "plan": "[to be translated]:规划模式(需审批计划)" + "acceptEdits": "Accepter automatiquement les modifications", + "bypassPermissions": "Passer la vérification des autorisations", + "default": "Par défaut (demander avant de continuer)", + "plan": "Mode de planification (plan soumis à approbation)" }, - "placeholder": "[to be translated]:选择权限模式" + "placeholder": "Choisir le mode d'autorisation" }, - "title": "[to be translated]:高级设置" + "title": "Paramètres avancés" }, "essential": "Paramètres essentiels", "mcps": "Serveur MCP", "prompt": "Paramètres de l'invite", "tooling": { "mcp": { - "description": "[to be translated]:Connect MCP servers to unlock additional tools you can approve above.", - "empty": "[to be translated]:No MCP servers detected. Add one from the MCP settings page.", - "manageHint": "[to be translated]:Need advanced configuration? Visit Settings → MCP Servers.", - "toggle": "[to be translated]:Toggle {{name}}" + "description": "Connectez des serveurs MCP pour débloquer des outils supplémentaires que vous pouvez approuver ci-dessus.", + "empty": "Aucun serveur MCP détecté. Ajoutez-en un depuis la page des paramètres MCP.", + "manageHint": "Besoin d'une configuration avancée ? Visitez Paramètres → Serveurs MCP.", + "toggle": "Basculer {{name}}" }, "permissionMode": { "acceptEdits": { - "behavior": "[to be translated]:Pre-approves trusted filesystem tools so edits run immediately.", - "description": "[to be translated]:File edits and filesystem operations are automatically approved.", - "title": "[to be translated]:Auto-accept file edits" + "behavior": "Pré-approuve les outils de système de fichiers de confiance afin que les modifications s'exécutent immédiatement.", + "description": "Les modifications de fichiers et les opérations sur le système de fichiers sont automatiquement approuvées.", + "title": "Accepter automatiquement les modifications de fichiers" }, "bypassPermissions": { - "behavior": "[to be translated]:Every tool is pre-approved automatically.", - "description": "[to be translated]:All permission prompts are skipped — use with caution.", - "title": "[to be translated]:Bypass permission checks", - "warning": "[to be translated]:Use with caution — all tools will run without asking for approval." + "behavior": "Chaque outil est pré-approuvé automatiquement.", + "description": "Toutes les demandes de permission sont ignorées — à utiliser avec prudence.", + "title": "Contourner les vérifications de permission", + "warning": "Utiliser avec prudence — tous les outils s'exécuteront sans demander d'approbation." }, "confirmChange": { - "description": "[to be translated]:Switching modes updates the automatically approved tools.", - "title": "[to be translated]:Change permission mode?" + "description": "Le changement de mode met à jour les outils approuvés automatiquement.", + "title": "Changer le mode d'autorisation ?" }, "default": { - "behavior": "[to be translated]:No tools are pre-approved automatically.", - "description": "[to be translated]:Normal permission checks apply.", - "title": "[to be translated]:Default (ask before continuing)" + "behavior": "Aucun outil n’est pré-approuvé automatiquement.", + "description": "Les vérifications d'autorisation normales s'appliquent.", + "title": "Par défaut (demander avant de continuer)" }, "plan": { - "behavior": "[to be translated]:Read-only tools only. Execution is disabled.", - "description": "[to be translated]:Claude can only use read-only tools and presents a plan before execution.", - "title": "[to be translated]:Planning mode (coming soon)" + "behavior": "Outils en lecture seule uniquement. L'exécution est désactivée.", + "description": "Claude ne peut utiliser que des outils en lecture seule et présente un plan avant l'exécution.", + "title": "Mode de planification (à venir)" } }, "preapproved": { - "autoBadge": "[to be translated]:Added by mode", - "autoDescription": "[to be translated]:This tool is auto-approved by the current permission mode.", - "empty": "[to be translated]:No tools match your filters.", - "mcpBadge": "[to be translated]:MCP tool", - "requiresApproval": "[to be translated]:Requires approval when disabled", - "search": "[to be translated]:Search tools", - "toggle": "[to be translated]:Toggle {{name}}", + "autoBadge": "Ajouté par mode", + "autoDescription": "Cet outil est automatiquement approuvé par le mode d'autorisation actuel.", + "empty": "Aucun outil ne correspond à vos filtres.", + "mcpBadge": "outil MCP", + "requiresApproval": "Nécessite une approbation lorsqu’il est désactivé", + "search": "Outils de recherche", + "toggle": "Basculer {{name}}", "warning": { - "description": "[to be translated]:Enable only tools you trust. Mode defaults are highlighted automatically.", - "title": "[to be translated]:Pre-approved tools run without manual review." + "description": "Activez uniquement les outils en lesquels vous avez confiance. Les paramètres par défaut du mode sont mis en surbrillance automatiquement.", + "title": "Les outils pré-approuvés s'exécutent sans révision manuelle." } }, "review": { - "autoTools": "[to be translated]:Auto: {{count}}", - "customTools": "[to be translated]:Custom: {{count}}", - "helper": "[to be translated]:Changes save automatically. Adjust the steps above any time to fine-tune permissions.", - "mcp": "[to be translated]:MCP: {{count}}", - "mode": "[to be translated]:Mode: {{mode}}" + "autoTools": "Auto : {{count}}", + "customTools": "Personnalisé : {{count}}", + "helper": "Les modifications sont enregistrées automatiquement. Ajustez les étapes ci-dessus à tout moment pour affiner les autorisations.", + "mcp": "MCP : {{count}}", + "mode": "Mode : {{mode}}" }, "steps": { "mcp": { - "title": "[to be translated]:MCP servers" + "title": "Serveurs MCP" }, "permissionMode": { - "title": "[to be translated]:Step 1 · Permission mode" + "title": "Étape 1 · Mode d’autorisation" }, "preapproved": { - "title": "[to be translated]:Step 2 · Pre-approved tools" + "title": "Étape 2 · Outils pré-approuvés" }, "review": { - "title": "[to be translated]:Step 3 · Review" + "title": "Étape 3 · Révision" } }, - "tab": "[to be translated]:Tooling & permissions" + "tab": "Outils et autorisations" }, "tools": { "approved": "approuvé", diff --git a/src/renderer/src/i18n/translate/ja-jp.json b/src/renderer/src/i18n/translate/ja-jp.json index 064300b383..3661d13605 100644 --- a/src/renderer/src/i18n/translate/ja-jp.json +++ b/src/renderer/src/i18n/translate/ja-jp.json @@ -82,95 +82,95 @@ "settings": { "advance": { "maxTurns": { - "description": "[to be translated]:设定代理自动执行的请求/回复轮次数。", - "helper": "[to be translated]:数值越高可自主运行越久;数值越低更易控制。", - "label": "[to be translated]:会话轮次数上限" + "description": "プロキシが自動的に実行するリクエスト/レスポンスのラウンド数を設定します。", + "helper": "数値が高いほど自律動作の時間が長くなり、数値が低いほど制御しやすくなります。", + "label": "会話ラウンド数の上限" }, "permissionMode": { - "description": "[to be translated]:控制代理在需要授权时的处理方式。", - "label": "[to be translated]:权限模式", + "description": "制御エージェントが認可を必要とする場合の処理方法。", + "label": "権限モード", "options": { - "acceptEdits": "[to be translated]:自动接受编辑", - "bypassPermissions": "[to be translated]:跳过权限检查", - "default": "[to be translated]:默认(继续前询问)", - "plan": "[to be translated]:规划模式(需审批计划)" + "acceptEdits": "自動的に編集を受け入れる", + "bypassPermissions": "権限チェックをスキップ", + "default": "デフォルト(続行する前に確認)", + "plan": "計画モード(承認が必要な計画)" }, - "placeholder": "[to be translated]:选择权限模式" + "placeholder": "権限モードを選択" }, - "title": "[to be translated]:高级设置" + "title": "高級設定" }, "essential": "必須設定", "mcps": "MCPサーバー", "prompt": "プロンプト設定", "tooling": { "mcp": { - "description": "[to be translated]:Connect MCP servers to unlock additional tools you can approve above.", - "empty": "[to be translated]:No MCP servers detected. Add one from the MCP settings page.", - "manageHint": "[to be translated]:Need advanced configuration? Visit Settings → MCP Servers.", - "toggle": "[to be translated]:Toggle {{name}}" + "description": "MCPサーバーを接続して、上で承認できる追加ツールを解放します。", + "empty": "MCPサーバーが検出されませんでした。MCP設定ページから追加してください。", + "manageHint": "高度な設定が必要ですか?設定 → MCPサーバーにアクセスしてください。", + "toggle": "{{name}}を切り替え" }, "permissionMode": { "acceptEdits": { - "behavior": "[to be translated]:Pre-approves trusted filesystem tools so edits run immediately.", - "description": "[to be translated]:File edits and filesystem operations are automatically approved.", - "title": "[to be translated]:Auto-accept file edits" + "behavior": "信頼できるファイルシステムツールを事前に承認し、編集が即座に実行されるようにします。", + "description": "ファイルの編集とファイルシステムの操作は自動的に承認されます。", + "title": "ファイル編集を自動承認" }, "bypassPermissions": { - "behavior": "[to be translated]:Every tool is pre-approved automatically.", - "description": "[to be translated]:All permission prompts are skipped — use with caution.", - "title": "[to be translated]:Bypass permission checks", - "warning": "[to be translated]:Use with caution — all tools will run without asking for approval." + "behavior": "すべてのツールは自動的に事前承認されます。", + "description": "すべての権限プロンプトはスキップされます — 注意して使用してください。", + "title": "権限チェックをバイパス", + "warning": "注意して使用してください — すべてのツールは承認なしで実行されます。" }, "confirmChange": { - "description": "[to be translated]:Switching modes updates the automatically approved tools.", - "title": "[to be translated]:Change permission mode?" + "description": "モードを切り替えると、自動承認されたツールが更新されます。", + "title": "パーミッションモードを変更しますか?" }, "default": { - "behavior": "[to be translated]:No tools are pre-approved automatically.", - "description": "[to be translated]:Normal permission checks apply.", - "title": "[to be translated]:Default (ask before continuing)" + "behavior": "ツールは自動的に事前承認されません。", + "description": "通常の権限チェックが適用されます。", + "title": "デフォルト(続行する前に確認)" }, "plan": { - "behavior": "[to be translated]:Read-only tools only. Execution is disabled.", - "description": "[to be translated]:Claude can only use read-only tools and presents a plan before execution.", - "title": "[to be translated]:Planning mode (coming soon)" + "behavior": "読み取り専用ツールのみ。実行は無効です。", + "description": "Claudeは読み取り専用ツールのみを使用し、実行前に計画を提示します。", + "title": "計画モード(近日公開)" } }, "preapproved": { - "autoBadge": "[to be translated]:Added by mode", - "autoDescription": "[to be translated]:This tool is auto-approved by the current permission mode.", - "empty": "[to be translated]:No tools match your filters.", - "mcpBadge": "[to be translated]:MCP tool", - "requiresApproval": "[to be translated]:Requires approval when disabled", - "search": "[to be translated]:Search tools", - "toggle": "[to be translated]:Toggle {{name}}", + "autoBadge": "モードによって追加されました", + "autoDescription": "このツールは現在の権限モードによって自動承認されています。", + "empty": "フィルターに一致するツールはありません。", + "mcpBadge": "MCPツール", + "requiresApproval": "無効にするには承認が必要", + "search": "検索ツール", + "toggle": "{{name}}を切り替える", "warning": { - "description": "[to be translated]:Enable only tools you trust. Mode defaults are highlighted automatically.", - "title": "[to be translated]:Pre-approved tools run without manual review." + "description": "信頼できるツールのみを有効にしてください。モードのデフォルトは自動的に強調表示されます。", + "title": "事前承認されたツールは手動でのレビューなしに実行されます。" } }, "review": { - "autoTools": "[to be translated]:Auto: {{count}}", - "customTools": "[to be translated]:Custom: {{count}}", - "helper": "[to be translated]:Changes save automatically. Adjust the steps above any time to fine-tune permissions.", - "mcp": "[to be translated]:MCP: {{count}}", - "mode": "[to be translated]:Mode: {{mode}}" + "autoTools": "自動: {{count}}", + "customTools": "カスタム: {{count}}", + "helper": "変更は自動的に保存されます。権限を微調整するには、上記の手順をいつでも調整してください。", + "mcp": "MCP: {{count}}", + "mode": "モード: {{mode}}" }, "steps": { "mcp": { - "title": "[to be translated]:MCP servers" + "title": "MCPサーバー" }, "permissionMode": { - "title": "[to be translated]:Step 1 · Permission mode" + "title": "ステップ1・権限モード" }, "preapproved": { - "title": "[to be translated]:Step 2 · Pre-approved tools" + "title": "ステップ2・事前承認済みツール" }, "review": { - "title": "[to be translated]:Step 3 · Review" + "title": "ステップ3・レビュー" } }, - "tab": "[to be translated]:Tooling & permissions" + "tab": "ツールと権限" }, "tools": { "approved": "承認済み", diff --git a/src/renderer/src/i18n/translate/pt-pt.json b/src/renderer/src/i18n/translate/pt-pt.json index 3a2b4a1487..f70d79a7df 100644 --- a/src/renderer/src/i18n/translate/pt-pt.json +++ b/src/renderer/src/i18n/translate/pt-pt.json @@ -47,8 +47,8 @@ "allowed_tools": { "empty": "Não há ferramentas disponíveis para este agente.", "helper": "Escolha quais ferramentas ficam pré-autorizadas. As não selecionadas exigirão aprovação antes do uso.", - "label": "[to be translated]:Pre-approved tools", - "placeholder": "[to be translated]:Select pre-approved tools" + "label": "Ferramentas pré-aprovadas", + "placeholder": "Selecionar ferramentas pré-aprovadas" }, "create": { "error": { @@ -82,95 +82,95 @@ "settings": { "advance": { "maxTurns": { - "description": "[to be translated]:设定代理自动执行的请求/回复轮次数。", - "helper": "[to be translated]:数值越高可自主运行越久;数值越低更易控制。", - "label": "[to be translated]:会话轮次数上限" + "description": "Defina o número de ciclos de solicitação/resposta executados automaticamente pelo agente.", + "helper": "Quanto maior o valor, mais tempo pode funcionar de forma autônoma; quanto menor o valor, mais fácil de controlar.", + "label": "Limite máximo de turnos de conversação" }, "permissionMode": { - "description": "[to be translated]:控制代理在需要授权时的处理方式。", - "label": "[to be translated]:权限模式", + "description": "Como o agente de controle lida com situações que exigem autorização.", + "label": "Modo de permissão", "options": { - "acceptEdits": "[to be translated]:自动接受编辑", - "bypassPermissions": "[to be translated]:跳过权限检查", - "default": "[to be translated]:默认(继续前询问)", - "plan": "[to be translated]:规划模式(需审批计划)" + "acceptEdits": "Aceitar edições automaticamente", + "bypassPermissions": "忽略检查 de permissão", + "default": "Padrão (perguntar antes de continuar)", + "plan": "Modo de planejamento (plano sujeito a aprovação)" }, - "placeholder": "[to be translated]:选择权限模式" + "placeholder": "Selecionar modo de permissão" }, - "title": "[to be translated]:高级设置" + "title": "Configurações avançadas" }, "essential": "Configurações Essenciais", "mcps": "Servidor MCP", "prompt": "Configurações de Prompt", "tooling": { "mcp": { - "description": "[to be translated]:Connect MCP servers to unlock additional tools you can approve above.", - "empty": "[to be translated]:No MCP servers detected. Add one from the MCP settings page.", - "manageHint": "[to be translated]:Need advanced configuration? Visit Settings → MCP Servers.", - "toggle": "[to be translated]:Toggle {{name}}" + "description": "Conecte servidores MCP para desbloquear ferramentas adicionais que você pode aprovar acima.", + "empty": "Nenhum servidor MCP detectado. Adicione um na página de configurações do MCP.", + "manageHint": "Precisa de configuração avançada? Visite Configurações → Servidores MCP.", + "toggle": "Alternar {{name}}" }, "permissionMode": { "acceptEdits": { - "behavior": "[to be translated]:Pre-approves trusted filesystem tools so edits run immediately.", - "description": "[to be translated]:File edits and filesystem operations are automatically approved.", - "title": "[to be translated]:Auto-accept file edits" + "behavior": "Pré-aplica ferramentas confiáveis do sistema de arquivos para que as edições sejam executadas imediatamente.", + "description": "As edições de arquivos e operações do sistema de arquivos são aprovadas automaticamente.", + "title": "Aceitar automaticamente edições de arquivos" }, "bypassPermissions": { - "behavior": "[to be translated]:Every tool is pre-approved automatically.", - "description": "[to be translated]:All permission prompts are skipped — use with caution.", - "title": "[to be translated]:Bypass permission checks", - "warning": "[to be translated]:Use with caution — all tools will run without asking for approval." + "behavior": "Cada ferramenta é pré-aprovada automaticamente.", + "description": "Todos os pedidos de permissão são ignorados — use com cautela.", + "title": "Ignorar verificações de permissão", + "warning": "Use com cautela — todas as ferramentas serão executadas sem solicitar aprovação." }, "confirmChange": { - "description": "[to be translated]:Switching modes updates the automatically approved tools.", - "title": "[to be translated]:Change permission mode?" + "description": "Alternar modos atualiza as ferramentas aprovadas automaticamente.", + "title": "Alterar modo de permissão?" }, "default": { - "behavior": "[to be translated]:No tools are pre-approved automatically.", - "description": "[to be translated]:Normal permission checks apply.", - "title": "[to be translated]:Default (ask before continuing)" + "behavior": "Nenhuma ferramenta é pré-aprovada automaticamente.", + "description": "Verificações normais de permissão aplicam-se.", + "title": "Padrão (perguntar antes de continuar)" }, "plan": { - "behavior": "[to be translated]:Read-only tools only. Execution is disabled.", - "description": "[to be translated]:Claude can only use read-only tools and presents a plan before execution.", - "title": "[to be translated]:Planning mode (coming soon)" + "behavior": "Ferramentas somente leitura. A execução está desabilitada.", + "description": "Claude só pode usar ferramentas de leitura e apresenta um plano antes da execução.", + "title": "Modo de planejamento (em breve)" } }, "preapproved": { - "autoBadge": "[to be translated]:Added by mode", - "autoDescription": "[to be translated]:This tool is auto-approved by the current permission mode.", - "empty": "[to be translated]:No tools match your filters.", - "mcpBadge": "[to be translated]:MCP tool", - "requiresApproval": "[to be translated]:Requires approval when disabled", - "search": "[to be translated]:Search tools", - "toggle": "[to be translated]:Toggle {{name}}", + "autoBadge": "Adicionado por modo", + "autoDescription": "Esta ferramenta é aprovada automaticamente pelo modo de permissão atual.", + "empty": "Nenhuma ferramenta corresponde aos seus filtros.", + "mcpBadge": "Ferramenta MCP", + "requiresApproval": "Requer aprovação quando desativado", + "search": "Ferramentas de pesquisa", + "toggle": "Alternar {{name}}", "warning": { - "description": "[to be translated]:Enable only tools you trust. Mode defaults are highlighted automatically.", - "title": "[to be translated]:Pre-approved tools run without manual review." + "description": "Ative apenas ferramentas em que confie. As configurações padrão do modo são destacadas automaticamente.", + "title": "Ferramentas pré-aprovadas são executadas sem revisão manual." } }, "review": { - "autoTools": "[to be translated]:Auto: {{count}}", - "customTools": "[to be translated]:Custom: {{count}}", - "helper": "[to be translated]:Changes save automatically. Adjust the steps above any time to fine-tune permissions.", - "mcp": "[to be translated]:MCP: {{count}}", - "mode": "[to be translated]:Mode: {{mode}}" + "autoTools": "Auto: {{count}}", + "customTools": "Personalizado: {{count}}", + "helper": "As alterações são salvas automaticamente. Ajuste as etapas acima a qualquer momento para refinar as permissões.", + "mcp": "MCP: {{count}}", + "mode": "Modo: {{mode}}" }, "steps": { "mcp": { - "title": "[to be translated]:MCP servers" + "title": "Servidores MCP" }, "permissionMode": { - "title": "[to be translated]:Step 1 · Permission mode" + "title": "Passo 1 · Modo de permissão" }, "preapproved": { - "title": "[to be translated]:Step 2 · Pre-approved tools" + "title": "Passo 2 · Ferramentas pré-aprovadas" }, "review": { - "title": "[to be translated]:Step 3 · Review" + "title": "Passo 3 · Revisão" } }, - "tab": "[to be translated]:Tooling & permissions" + "tab": "Ferramentas e permissões" }, "tools": { "approved": "aprovado", diff --git a/src/renderer/src/i18n/translate/ru-ru.json b/src/renderer/src/i18n/translate/ru-ru.json index ec384ffa39..1fcf5bed19 100644 --- a/src/renderer/src/i18n/translate/ru-ru.json +++ b/src/renderer/src/i18n/translate/ru-ru.json @@ -47,8 +47,8 @@ "allowed_tools": { "empty": "Для этого агента нет доступных инструментов.", "helper": "Выберите инструменты с предварительным допуском. Неотмеченные инструменты потребуют подтверждения перед использованием.", - "label": "[to be translated]:Pre-approved tools", - "placeholder": "[to be translated]:Select pre-approved tools" + "label": "Предварительно одобренные инструменты", + "placeholder": "Выберите предварительно одобренные инструменты" }, "create": { "error": { @@ -82,95 +82,95 @@ "settings": { "advance": { "maxTurns": { - "description": "[to be translated]:设定代理自动执行的请求/回复轮次数。", - "helper": "[to be translated]:数值越高可自主运行越久;数值越低更易控制。", - "label": "[to be translated]:会话轮次数上限" + "description": "Установить количество циклов запрос/ответ, выполняемых автоматически через прокси.", + "helper": "Чем выше значение, тем дольше может работать автономно; чем ниже значение, тем легче контролировать.", + "label": "Максимальное количество раундов сеанса" }, "permissionMode": { - "description": "[to be translated]:控制代理在需要授权时的处理方式。", - "label": "[to be translated]:权限模式", + "description": "Как агент управления обрабатывает ситуации, требующие авторизации.", + "label": "Режим разрешений", "options": { - "acceptEdits": "[to be translated]:自动接受编辑", - "bypassPermissions": "[to be translated]:跳过权限检查", - "default": "[to be translated]:默认(继续前询问)", - "plan": "[to be translated]:规划模式(需审批计划)" + "acceptEdits": "Автоматически принимать правки", + "bypassPermissions": "Пропустить проверку разрешений", + "default": "По умолчанию (спросить перед продолжением)", + "plan": "Режим планирования (требуется утверждение плана)" }, - "placeholder": "[to be translated]:选择权限模式" + "placeholder": "Выбрать режим разрешений" }, - "title": "[to be translated]:高级设置" + "title": "Расширенные настройки" }, "essential": "Основные настройки", "mcps": "MCP сервер", "prompt": "Настройки подсказки", "tooling": { "mcp": { - "description": "[to be translated]:Connect MCP servers to unlock additional tools you can approve above.", - "empty": "[to be translated]:No MCP servers detected. Add one from the MCP settings page.", - "manageHint": "[to be translated]:Need advanced configuration? Visit Settings → MCP Servers.", - "toggle": "[to be translated]:Toggle {{name}}" + "description": "Подключите серверы MCP, чтобы разблокировать дополнительные инструменты, которые вы можете одобрить выше.", + "empty": "Серверы MCP не обнаружены. Добавьте один на странице настроек MCP.", + "manageHint": "Нужна расширенная настройка? Перейдите в Настройки → Серверы MCP.", + "toggle": "Переключить {{name}}" }, "permissionMode": { "acceptEdits": { - "behavior": "[to be translated]:Pre-approves trusted filesystem tools so edits run immediately.", - "description": "[to be translated]:File edits and filesystem operations are automatically approved.", - "title": "[to be translated]:Auto-accept file edits" + "behavior": "Предварительно одобряет доверенные инструменты файловой системы, чтобы изменения выполнялись немедленно.", + "description": "Редактирование файлов и операции с файловой системой автоматически одобряются.", + "title": "Автоматически принимать изменения файлов" }, "bypassPermissions": { - "behavior": "[to be translated]:Every tool is pre-approved automatically.", - "description": "[to be translated]:All permission prompts are skipped — use with caution.", - "title": "[to be translated]:Bypass permission checks", - "warning": "[to be translated]:Use with caution — all tools will run without asking for approval." + "behavior": "Каждый инструмент автоматически предварительно одобрен.", + "description": "Все запросы разрешений пропускаются — используйте с осторожностью.", + "title": "Обход проверки разрешений", + "warning": "Использовать с осторожностью — все инструменты будут запущены без запроса подтверждения." }, "confirmChange": { - "description": "[to be translated]:Switching modes updates the automatically approved tools.", - "title": "[to be translated]:Change permission mode?" + "description": "Переключение режимов обновляет автоматически одобренные инструменты.", + "title": "Изменить режим разрешений?" }, "default": { - "behavior": "[to be translated]:No tools are pre-approved automatically.", - "description": "[to be translated]:Normal permission checks apply.", - "title": "[to be translated]:Default (ask before continuing)" + "behavior": "Никакие инструменты не предварительно одобряются автоматически.", + "description": "Применяются обычные проверки разрешений.", + "title": "По умолчанию (спросить перед продолжением)" }, "plan": { - "behavior": "[to be translated]:Read-only tools only. Execution is disabled.", - "description": "[to be translated]:Claude can only use read-only tools and presents a plan before execution.", - "title": "[to be translated]:Planning mode (coming soon)" + "behavior": "Только инструменты чтения. Выполнение отключено.", + "description": "Claude может использовать только инструменты только для чтения и представляет план перед выполнением.", + "title": "Режим планирования (скоро появится)" } }, "preapproved": { - "autoBadge": "[to be translated]:Added by mode", - "autoDescription": "[to be translated]:This tool is auto-approved by the current permission mode.", - "empty": "[to be translated]:No tools match your filters.", - "mcpBadge": "[to be translated]:MCP tool", - "requiresApproval": "[to be translated]:Requires approval when disabled", - "search": "[to be translated]:Search tools", - "toggle": "[to be translated]:Toggle {{name}}", + "autoBadge": "Добавлено режимом", + "autoDescription": "Этот инструмент автоматически одобрен текущим режимом разрешений.", + "empty": "Нет инструментов, соответствующих вашим фильтрам.", + "mcpBadge": "Инструмент MCP", + "requiresApproval": "Требует одобрения при отключении", + "search": "Инструменты поиска", + "toggle": "Переключить {{name}}", "warning": { - "description": "[to be translated]:Enable only tools you trust. Mode defaults are highlighted automatically.", - "title": "[to be translated]:Pre-approved tools run without manual review." + "description": "Включайте только те инструменты, которым доверяете. Настройки по умолчанию выделяются автоматически.", + "title": "Предварительно одобренные инструменты запускаются без ручной проверки." } }, "review": { - "autoTools": "[to be translated]:Auto: {{count}}", - "customTools": "[to be translated]:Custom: {{count}}", - "helper": "[to be translated]:Changes save automatically. Adjust the steps above any time to fine-tune permissions.", - "mcp": "[to be translated]:MCP: {{count}}", - "mode": "[to be translated]:Mode: {{mode}}" + "autoTools": "Авто: {{count}}", + "customTools": "Пользовательские: {{count}}", + "helper": "Изменения сохраняются автоматически. В любое время можно скорректировать шаги выше, чтобы уточнить разрешения.", + "mcp": "MCP: {{count}}", + "mode": "Режим: {{mode}}" }, "steps": { "mcp": { - "title": "[to be translated]:MCP servers" + "title": "Серверы MCP" }, "permissionMode": { - "title": "[to be translated]:Step 1 · Permission mode" + "title": "Шаг 1 · Режим разрешений" }, "preapproved": { - "title": "[to be translated]:Step 2 · Pre-approved tools" + "title": "Шаг 2 · Предварительно одобренные инструменты" }, "review": { - "title": "[to be translated]:Step 3 · Review" + "title": "Шаг 3 · Обзор" } }, - "tab": "[to be translated]:Tooling & permissions" + "tab": "Инструменты и разрешения" }, "tools": { "approved": "одобрено",