add chat view & edit line local lang
This commit is contained in:
@@ -1,4 +1,106 @@
|
||||
export default {
|
||||
chat: {
|
||||
stop: "Stop",
|
||||
errors: {
|
||||
failedToLoadConversation: "Failed to load conversation",
|
||||
failedToSaveHistory: "Failed to save chat history",
|
||||
failedToApplyChanges: "Failed to apply changes",
|
||||
conversationNotFound: "Conversation not found",
|
||||
fileNotFound: "File not found: {{path}}",
|
||||
failedToApplyEditChanges: "Failed to apply edit changes",
|
||||
failedToSearchAndReplace: "Failed to search and replace"
|
||||
},
|
||||
apply: {
|
||||
changesApplied: "Changes successfully applied",
|
||||
changesRejected: "User rejected changes"
|
||||
},
|
||||
search: {
|
||||
noResultsFound: "No results found for '{{query}}'"
|
||||
},
|
||||
history: {
|
||||
noConversations: "No conversations"
|
||||
},
|
||||
shortcutInfo: {
|
||||
editInline: "Edit inline",
|
||||
chatWithSelect: "Chat with selected text",
|
||||
submitWithVault: "Submit with vault"
|
||||
},
|
||||
searchResults: {
|
||||
showReferencedDocuments: "Show Referenced Documents"
|
||||
},
|
||||
LLMResponseInfoPopover: {
|
||||
header: "LLM response information",
|
||||
tokenCount: "Token count",
|
||||
promptTokens: "Prompt tokens",
|
||||
completionTokens: "Completion tokens",
|
||||
totalTokens: "Total tokens",
|
||||
model: "Model",
|
||||
estimatedPrice: "Estimated price",
|
||||
usageNotAvailable: "Usage statistics are not available for this model",
|
||||
notAvailable: "Not available"
|
||||
},
|
||||
queryProgress: {
|
||||
readingMentionableFiles: "Reading mentioned files",
|
||||
indexing: "Indexing",
|
||||
file: "file",
|
||||
chunkIndexed: "chunk indexed",
|
||||
queryingVault: "Querying the vault",
|
||||
readingRelatedFiles: "Reading related files"
|
||||
},
|
||||
reactMarkdown: {
|
||||
allow: "Allow",
|
||||
allowing: "Allowing...",
|
||||
success: "Success",
|
||||
failed: "Failed",
|
||||
switchToMode: 'Switch to "{mode}" mode',
|
||||
semanticSearchInPath: 'semantic search files "{query}" in {path}',
|
||||
webSearch: "Web search: {query}",
|
||||
searching: "Searching...",
|
||||
done: "Done",
|
||||
searchAndReplaceInPath: "Search and replace in {path}",
|
||||
applying: "Applying...",
|
||||
apply: "Apply",
|
||||
reasoning: "Reasoning",
|
||||
readFile: "Read file: {path}",
|
||||
listFiles: "List files: {path}",
|
||||
fetchUrlsContent: "Fetch URLs Content",
|
||||
fetching: "Fetching...",
|
||||
copied: "Copied",
|
||||
copy: "Copy",
|
||||
editOrApplyDiff: "{mode}: {path}",
|
||||
loading: "Loading...",
|
||||
regexSearchInPath: 'regex search files "{regex}" in {path}',
|
||||
createNewNote: "Create new note",
|
||||
copyMsg: "Copy message",
|
||||
taskCompletion: "Task Completion",
|
||||
askFollowupQuestion: "Ask Followup Question:",
|
||||
viewDetails: "View details"
|
||||
},
|
||||
input: {
|
||||
submit: "Submit",
|
||||
collectedModels: "Collected Models",
|
||||
loading: "Loading...",
|
||||
image: "Image",
|
||||
createCommand: "Create Command"
|
||||
}
|
||||
},
|
||||
inlineEdit: {
|
||||
placeholder: "Input instruction, Enter to submit, Esc to close",
|
||||
fetchModelsError: "Failed to fetch provider models:",
|
||||
submitting: "submitting...",
|
||||
submit: "submit",
|
||||
ragNotNeeded: "RAG not needed for inline edit",
|
||||
noActiveFile: "No active file",
|
||||
noActiveEditor: "No active editor",
|
||||
noTextSelected: "No text selected",
|
||||
noActiveContext: "No active file, editor, or selection",
|
||||
invalidChatModel: "Invalid chat model",
|
||||
emptyLLMResponse: "Empty response from LLM",
|
||||
invalidActiveFile: "Invalid active file",
|
||||
readFileError: "Failed to read file:",
|
||||
applyChangesError: "Failed to apply changes",
|
||||
inlineEditError: "Error in inline edit:",
|
||||
},
|
||||
prompt: {
|
||||
"title": "Prompts",
|
||||
"description": "Click + to create a new mode",
|
||||
@@ -25,5 +127,16 @@ export default {
|
||||
"overrideWarning": ". This is a very advanced feature that will override all built-in prompts including tool usage, please use with caution",
|
||||
"previewSystemPrompt": "Preview System Prompt",
|
||||
"save": "Save"
|
||||
},
|
||||
command: {
|
||||
"createQuickCommand": "Create Quick Command",
|
||||
"name": "Name",
|
||||
"content": "Content",
|
||||
"createCommand": "Create Command",
|
||||
"searchPlaceholder": "Search Command...",
|
||||
"noCommandsFound": "No commands found",
|
||||
"updateCommand": "Update Command",
|
||||
"errorContentRequired": "Please enter a content for your template",
|
||||
"errorNameRequired": "Please enter a name for your template"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,6 +2,108 @@
|
||||
|
||||
// 简体中文
|
||||
export default {
|
||||
chat: {
|
||||
stop: "停止",
|
||||
errors: {
|
||||
failedToLoadConversation: "加载对话失败",
|
||||
failedToSaveHistory: "保存聊天记录失败",
|
||||
failedToApplyChanges: "应用更改失败",
|
||||
conversationNotFound: "未找到对话",
|
||||
fileNotFound: "未找到文件:{{path}}",
|
||||
failedToApplyEditChanges: "应用编辑更改失败",
|
||||
failedToSearchAndReplace: "搜索和替换失败"
|
||||
},
|
||||
apply: {
|
||||
changesApplied: "更改已成功应用",
|
||||
changesRejected: "用户拒绝了更改"
|
||||
},
|
||||
search: {
|
||||
noResultsFound: "未找到 '{{query}}' 的结果"
|
||||
},
|
||||
history: {
|
||||
noConversations: "没有对话"
|
||||
},
|
||||
shortcutInfo: {
|
||||
editInline: "行内编辑",
|
||||
chatWithSelect: "与选定文本聊天",
|
||||
submitWithVault: "使用 Vault 提交"
|
||||
},
|
||||
searchResults: {
|
||||
showReferencedDocuments: "显示引用的文档"
|
||||
},
|
||||
LLMResponseInfoPopover: {
|
||||
header: "LLM 响应信息",
|
||||
tokenCount: "Token 数量",
|
||||
promptTokens: "提示 Tokens",
|
||||
completionTokens: "补全 Tokens",
|
||||
totalTokens: "总 Tokens",
|
||||
model: "模型",
|
||||
estimatedPrice: "预估价格",
|
||||
usageNotAvailable: "此模型无法获取使用统计信息",
|
||||
notAvailable: "不可用"
|
||||
},
|
||||
queryProgress: {
|
||||
readingMentionableFiles: "正在读取提及的文件",
|
||||
indexing: "正在索引",
|
||||
file: "文件",
|
||||
chunkIndexed: "块已索引",
|
||||
queryingVault: "正在查询 Vault",
|
||||
readingRelatedFiles: "正在读取相关文件"
|
||||
},
|
||||
reactMarkdown: {
|
||||
allow: "允许",
|
||||
allowing: "正在允许...",
|
||||
success: "成功",
|
||||
failed: "失败",
|
||||
switchToMode: '切换到 "{mode}" 模式',
|
||||
semanticSearchInPath: '在 {path} 中语义搜索文件 "{query}"',
|
||||
webSearch: "网页搜索:{query}",
|
||||
searching: "正在搜索...",
|
||||
done: "完成",
|
||||
searchAndReplaceInPath: "在 {path} 中搜索和替换",
|
||||
applying: "正在应用...",
|
||||
apply: "应用",
|
||||
reasoning: "推理",
|
||||
readFile: "读取文件:{path}",
|
||||
listFiles: "列出文件:{path}",
|
||||
fetchUrlsContent: "获取 URL 内容",
|
||||
fetching: "正在获取...",
|
||||
copied: "已复制",
|
||||
copy: "复制",
|
||||
editOrApplyDiff: "{mode}:{path}",
|
||||
loading: "加载中...",
|
||||
regexSearchInPath: '在 {path} 中正则搜索文件 "{regex}"',
|
||||
createNewNote: "创建新笔记",
|
||||
copyMsg: "复制消息",
|
||||
taskCompletion: "任务完成",
|
||||
askFollowupQuestion: "询问后续问题:",
|
||||
viewDetails: "查看详情"
|
||||
},
|
||||
input: {
|
||||
submit: "提交",
|
||||
collectedModels: "收集的模型",
|
||||
loading: "加载中...",
|
||||
image: "图片",
|
||||
createCommand: "创建命令"
|
||||
}
|
||||
},
|
||||
inlineEdit: {
|
||||
placeholder: "输入指令,Enter 提交,Esc 关闭",
|
||||
fetchModelsError: "获取 Provider 模型失败:",
|
||||
submitting: "提交中...",
|
||||
submit: "提交",
|
||||
ragNotNeeded: "行内编辑不需要 RAG",
|
||||
noActiveFile: "没有活动文件",
|
||||
noActiveEditor: "没有活动编辑器",
|
||||
noTextSelected: "未选择文本",
|
||||
noActiveContext: "没有活动文件、编辑器或选区",
|
||||
invalidChatModel: "无效的聊天模型",
|
||||
emptyLLMResponse: "LLM 返回空响应",
|
||||
invalidActiveFile: "无效的活动文件",
|
||||
readFileError: "读取文件失败:",
|
||||
applyChangesError: "应用更改失败",
|
||||
inlineEditError: "行内编辑出错:",
|
||||
},
|
||||
prompt: {
|
||||
"title": "模型提示词设置",
|
||||
"description": "点击 + 创建新模式",
|
||||
@@ -28,5 +130,16 @@ export default {
|
||||
"overrideWarning": "。这是一个非常高级的功能,将覆盖所有内置提示,包括工具使用,请谨慎使用",
|
||||
"previewSystemPrompt": "预览系统提示",
|
||||
"save": "保存"
|
||||
},
|
||||
command: {
|
||||
"createQuickCommand": "创建快捷命令",
|
||||
"name": "名称",
|
||||
"content": "内容",
|
||||
"createCommand": "创建命令",
|
||||
"searchPlaceholder": "搜索命令...",
|
||||
"noCommandsFound": "未找到命令",
|
||||
"updateCommand": "更新命令",
|
||||
"errorContentRequired": "请输入模板内容",
|
||||
"errorNameRequired": "请输入模板名称"
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user