优化: 设置域体验完善
- 校验失败红框定位字段,保存反馈改持久化成功后 - 数值越界钳制,双提示队列化不再重叠 - 搜索防抖跳分类,托盘气泡文案进多语言
This commit is contained in:
@@ -89,6 +89,19 @@ export default {
|
||||
truncated: 'truncated',
|
||||
failed: 'failed',
|
||||
meta: '{rounds} rounds · {tokens} tokens',
|
||||
// S3: finished card is clickable to open the read-only trace (hover hint)
|
||||
viewHint: 'Click to view execution trace',
|
||||
},
|
||||
// S3 sub-agent trace overlay (opened from the finished card, read-only simple render,
|
||||
// discarded on close)
|
||||
agentTrace: {
|
||||
title: 'Sub-agent Trace',
|
||||
empty: 'No messages recorded',
|
||||
loadFail: 'Failed to load sub-agent trace',
|
||||
roleUser: 'User',
|
||||
roleAssistant: 'Assistant',
|
||||
roleTool: 'Tool result',
|
||||
roleSystem: 'System',
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -292,5 +292,10 @@ export default {
|
||||
sendErrRateLimit: 'Rate limit reached, please retry later (error: {msg})',
|
||||
sendErrQuota: 'AI quota or balance insufficient, check your provider account (error: {msg})',
|
||||
sendErrNetwork: 'Network error or timeout, check your connection and retry (error: {msg})',
|
||||
|
||||
// ── UX-P3 chat polish additions ──
|
||||
editEmptyBlocked: 'Edit content is empty, submission cancelled',
|
||||
skillNoMatchQuery: 'No skill matches "{q}", send blocked',
|
||||
backfillOverwriteConfirm: 'The input box has an unsent draft; backfilling will overwrite it. Continue?',
|
||||
},
|
||||
}
|
||||
|
||||
@@ -24,5 +24,7 @@ export default {
|
||||
perPage: 'Per page',
|
||||
total: '{n} total',
|
||||
},
|
||||
// Close-to-tray notice bubble (App.vue consumes the tray-hide-notice event; moved from hardcoded Chinese)
|
||||
trayNoticeRunning: '{n} conversation(s) keep running in the background — the tray icon brings the window back anytime',
|
||||
},
|
||||
}
|
||||
|
||||
@@ -17,7 +17,15 @@ export default {
|
||||
|
||||
// ===== Instant feedback (phase 5 SettingRow) =====
|
||||
savedHint: '✓ Saved',
|
||||
// False-success family: red inline feedback for persist/IPC failure
|
||||
saveFailedHint: '✗ Save failed',
|
||||
nextRoundBadge: 'Next message',
|
||||
// Out-of-range clamp notices (concurrency 1-64 + per-conv ≤ global; temperature reports the corrected value)
|
||||
toastConcurrencyClamped: 'Value out of range, corrected automatically (concurrency 1-{max}; per-conversation capped at global)',
|
||||
toastTempClamped: 'Sampling temperature must be within 0-2, corrected to {v}',
|
||||
// Prompt caching toggle save feedback (previously silent)
|
||||
toastAnthropicCacheSaved: 'Prompt caching setting saved',
|
||||
toastAnthropicCacheFail: 'Failed to save the prompt caching setting',
|
||||
|
||||
// ===== Connection mgmt (phase 7: experimental badge, not wired to AI yet) =====
|
||||
experimentalBadge: 'Experimental · not wired to AI tools',
|
||||
|
||||
@@ -91,5 +91,7 @@ export default {
|
||||
descSaveFailed: 'Failed to save description: {msg}',
|
||||
saveDesc: 'Save',
|
||||
cancelEdit: 'Cancel',
|
||||
// S4 related conversations (reverse lookup of main sessions that ran task tools, click to jump)
|
||||
relatedConversations: 'Conversations',
|
||||
},
|
||||
}
|
||||
|
||||
@@ -88,6 +88,18 @@ export default {
|
||||
truncated: '已截断',
|
||||
failed: '失败',
|
||||
meta: '{rounds} 轮 · {tokens} tokens',
|
||||
// S3:完成卡可点击查看只读轨迹(hover 提示)
|
||||
viewHint: '点击查看执行轨迹',
|
||||
},
|
||||
// S3 子代理轨迹浮层(完成卡点击展开,只读简版渲染,关即弃)
|
||||
agentTrace: {
|
||||
title: '子代理执行轨迹',
|
||||
empty: '暂无消息记录',
|
||||
loadFail: '拉取子代理轨迹失败',
|
||||
roleUser: '用户',
|
||||
roleAssistant: '助手',
|
||||
roleTool: '工具结果',
|
||||
roleSystem: '系统',
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -293,5 +293,10 @@ export default {
|
||||
sendErrRateLimit: '发送频率超限,请稍后重试(原始错误:{msg})',
|
||||
sendErrQuota: 'AI 服务额度或余额不足,请检查 Provider 账户(原始错误:{msg})',
|
||||
sendErrNetwork: '网络异常或请求超时,请检查网络后重试(原始错误:{msg})',
|
||||
|
||||
// ── UX-P3 对话域打磨追加 ──
|
||||
editEmptyBlocked: '编辑内容为空,已取消提交',
|
||||
skillNoMatchQuery: '未找到技能「{q}」,已阻止发送',
|
||||
backfillOverwriteConfirm: '输入框已有未发送草稿,回填将覆盖,确定继续?',
|
||||
},
|
||||
}
|
||||
|
||||
@@ -24,5 +24,7 @@ export default {
|
||||
perPage: '每页',
|
||||
total: '共 {n} 条',
|
||||
},
|
||||
// 关窗后台运行气泡(App.vue 消费 tray-hide-notice 事件;走查 P3-15 由硬编码中文迁入)
|
||||
trayNoticeRunning: '{n} 个会话将继续在后台运行,托盘图标可随时唤起',
|
||||
},
|
||||
}
|
||||
|
||||
@@ -17,7 +17,15 @@ export default {
|
||||
|
||||
// ===== 即时生效反馈(阶段5 SettingRow) =====
|
||||
savedHint: '✓ 已保存',
|
||||
// 走查 P3-11 假成功族:持久化/IPC 失败的红字反馈位
|
||||
saveFailedHint: '✗ 保存失败',
|
||||
nextRoundBadge: '下次对话生效',
|
||||
// 走查 P3-14 越界钳制提示(并发 1-64 + 单对话不超全局;采样温度单独提示修正值)
|
||||
toastConcurrencyClamped: '输入超出有效范围,已自动修正(并发 1-{max},单对话不超过全局)',
|
||||
toastTempClamped: '采样温度须在 0-2 范围内,已修正为 {v}',
|
||||
// 走查 P3-11:Prompt 缓存开关保存反馈(原切换零反馈)
|
||||
toastAnthropicCacheSaved: 'Prompt 缓存设置已保存',
|
||||
toastAnthropicCacheFail: 'Prompt 缓存设置保存失败',
|
||||
|
||||
// ===== 连接管理(阶段7:实验功能 badge 明示暂未接入 AI) =====
|
||||
experimentalBadge: '实验功能·暂未接入 AI 工具',
|
||||
|
||||
@@ -91,5 +91,7 @@ export default {
|
||||
descSaveFailed: '保存描述失败: {msg}',
|
||||
saveDesc: '保存',
|
||||
cancelEdit: '取消',
|
||||
// S4 关联会话(审计表反查发起过任务工具的主会话,点击跳转)
|
||||
relatedConversations: '关联会话',
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user