mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-25 03:10:08 +08:00
feat(i18n): add anthropic api host translations and permission mode fields
Add new translation fields for Anthropic API host configuration and permission mode settings in both zh-cn and en-us locales
This commit is contained in:
parent
86dde5dc0f
commit
ba7d5f53e5
@ -129,11 +129,14 @@
|
||||
"description": "Read-only tools are pre-approved; everything else still needs permission.",
|
||||
"title": "Default (ask before continuing)"
|
||||
},
|
||||
"helper": "Choose how the agent handles tool approvals.",
|
||||
"placeholder": "Select permission mode",
|
||||
"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"
|
||||
}
|
||||
},
|
||||
"title": "Permission mode"
|
||||
},
|
||||
"preapproved": {
|
||||
"autoBadge": "Added by mode",
|
||||
@ -3948,6 +3951,10 @@
|
||||
"start_auth": "Start authorization",
|
||||
"submit_code": "Complete login"
|
||||
},
|
||||
"anthropic_api_host": "Anthropic API Host",
|
||||
"anthropic_api_host_preview": "Anthropic preview: {{url}}",
|
||||
"anthropic_api_host_tip": "Only configure this when your provider exposes an Anthropic-compatible endpoint. Ending with / ignores v1, ending with # forces use of input address.",
|
||||
"anthropic_api_host_tooltip": "Use only when the provider offers a Claude-compatible base URL.",
|
||||
"api": {
|
||||
"key": {
|
||||
"check": {
|
||||
@ -3995,12 +4002,8 @@
|
||||
}
|
||||
},
|
||||
"api_host": "API Host",
|
||||
"api_host_tooltip": "Override only when your provider requires a custom OpenAI-compatible endpoint.",
|
||||
"api_host_preview": "Preview: {{url}}",
|
||||
"anthropic_api_host": "Anthropic API Host",
|
||||
"anthropic_api_host_tooltip": "Use only when the provider offers a Claude-compatible base URL.",
|
||||
"anthropic_api_host_preview": "Anthropic preview: {{url}}",
|
||||
"anthropic_api_host_tip": "Only configure this when your provider exposes an Anthropic-compatible endpoint. Ending with / ignores v1, ending with # forces use of input address.",
|
||||
"api_host_tooltip": "Override only when your provider requires a custom OpenAI-compatible endpoint.",
|
||||
"api_key": {
|
||||
"label": "API Key",
|
||||
"tip": "Multiple keys separated by commas or spaces"
|
||||
|
||||
@ -129,11 +129,14 @@
|
||||
"description": "只读工具会自动预先授权,其它操作仍需权限。",
|
||||
"title": "默认(继续前询问)"
|
||||
},
|
||||
"helper": "指定智能体如何处理工具使用授权",
|
||||
"placeholder": "选择权限模式",
|
||||
"plan": {
|
||||
"behavior": "默认的只读工具会自动预先授权,但执行仍被禁用。",
|
||||
"description": "继承默认的只读工具集,并会在执行前先呈现计划。",
|
||||
"title": "规划模式"
|
||||
}
|
||||
},
|
||||
"title": "权限模式"
|
||||
},
|
||||
"preapproved": {
|
||||
"autoBadge": "模式自动添加",
|
||||
@ -3948,6 +3951,10 @@
|
||||
"start_auth": "开始授权",
|
||||
"submit_code": "完成登录"
|
||||
},
|
||||
"anthropic_api_host": "Anthropic API 地址",
|
||||
"anthropic_api_host_preview": "Anthropic 预览:{{url}}",
|
||||
"anthropic_api_host_tip": "仅在服务商提供兼容 Anthropic 的地址时填写。以 / 结尾会忽略自动追加的 v1,以 # 结尾则强制使用原始地址。",
|
||||
"anthropic_api_host_tooltip": "仅当服务商提供 Claude 兼容的基础地址时填写。",
|
||||
"api": {
|
||||
"key": {
|
||||
"check": {
|
||||
@ -3995,12 +4002,8 @@
|
||||
}
|
||||
},
|
||||
"api_host": "API 地址",
|
||||
"api_host_tooltip": "仅在服务商需要自定义的 OpenAI 兼容地址时覆盖。",
|
||||
"api_host_preview": "预览:{{url}}",
|
||||
"anthropic_api_host": "Anthropic API 地址",
|
||||
"anthropic_api_host_tooltip": "仅当服务商提供 Claude 兼容的基础地址时填写。",
|
||||
"anthropic_api_host_preview": "Anthropic 预览:{{url}}",
|
||||
"anthropic_api_host_tip": "仅在服务商提供兼容 Anthropic 的地址时填写。以 / 结尾会忽略自动追加的 v1,以 # 结尾则强制使用原始地址。",
|
||||
"api_host_tooltip": "仅在服务商需要自定义的 OpenAI 兼容地址时覆盖。",
|
||||
"api_key": {
|
||||
"label": "API 密钥",
|
||||
"tip": "多个密钥使用逗号或空格分隔"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user