优化: 聊天体验批与Web规范合规
This commit is contained in:
+22
-2
@@ -49,6 +49,19 @@ export default {
|
||||
pinOnTop: 'Pin on top',
|
||||
unpin: 'Unpin',
|
||||
closeWindow: 'Close window',
|
||||
// I9(2026-10-05) text/code file attachment
|
||||
pickFileTitle: 'Select text/code files',
|
||||
textFileFilter: 'Text/code files',
|
||||
fileTooLargeTruncated: 'File too large, truncated on insert',
|
||||
fileReadFailed: 'Failed to read file, skipped',
|
||||
shortcutsTitle: 'Keyboard shortcuts',
|
||||
scNewConv: 'New conversation',
|
||||
scFocusInput: 'Focus message input',
|
||||
scRegenerate: 'Regenerate last reply',
|
||||
scClearChat: 'Clear current conversation',
|
||||
scSearch: 'Focus conversation search',
|
||||
scToggleSidebar: 'Toggle sidebar',
|
||||
scCloseOverlay: 'Close dialog / panel',
|
||||
|
||||
// ── Approval overlay (global top-right) ──
|
||||
approvalWaitingTitle: 'Approval required',
|
||||
@@ -163,9 +176,10 @@ export default {
|
||||
copyAsImageFailed: 'Failed to copy as image',
|
||||
|
||||
// ── Message actions bar ──
|
||||
regenerate: 'Regenerate',
|
||||
regenerateFailed: 'Regenerate failed: {msg}',
|
||||
// regenerateUnavailable: Ctrl+R / retry paths still call store.regenerate(); precheck toast key
|
||||
// (I6 revert removed the UI button only — key still referenced by useAiSend.ts, review 2026-10-05 ②)
|
||||
regenerateUnavailable: 'No reply to regenerate',
|
||||
regenerateFailed: 'Regenerate failed: {msg}',
|
||||
// fetch_url "Install obscura via AI" button triggers sendMessage; failure toast (mirrors editMessageFailed)
|
||||
sendFailed: 'Send failed: {msg}',
|
||||
|
||||
@@ -237,6 +251,8 @@ export default {
|
||||
compressing: 'Compressing…',
|
||||
clearSuccess: 'Context cleared',
|
||||
compressSuccess: 'Context compressed',
|
||||
// B4: one-shot auto-compress notice (loop auto-compress no longer fully silent)
|
||||
autoCompressed: 'Context auto-compressed (earlier messages folded into summary)',
|
||||
compressError: 'Compression failed: {msg}',
|
||||
clearError: 'Clear failed: {msg}',
|
||||
// Separator expand / collapse
|
||||
@@ -279,6 +295,10 @@ export default {
|
||||
tokenInLabel: 'Input (cache miss, full price)',
|
||||
tokenCacheLabel: 'Cache hit (low price)',
|
||||
tokenOutLabel: 'Output',
|
||||
// #12 conversation-cumulative tokens (token detail popover footer)
|
||||
tokenConvTotal: 'Conversation total',
|
||||
tokenConvTotalIn: 'Total in',
|
||||
tokenConvTotalOut: 'Total out',
|
||||
tokenReasonLabel: 'Reasoning',
|
||||
tokenCacheRateLabel: 'Cache hit rate',
|
||||
tokenModelLabel: 'Model',
|
||||
|
||||
Reference in New Issue
Block a user