优化: 清理无意义注释(走查编号前缀/过时历史标注/死代码注释)
This commit is contained in:
@@ -71,7 +71,7 @@ export default {
|
||||
selectModel: 'Select model',
|
||||
noModels: 'No models available. Please fetch in settings.',
|
||||
|
||||
// ── Empty states (UX-2025-20: example prompt cards + no-provider guidance) ──
|
||||
// ── Empty states example prompt cards + no-provider guidance) ──
|
||||
emptyNoProvider: 'No AI provider configured',
|
||||
emptyNoProviderHint: 'Please add a provider in settings to start chatting',
|
||||
emptyTitle: 'Chat with AI assistant',
|
||||
@@ -84,7 +84,7 @@ export default {
|
||||
goToSettings: 'Open settings',
|
||||
goToSettingsHint: 'The detached window cannot open settings directly. Configure AI providers on the main window’s Settings page.',
|
||||
|
||||
// ── Provider switch feedback (UX-2025-14) ──
|
||||
// ── Provider switch feedback ──
|
||||
providerSwitched: 'Switched to {model}',
|
||||
providerSwitchHint: 'Current model: {model}',
|
||||
|
||||
@@ -107,7 +107,7 @@ export default {
|
||||
skillNoMatch: 'No matching skill',
|
||||
skillNotLoaded: 'No local skills loaded',
|
||||
|
||||
// ── UX-10: @ entity mention (@ opens popover, select inserts [Type:Name] token) ──
|
||||
// ── @ entity mention (@ opens popover, select inserts [Type:Name] token) ──
|
||||
mentionHint: "{'@'} to mention project/task",
|
||||
mentionGroupProject: 'Projects',
|
||||
mentionGroupTask: 'Tasks',
|
||||
@@ -136,13 +136,13 @@ export default {
|
||||
|
||||
// ── Confirm dialog ──
|
||||
confirmDeleteConversation: 'Delete chat "{title}"? This cannot be undone.',
|
||||
// UX-260617-24: stronger warning when deleting the currently active conversation
|
||||
// stronger warning when deleting the currently active conversation
|
||||
confirmDeleteActiveConversation: '"{title}" is the chat you are currently viewing. Deleting it will clear the current view and cannot be undone. Continue?',
|
||||
clearChat: 'Clear',
|
||||
confirmClearChat: 'Are you sure you want to clear all messages in this chat? This cannot be undone.',
|
||||
toastSendFail: 'Send failed: {msg}',
|
||||
|
||||
// ── Message copy (F-260615-13) ──
|
||||
// ── Message copy ──
|
||||
copyMsg: 'Copy message',
|
||||
copied: 'Copied',
|
||||
copyFailed: 'Copy failed',
|
||||
@@ -151,14 +151,14 @@ export default {
|
||||
copiedAsImage: 'Copied as image',
|
||||
copyAsImageFailed: 'Failed to copy as image',
|
||||
|
||||
// ── Message actions bar (UX-02) ──
|
||||
// ── Message actions bar ──
|
||||
regenerate: 'Regenerate',
|
||||
regenerateFailed: 'Regenerate failed: {msg}',
|
||||
regenerateUnavailable: 'No reply to regenerate',
|
||||
// fetch_url "Install obscura via AI" button triggers sendMessage; failure toast (mirrors editMessageFailed)
|
||||
sendFailed: 'Send failed: {msg}',
|
||||
|
||||
// ── UX-09: edit last user message and regenerate ──
|
||||
// ── edit last user message and regenerate ──
|
||||
editMessage: 'Edit',
|
||||
editMessageFailed: 'Edit failed: {msg}',
|
||||
editNotLastUser: 'Only the last user message can be edited',
|
||||
@@ -168,7 +168,7 @@ export default {
|
||||
retry: 'Retry',
|
||||
goToSettingsAction: 'Open settings',
|
||||
|
||||
// ── F-260616-03: max iterations reached pause action card ──
|
||||
// ── max iterations reached pause action card ──
|
||||
maxRoundsReached: 'Max rounds reached. Continue?',
|
||||
maxRoundsHint: 'Continue runs another full round; stop ends with current results',
|
||||
continueLoop: 'Continue',
|
||||
|
||||
Reference in New Issue
Block a user