fix: localize agnet form field labels
This commit is contained in:
+1
-1
@@ -1 +1 @@
|
||||
1.4.15
|
||||
1.4.16
|
||||
|
||||
+9
-9
@@ -905,7 +905,7 @@ export function CreateAgnetDeploymentSheet({
|
||||
/>
|
||||
</div>
|
||||
<div className='grid gap-2'>
|
||||
<Label>correlation_id</Label>
|
||||
<Label>{t('Correlation ID')}</Label>
|
||||
<Input
|
||||
value={correlationId}
|
||||
onChange={(e) => setCorrelationId(e.target.value)}
|
||||
@@ -1100,7 +1100,7 @@ export function CreateAgnetDeploymentSheet({
|
||||
</SelectContent>
|
||||
</Select>
|
||||
<Input
|
||||
placeholder='resource_id'
|
||||
placeholder={t('Resource ID')}
|
||||
value={agent.resource_id}
|
||||
onChange={(e) => {
|
||||
setPermissionConfirmed(false)
|
||||
@@ -1111,7 +1111,7 @@ export function CreateAgnetDeploymentSheet({
|
||||
className='font-mono text-xs'
|
||||
/>
|
||||
<Input
|
||||
placeholder='binding_scope'
|
||||
placeholder={t('Binding scope')}
|
||||
value={agent.binding_scope}
|
||||
onChange={(e) => {
|
||||
setPermissionConfirmed(false)
|
||||
@@ -1122,7 +1122,7 @@ export function CreateAgnetDeploymentSheet({
|
||||
className='font-mono text-xs'
|
||||
/>
|
||||
<Input
|
||||
placeholder='permission_scope'
|
||||
placeholder={t('Permission scope')}
|
||||
value={agent.permission_scope}
|
||||
onChange={(e) => {
|
||||
setPermissionConfirmed(false)
|
||||
@@ -1133,7 +1133,7 @@ export function CreateAgnetDeploymentSheet({
|
||||
className='font-mono text-xs'
|
||||
/>
|
||||
<Input
|
||||
placeholder='constraints.ref'
|
||||
placeholder={t('Constraint ref')}
|
||||
value={agent.constraint_ref}
|
||||
onChange={(e) =>
|
||||
updateAgent(index, {
|
||||
@@ -1143,7 +1143,7 @@ export function CreateAgnetDeploymentSheet({
|
||||
className='font-mono text-xs'
|
||||
/>
|
||||
<Input
|
||||
placeholder='constraints.paths'
|
||||
placeholder={t('Allowed paths')}
|
||||
value={agent.constraint_paths}
|
||||
onChange={(e) =>
|
||||
updateAgent(index, {
|
||||
@@ -1155,7 +1155,7 @@ export function CreateAgnetDeploymentSheet({
|
||||
</div>
|
||||
<div className='grid gap-2 sm:grid-cols-3'>
|
||||
<Input
|
||||
placeholder='metadata.provider'
|
||||
placeholder={t('Metadata provider')}
|
||||
value={agent.metadata_provider}
|
||||
onChange={(e) =>
|
||||
updateAgent(index, {
|
||||
@@ -1165,7 +1165,7 @@ export function CreateAgnetDeploymentSheet({
|
||||
className='font-mono text-xs'
|
||||
/>
|
||||
<Input
|
||||
placeholder='metadata.resource_ref'
|
||||
placeholder={t('Metadata resource ref')}
|
||||
value={agent.metadata_ref}
|
||||
onChange={(e) =>
|
||||
updateAgent(index, {
|
||||
@@ -1175,7 +1175,7 @@ export function CreateAgnetDeploymentSheet({
|
||||
className='font-mono text-xs'
|
||||
/>
|
||||
<Input
|
||||
placeholder='secret_ref'
|
||||
placeholder={t('Secret ref')}
|
||||
value={agent.secret_ref}
|
||||
onChange={(e) => {
|
||||
setPermissionConfirmed(false)
|
||||
|
||||
+11
-3
@@ -477,6 +477,7 @@
|
||||
"Binding Information": "绑定信息",
|
||||
"Binding successful!": "绑定成功!",
|
||||
"Binding your {{provider}} account": "正在绑定您的 {{provider}} 账号",
|
||||
"Binding scope": "绑定作用域",
|
||||
"Binding...": "绑定中...",
|
||||
"Bindings": "绑定",
|
||||
"Blacklist": "黑名单",
|
||||
@@ -869,6 +870,7 @@
|
||||
"Copy this prompt and send it to an LLM (e.g. ChatGPT / Claude) to help design your billing expression.": "复制以下提示词发送给 LLM(如 ChatGPT / Claude),让它帮你设计计费表达式",
|
||||
"Copy to clipboard": "复制到剪贴板",
|
||||
"Copy token": "复制令牌",
|
||||
"Correlation ID": "链路追踪 ID",
|
||||
"Copy URL": "复制 URL",
|
||||
"Core Features": "核心功能",
|
||||
"Cost": "费用",
|
||||
@@ -1704,7 +1706,7 @@
|
||||
"Go to previous page": "前往上一页",
|
||||
"Go to settings": "前往设置",
|
||||
"Go to Settings": "前往设置",
|
||||
"Goal": "Agent 目标",
|
||||
"Goal": "智能体目标",
|
||||
"Good": "良好",
|
||||
"Gotify Application Token": "Gotify 应用令牌",
|
||||
"Gotify Documentation": "Gotify 文档",
|
||||
@@ -2093,6 +2095,8 @@
|
||||
"Merchant ID is required": "商户 ID 为必填项",
|
||||
"Message Priority": "消息优先级",
|
||||
"Metadata": "部署作用域",
|
||||
"Metadata provider": "元数据提供方",
|
||||
"Metadata resource ref": "元数据资源引用",
|
||||
"Midjourney": "Midjourney",
|
||||
"MidjourneyPlus": "MidjourneyPlus",
|
||||
"Min Top-up": "最低充值",
|
||||
@@ -3142,7 +3146,7 @@
|
||||
"Scope": "作用域",
|
||||
"scope": "作用域",
|
||||
"Scope / credential change": "范围 / 凭证变更",
|
||||
"Scope is metadata and secret_ref only. Plaintext credentials do not belong in this form.": "这里只填写 metadata 和 secret_ref,不能填写明文凭据。",
|
||||
"Scope is metadata and secret_ref only. Plaintext credentials do not belong in this form.": "这里只填写元数据和密钥引用,不能填写明文凭据。",
|
||||
"Scopes": "作用域",
|
||||
"Search": "搜索",
|
||||
"Search by name or URL...": "按名称或 URL 搜索...",
|
||||
@@ -3169,7 +3173,7 @@
|
||||
"Secret env (JSON object)": "密钥环境 (JSON 对象)",
|
||||
"Secret environment variables (JSON)": "密钥环境变量 (JSON)",
|
||||
"Secret Key": "密钥",
|
||||
"Secret ref is required for credential resources": "凭据型资源必须填写 secret_ref",
|
||||
"Secret ref is required for credential resources": "凭据型资源必须填写密钥引用",
|
||||
"Secure & Reliable": "安全可靠",
|
||||
"Security": "安全",
|
||||
"Security Check": "安全验证",
|
||||
@@ -4079,12 +4083,16 @@
|
||||
"e.g. Chen's MacBook": "例如:小明的 MacBook",
|
||||
"Unnamed device": "未命名设备",
|
||||
"Resource binding": "资源绑定",
|
||||
"Resource ID": "资源 ID",
|
||||
"Show manifest": "展开权限清单",
|
||||
"Hide manifest": "收起权限清单",
|
||||
"Resource": "资源",
|
||||
"Allowed actions": "允许动作",
|
||||
"Permission scope": "权限范围",
|
||||
"Constraints": "约束",
|
||||
"Constraint ref": "约束引用",
|
||||
"secret_ref": "密钥引用",
|
||||
"Secret ref": "密钥引用",
|
||||
"runtime_id": "运行 ID",
|
||||
"swarm_id": "蜂群 ID",
|
||||
"mode": "模式",
|
||||
|
||||
Reference in New Issue
Block a user