Files
BlogPosts/.obsidian/plugins/i18n/translations/rZIO51WxK6qfCShHA9o3TwJDRsQbKj19.json

1727 lines
87 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"schemaVersion": 1,
"metadata": {
"plugin": "quickadd",
"version": "2.0.0",
"title": "QuickAdd",
"description": "Quickly add new pages or content to your vault.",
"language": "zh-cn",
"supportedVersions": "1.11.1",
"author": ""
},
"dict": {
"main.js": {
"ast": [],
"regex": [
{
"source": ".setButtonText(\"No\")",
"target": ".setButtonText(\"否\")"
},
{
"source": ".setButtonText(\"Yes\")",
"target": ".setButtonText(\"是\")"
},
{
"source": ".setButtonText(\"Add\")",
"target": ".setButtonText(\"添加\")"
},
{
"source": ".setButtonText(\"OK\")",
"target": ".setButtonText(\"确定\")"
},
{
"source": ".setButtonText(\"Submit\")",
"target": ".setButtonText(\"提交\")"
},
{
"source": ".setButtonText(\"Delete\")",
"target": ".setButtonText(\"删除\")"
},
{
"source": ".setButtonText(\"Configure\")",
"target": ".setButtonText(\"配置\")"
},
{
"source": ".setButtonText(\"Add macro\")",
"target": ".setButtonText(\"添加宏\")"
},
{
"source": ".setButtonText(\"Add Provider\")",
"target": ".setButtonText(\"添加提供者\")"
},
{
"source": ".setButtonText(\"Edit\")",
"target": ".setButtonText(\"编辑\")"
},
{
"source": ".setButtonText(\"Add Model\")",
"target": ".setButtonText(\"添加模型\")"
},
{
"source": ".setButtonText(\"Cancel\")",
"target": ".setButtonText(\"取消\")"
},
{
"source": ".setButtonText(\"Save\")",
"target": ".setButtonText(\"保存\")"
},
{
"source": ".setButtonText(\"Edit Providers\")",
"target": ".setButtonText(\"编辑提供者\")"
},
{
"source": ".setName(\"Template Path\")",
"target": ".setName(\"模板路径\")"
},
{
"source": ".setName(\"File Name Format\")",
"target": ".setName(\"文件名格式\")"
},
{
"source": ".setName(\"Create in folder\")",
"target": ".setName(\"在文件夹中创建\")"
},
{
"source": ".setName(\"Include subfolders\")",
"target": ".setName(\"包含子文件夹\")"
},
{
"source": ".setName(\"Create in same folder as active file\")",
"target": ".setName(\"在同一文件夹中创建\")"
},
{
"source": ".setName(\"Append link\")",
"target": ".setName(\"附加链接\")"
},
{
"source": ".setName(\"Set default behavior if file already exists\")",
"target": ".setName(\"设置文件已存在时的默认行为\")"
},
{
"source": ".setName(\"Open\")",
"target": ".setName(\"打开\")"
},
{
"source": ".setName(\"New split\")",
"target": ".setName(\"新拆分\")"
},
{
"source": ".setName(\"Focus new pane\")",
"target": ".setName(\"聚焦新面板\")"
},
{
"source": ".setName(\"Write to bottom of file\")",
"target": ".setName(\"写入文件底部\")"
},
{
"source": ".setName(\"Task\")",
"target": ".setName(\"任务\")"
},
{
"source": ".setName(\"Insert after\")",
"target": ".setName(\"在后面插入\")"
},
{
"source": ".setName(\"Insert at end of section\")",
"target": ".setName(\"在节末插入\")"
},
{
"source": ".setName(\"Consider subsections\")",
"target": ".setName(\"考虑子小节\")"
},
{
"source": ".setName(\"Create line if not found\")",
"target": ".setName(\"如果未找到则创建行\")"
},
{
"source": ".setName(\"Capture format\")",
"target": ".setName(\"输出格式\")"
},
{
"source": ".setName(\"Create file if it doesn't exist\")",
"target": ".setName(\"如果文件不存在,则创建它\")"
},
{
"source": ".setName(\"Create file with given template.\")",
"target": ".setName(\"使用给定模板创建文件。\")"
},
{
"source": ".setName(\"New Tab\")",
"target": ".setName(\"新标签页\")"
},
{
"source": ".setName(\"Prompt Template\")",
"target": ".setName(\"提示词模板\")"
},
{
"source": ".setName(\"Model\")",
"target": ".setName(\"模型\")"
},
{
"source": ".setName(\"Output variable name\")",
"target": ".setName(\"输出变量名\")"
},
{
"source": ".setName(\"System Prompt\")",
"target": ".setName(\"好的,请提交需要翻译的英文文本。\")"
},
{
"source": ".setName(\"Show advanced settings\")",
"target": ".setName(\"显示高级设置\")"
},
{
"source": ".setName(\"Temperature\")",
"target": ".setName(\"温度\")"
},
{
"source": ".setName(\"Top P\")",
"target": ".setName(\"Top P\")"
},
{
"source": ".setName(\"Frequency Penalty\")",
"target": ".setName(\"Frequency Penalty\")"
},
{
"source": ".setName(\"Presence Penalty\")",
"target": ".setName(\"Presence Penalty\")"
},
{
"source": ".setName(\"Obsidian command\")",
"target": ".setName(\"Obsidian 命令\")"
},
{
"source": ".setName(\"Editor commands\")",
"target": ".setName(\"编辑器命令\")"
},
{
"source": ".setName(\"User Scripts\")",
"target": ".setName(\"用户脚本\")"
},
{
"source": ".setName(\"Choices\")",
"target": ".setName(\"选择\")"
},
{
"source": ".setName(\"Providers\")",
"target": ".setName(\"提供者\")"
},
{
"source": ".setName(\"Name\")",
"target": ".set名称(\"名称\")"
},
{
"source": ".setName(\"Endpoint\")",
"target": ".setName(\"端点\")"
},
{
"source": ".setName(\"API Key\")",
"target": ".setName(\"API 密钥\")"
},
{
"source": ".setName(\"Add Model\")",
"target": ".setName(\"添加模型\")"
},
{
"source": ".setName(\"Default Model\")",
"target": ".setName(\"默认模型\")"
},
{
"source": ".setName(\"Prompt Template Folder Path\")",
"target": ".setName(\"提示模板文件夹路径\")"
},
{
"source": ".setName(\"Show Assistant\")",
"target": ".setName(\"显示助手\")"
},
{
"source": ".setName(\"Default System Prompt\")",
"target": ".setName(\"默认系统提示词\")"
},
{
"source": ".setName(\"Announce Updates\")",
"target": ".setName(\"宣布更新\")"
},
{
"source": ".setName(\"Use Multi-line Input Prompt\")",
"target": ".setName(\"使用多行输入提示\")"
},
{
"source": ".setName(\"Template Folder Path\")",
"target": ".setName(\"模板文件夹路径\")"
},
{
"source": ".setName(\"Disable AI & Online features\")",
"target": ".setName(\"禁用 AI 和在线功能\")"
},
{
"source": ".setName(\"Show icon in sidebar\")",
"target": ".setName(\"在侧边栏显示图标\")"
},
{
"source": ".setName(\"Result Joiner\")",
"target": ".setName(\"结果合并器\")"
},
{
"source": ".setName(\"Chunk Separator\")",
"target": ".setName(\"分块分隔符\")"
},
{
"source": ".setName(\"Max Chunk Tokens\")",
"target": ".setName(\"最大块令牌数\")"
},
{
"source": ".setName(\"Merge Chunks\")",
"target": ".setName(\"合并片段\")"
},
{
"source": ".setDesc(\"Path to the Template.\")",
"target": ".setDesc(\"模板路径。\")"
},
{
"source": ".setDesc(\"Set the file name format.\")",
"target": ".setDesc(\"设置文件名格式。\")"
},
{
"source": ".setDesc(\"Create the file in the specified folder. If multiple folders are specified, you will be prompted for which folder to create the file in.\")",
"target": ".setDesc(\"在指定的文件夹中创建文件。如果指定了多个文件夹,系统将提示您在哪个文件夹中创建文件。\")"
},
{
"source": ".setDesc(\"Get prompted to choose from both the selected folders and their subfolders when creating the note.\")",
"target": ".setDesc(\"在创建笔记时,提示从所选文件夹及其子文件夹中选择。\")"
},
{
"source": ".setDesc(\"Creates the file in the same folder as the currently active file. Will not create the file if there is no active file.\")",
"target": ".setDesc(\"在与当前活动文件相同的文件夹中创建文件。如果没有活动文件,将不会创建文件。\")"
},
{
"source": ".setDesc(\"Append link to created file to current file.\")",
"target": ".setDesc(\"将已创建文件的链接附加到当前文件。\")"
},
{
"source": ".setDesc(\"Set default behavior rather then prompting user on what to do if a file already exists.\")",
"target": ".setDesc(\"设置默认行为,而不是在文件已存在时提示用户。\")"
},
{
"source": ".setDesc(\"Open the created file.\")",
"target": ".setDesc(\"打开创建的文件。\")"
},
{
"source": ".setDesc(\"Split your editor and open file in new split.\")",
"target": ".setDesc(\"拆分编辑器并在新拆分中打开文件。\")"
},
{
"source": ".setDesc(\"Focus the opened tab immediately after opening\")",
"target": ".setDesc(\"立即聚焦打开的标签页\")"
},
{
"source": ".setDesc(\"File to capture to. Supports some format syntax.\")",
"target": ".setDesc(\"用于Capture的文件。支持某些格式语法。\")"
},
{
"source": ".setDesc(`Put value at the bottom of the file - otherwise at the ${this.choice?.captureToActiveFile?\"active cursor location\":\"top\"}.`)",
"target": ".setDesc(`将值放在文件底部——否则放在${this.choice?.captureToActiveFile?\"活动光标位置\":\"顶部\"}。`)"
},
{
"source": ".setDesc(\"Formats the value as a task.\")",
"target": ".setDesc(\"将值格式化为任务。\")"
},
{
"source": ".setDesc(\"Add a link on your current cursor position, linking to the file you're capturing to.\")",
"target": ".setDesc(\"在当前光标位置添加一个链接,链接到要输出的文件。\")"
},
{
"source": ".setDesc(\"Insert capture after specified line. Accepts format syntax.\")",
"target": ".setDesc(\"在指定行之后插入输出。接受格式语法。\")"
},
{
"source": ".setDesc(\"Insert the text at the end of the section, rather than at the top.\")",
"target": ".setDesc(\"将文本插入部分的末尾,而不是顶部。\")"
},
{
"source": ".setDesc(\"Enabling this will insert the text at the end of the section & its subsections, rather than just at the end of the target section. A section is defined by a heading, and its subsections are all the headings inside that section.\")",
"target": ".setDesc(\"启用此选项将会在节及其子节的末尾插入文本,而不仅仅是在目标节的末尾。节由标题定义,其子节是该节内的所有标题。\")"
},
{
"source": ".setDesc(\"Creates the 'insert after' line if it is not found.\")",
"target": ".setDesc(\"如果没有找到,则创建 '后插入' 行。\")"
},
{
"source": ".setDesc(\"Set the format of the capture.\")",
"target": ".setDesc(\"设置输出的格式。\")"
},
{
"source": ".setDesc(\"Open the file that is captured to.\")",
"target": ".setDesc(\"打开被输出到的文件。\")"
},
{
"source": ".setDesc(\"Open the file that is captured to in a new tab.\")",
"target": ".setDesc(\"在新面板中打开要输出的文件。\")"
},
{
"source": ".setDesc(\"Focus the opened tab immediately\")",
"target": ".setDesc(\"立即聚焦打开的选项卡\")"
},
{
"source": ".setDesc(\"Enabling this will have the assistant use the prompt template you specify. If disable, the assistant will ask you for a prompt template to use.\")",
"target": ".setDesc(\"启用此选项后,助手将使用您指定的提示模板。如果禁用,助手将向您询问要使用的提示模板。\")"
},
{
"source": ".setDesc(\"The model the AI Assistant will use\")",
"target": ".setDesc(\"人工智能助手将使用的模型\")"
},
{
"source": ".setDesc(\"The name of the variable used to store the AI Assistant output, i.e. {{value:output}}.\")",
"target": ".setDesc(\"用于存储AI助手输出的变量名称例如{{value:output}}。\")"
},
{
"source": ".setDesc(\"The system prompt for the AI Assistant\")",
"target": ".setDesc(\"系统提示给 AI 助手\")"
},
{
"source": ".setDesc(\"Show advanced settings such as temperature, top p, and frequency penalty.\")",
"target": ".setDesc(\"显示高级设置如温度、top p 和频率惩罚。\")"
},
{
"source": ".setDesc(\"Sampling temperature. Higher values like 0.8 makes the output more random, whereas lower values like 0.2 will make it more focused and deterministic. The default is 1.\")",
"target": ".setDesc(\"采样温度。较高的值如0.8会使输出更加随机而较低的值如0.2会使输出更加集中和确定。默认值为1。\")"
},
{
"source": ".setDesc(\"Nucleus sampling - consider this an alternative to temperature. The model considers the results of the tokens with top_p probability mass. 0.1 means only tokens compromising the top 10% probability mass are considered. The default is 1.\")",
"target": ".setDesc(\"核采样 - 可视为温度的一种替代方案。模型会考虑具有 top_p 概率质量的令牌结果。0.1 表示仅考虑前 10% 概率质量的令牌。默认值为 1。\")"
},
{
"source": ".setDesc(\"Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim. The default is 0.\")",
"target": ".setDesc(\"正值会根据现有文本中已有的频率对新令牌进行惩罚,降低模型逐字重复同样行的可能性。默认值为 0。\")"
},
{
"source": ".setDesc(\"Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics. The default is 0.\")",
"target": ".setDesc(\"正值会根据新令牌是否出现在文本中对其进行惩罚,增加模型讨论新主题的可能性。默认值为 0。\")"
},
{
"source": ".setDesc(\"Add an Obsidian command\")",
"target": ".setDesc(\"添加一个 Obsidian 命令\")"
},
{
"source": ".setDesc(\"Add editor command\")",
"target": ".setDesc(\"添加编辑器命令\")"
},
{
"source": ".setDesc(\"Add user script\")",
"target": ".setDesc(\"添加用户脚本\")"
},
{
"source": ".setDesc(\"Add existing choice\")",
"target": ".setDesc(\"添加现有的选择\")"
},
{
"source": ".setDesc(\"Providers for the AI Assistant\")",
"target": ".setDesc(\"AI 助手的提供商\")"
},
{
"source": ".setDesc(\"The name of the provider\")",
"target": ".setDesc(\"提供者的名称\")"
},
{
"source": ".setDesc(\"The endpoint for the AI Assistant\")",
"target": ".setDesc(\"AI 助手的终端\")"
},
{
"source": ".setDesc(\"The API Key for the AI Assistant\")",
"target": ".setDesc(\"AI 助手的 API 密钥\")"
},
{
"source": ".setDesc(`Max Tokens: ${b.maxTokens}`)",
"target": ".setDesc(`最大令牌数:${b.maxTokens}`)"
},
{
"source": ".setDesc(\"The providers for the AI Assistant\")",
"target": ".setDesc(\"人工智能助手的提供者们\")"
},
{
"source": ".setDesc(\"The default model for the AI Assistant\")",
"target": ".setDesc(\"人工智能助手的默认模型\")"
},
{
"source": ".setDesc(\"Path to your folder with prompt templates\")",
"target": ".setDesc(\"你的提示模板文件夹路径\")"
},
{
"source": ".setDesc(\"Show status messages from the AI Assistant\")",
"target": ".setDesc(\"显示AI助手的状态消息\")"
},
{
"source": ".setDesc(\"The default system prompt for the AI Assistant\")",
"target": ".setDesc(\"AI助手的默认系统提示\")"
},
{
"source": ".setDesc(\"Display release notes when a new version is installed. This includes new features, demo videos, and bug fixes.\")",
"target": ".setDesc(\"显示新版本的发布说明。包括新功能、演示视频和错误修复。\")"
},
{
"source": ".setDesc(\"Use multi-line input prompt instead of single-line input prompt\")",
"target": ".setDesc(\"使用多行输入提示而非单行输入提示\")"
},
{
"source": ".setDesc(\"Path to the folder where templates are stored. Used to suggest template files when configuring QuickAdd.\")",
"target": ".setDesc(\"存储模板的文件夹路径。用于在配置 QuickAdd 时建议模板文件。\")"
},
{
"source": ".setDesc(\"Add QuickAdd icon to the sidebar ribbon. Requires a reload.\")",
"target": ".setDesc(\"在侧边栏丝带中添加 QuickAdd 图标。需要重新加载。\")"
},
{
"source": ".setDesc(\"The string used to join multiple LLM responses together. The default is a newline.\")",
"target": ".setDesc(\"用于将多个 LLM 响应组合在一起的字符串。默认值是换行符。\")"
},
{
"source": ".setDesc(\"The string used to separate chunks of text. The default is a newline.\")",
"target": ".setDesc(\"用于分隔文本块的字符串。默认为换行符。\")"
},
{
"source": ".setDesc(\"The maximum number of tokens in each chunk, calculated as the chunk token size + prompt template token size + system prompt token size. Make sure you leave room for the model to respond to the prompt.\")",
"target": ".setDesc(\"每个块中的最大令牌数量,计算方式为块的令牌大小 + 提示模板的令牌大小 + 系统提示的令牌大小。确保留出空间让模型能够对提示作出回应。\")"
},
{
"source": ".setDesc(\"Merge chunks together by putting them in the same prompt, until the max tokens limit is reached. Useful for sending fewer queries overall, but may result in less coherent responses.\")",
"target": ".setDesc(\"将片段合并到同一提示中,直到达到最大令牌限制。这有助于减少总体查询次数,但可能导致响应不够连贯。\")"
},
{
"source": ".setPlaceholder(\"File path\")",
"target": ".setPlaceholder(\"文件路径\")"
},
{
"source": ".setPlaceholder(\"Template path\")",
"target": ".setPlaceholder(\"模板路径\")"
},
{
"source": ".setPlaceholder(\"File name format\")",
"target": ".setPlaceholder(\"文件名格式\")"
},
{
"source": ".setPlaceholder(\"Folder path\")",
"target": ".setPlaceholder(\"文件夹路径\")"
},
{
"source": ".setPlaceholder(\"Insert after\")",
"target": ".setPlaceholder(\"插入到后面\")"
},
{
"source": ".setPlaceholder(\"Format\")",
"target": ".setPlaceholder(\"格式\")"
},
{
"source": ".setPlaceholder(\"Obsidian command\")",
"target": ".setPlaceholder(\"Obsidian 命令\")"
},
{
"source": ".setPlaceholder(\"User script\")",
"target": ".setPlaceholder(\"用户脚本\")"
},
{
"source": ".setPlaceholder(\"Choice\")",
"target": ".setPlaceholder(\"选择\")"
},
{
"source": ".setPlaceholder(\"Macro name\")",
"target": ".setPlaceholder(\"宏名称\")"
},
{
"source": ".setPlaceholder(\"templates/\")",
"target": ".setPlaceholder(\"模板/\")"
},
{
"source": ".setTooltip(`Toggle ${I}`)",
"target": ".setTooltip(`切换 ${I}`)"
},
{
"source": ".setTooltip(\"Create file if it doesn't exist\")",
"target": ".setTooltip(\"如果文件不存在,则创建它\")"
},
{
"source": ".setTooltip(\"Add AI Assistant command\")",
"target": ".setTooltip(\"添加 AI 助手命令\")"
},
{
"source": ".setTooltip(\"Add wait command\")",
"target": ".setTooltip(\"添加等待命令\")"
},
{
"source": ".setTooltip(`Add ${l} Choice`)",
"target": ".setTooltip(`添加 ${l} 项`)"
},
{
"source": ".setTooltip(\"Create Macro\")",
"target": ".setTooltip(\"创建宏\")"
},
{
"source": ".setTooltip(\"Configure Macro\")",
"target": ".setTooltip(\"配置宏\")"
},
{
"source": ".setTooltip(\"Use multi-line input prompt\")",
"target": ".setTooltip(\"使用多行输入提示\")"
},
{
"source": ".createEl(\"span\",{text:\"Choose folder when creating a new note\"})",
"target": ".createEl(\"span\",{text:\"选择文件夹以创建新笔记\"})"
},
{
"source": ".createEl(\"h2\",{text:`${this.settings.name} Settings`})",
"target": ".createEl(\"h2\",{text:`${this.settings.name} 设置`})"
},
{
"source": ".createEl(\"h2\",{text:\"Macro Manager\"})",
"target": ".createEl(\"h2\",{text:\"宏管理器\"})"
},
{
"source": ".createEl(\"h2\",{text:\"AI Assistant Settings\"})",
"target": ".createEl(\"h2\",{text:\"AI助手设置\"})"
},
{
"source": ".createEl(\"h2\",{text:\"QuickAdd Settings\"})",
"target": ".createEl(\"h2\",{text:\"QuickAdd 设置(曲淡歌&Fendi汉化\"})"
},
{
"source": ".createEl(\"h1\",{text:\"Fetching release notes...\"})",
"target": ".createEl(\"h1\",{text:\"获取更新日志中...\"})"
},
{
"source": ".innerText=`${this.settings?.name}${this.settings?.author?\" by \"+this.settings?.author:\"\"}`",
"target": ".innerText=`${this.settings?.name}${this.settings?.author?\" by \"+this.settings?.author:\"\"}`"
},
{
"source": ".innerText=`Token count: ${this.systemPromptTokenLength!==Number.POSITIVE_INFINITY?this.systemPromptTokenLength:\"select a model to calculate\"}`",
"target": ".innerText=`Token count: ${this.systemPromptTokenLength!==Number.POSITIVE_INFINITY?this.systemPromptTokenLength:\"select a model to calculate\"}`"
},
{
"source": ".innerText=`Token count: ${this.systemPromptTokenLength}`",
"target": ".innerText=`Token count: ${this.systemPromptTokenLength}`"
},
{
"source": ".setDesc(\"Path to the Template.\"",
"target": ".setDesc(\"模板的路径。\""
},
{
"source": ".setDesc(\"Set the file name format.\"",
"target": ".setDesc(\"设置文件名格式。\""
},
{
"source": ".setDesc(\"Append link to created file to current file.\"",
"target": ".setDesc(\"将已创建文件的链接附加到当前文件。\""
},
{
"source": ".setDesc(\"Open the created file.\"",
"target": ".setDesc(\"打开创建的文件。\""
},
{
"source": ".setDesc(\"Split your editor and open file in new split.\"",
"target": ".setDesc(\"拆分编辑器并在新的拆分中打开文件。\""
},
{
"source": ".setDesc(\"Focus the opened tab immediately after opening\"",
"target": ".setDesc(\"打开后立即聚焦打开的选项卡\""
},
{
"source": ".setDesc(\"File to capture to. Supports some format syntax.\"",
"target": ".setDesc(\"要输出到的文件。支持某些格式语法。\""
},
{
"source": ".setDesc(\"Formats the value as a task.\"",
"target": ".setDesc(\"将值格式化为任务。\""
},
{
"source": ".setDesc(\"Creates the 'insert after' line if it is not found.\"",
"target": ".setDesc(\"如果找不到 '在之后插入' 行,则创建该行。\""
},
{
"source": ".setDesc(\"Set the format of the capture.\"",
"target": ".setDesc(\"设置输出的格式。\""
},
{
"source": ".setDesc(\"Open the file that is captured to.\"",
"target": ".setDesc(\"打开输出到的文件。\""
},
{
"source": ".setDesc(\"Open the file that is captured to in a new tab.\"",
"target": ".setDesc(\"在新选项卡中打开要输出到的文件。\""
},
{
"source": ".setDesc(\"Focus the opened tab immediately\"",
"target": ".setDesc(\"立即聚焦打开的选项卡\""
},
{
"source": ".setDesc(\"The model the AI Assistant will use\"",
"target": ".setDesc(\"AI 助手将使用的模型\""
},
{
"source": ".setDesc(\"The system prompt for the AI Assistant\"",
"target": ".setDesc(\"AI 助手的系统提示\""
},
{
"source": ".setDesc(\"Add an Obsidian command\"",
"target": ".setDesc(\"添加 Obsidian 命令\""
},
{
"source": ".setDesc(\"Add editor command\"",
"target": ".setDesc(\"添加编辑器命令\""
},
{
"source": ".setDesc(\"Add user script\"",
"target": ".setDesc(\"添加用户脚本\""
},
{
"source": ".setDesc(\"Add existing choice\"",
"target": ".setDesc(\"添加现有选项\""
},
{
"source": ".setDesc(\"The API Key for the AI Assistant\"",
"target": ".setDesc(\"人工智能助手的 API 密钥\""
},
{
"source": ".setDesc(\"The default model for the AI Assistant\"",
"target": ".setDesc(\"AI 助手的默认模型\""
},
{
"source": ".setDesc(\"Path to your folder with prompt templates\"",
"target": ".setDesc(\"带有提示模板的文件夹的路径\""
},
{
"source": ".setDesc(\"Show status messages from the AI Assistant\"",
"target": ".setDesc(\"显示 AI 助手的状态消息\""
},
{
"source": ".setDesc(\"The default system prompt for the AI Assistant\"",
"target": ".setDesc(\"AI 助手的默认系统提示\""
},
{
"source": ".setTooltip(`Toggle ${item}`",
"target": ".setTooltip(`切换 ${item}`"
},
{
"source": ".setTooltip(\"Create file if it doesn't exist\"",
"target": ".setTooltip(\"如果文件不存在,则创建该文件\""
},
{
"source": ".setTooltip(\"Add AI Assistant command\"",
"target": ".setTooltip(\"添加 AI 助手命令\""
},
{
"source": ".setTooltip(\"Add wait command\"",
"target": ".setTooltip(\"添加等待命令\""
},
{
"source": ".setTooltip(`Add ${typeName} Choice`",
"target": ".setTooltip(`添加 ${typeName} 选项`"
},
{
"source": ".setTooltip(\"Create Macro\"",
"target": ".setTooltip(\"创建宏\""
},
{
"source": ".setTooltip(\"Configure Macro\"",
"target": ".setTooltip(\"配置宏\""
},
{
"source": ".setTooltip(\"Use multi-line input prompt\"",
"target": ".setTooltip(\"使用多行输入提示\""
},
{
"source": ".setName(\"Template Path\"",
"target": ".setName(\"模板路径\""
},
{
"source": ".setName(\"File Name Format\"",
"target": ".setName(\"文件名格式\""
},
{
"source": ".setName(\"Create in folder\"",
"target": ".setName(\"在文件夹中创建\""
},
{
"source": ".setName(\"Include subfolders\"",
"target": ".setName(\"包含子文件夹\""
},
{
"source": ".setName(\"Create in same folder as active file\"",
"target": ".setName(\"在与活动文件相同的文件夹中创建\""
},
{
"source": ".setName(\"Append link\"",
"target": ".setName(\"附加链接\""
},
{
"source": ".setName(\"Set default behavior if file already exists\"",
"target": ".setName(\"如果文件已存在,则设置默认行为\""
},
{
"source": ".setName(\"Open\"",
"target": ".setName(\"打开\""
},
{
"source": ".setName(\"New split\"",
"target": ".setName(\"新拆分\""
},
{
"source": ".setName(\"Focus new pane\"",
"target": ".setName(\"聚焦新窗格\""
},
{
"source": ".setName(\"Capture To\"",
"target": ".setName(\"输出到\""
},
{
"source": ".setName(\"Write to bottom of file\"",
"target": ".setName(\"写入文件底部\""
},
{
"source": ".setName(\"Task\"",
"target": ".setName(\"任务\""
},
{
"source": ".setName(\"Insert after\"",
"target": ".setName(\"在之后插入\""
},
{
"source": ".setName(\"Insert at end of section\"",
"target": ".setName(\"在节末尾插入\""
},
{
"source": ".setName(\"Consider subsections\"",
"target": ".setName(\"考虑小节\""
},
{
"source": ".setName(\"Create line if not found\"",
"target": ".setName(\"如果未找到,则创建行\""
},
{
"source": ".setName(\"Capture format\"",
"target": ".setName(\"输出格式\""
},
{
"source": ".setName(\"Create file if it doesn't exist\"",
"target": ".setName(\"如果文件不存在,则创建该文件\""
},
{
"source": ".setName(\"Create file with given template.\"",
"target": ".setName(\"使用给定的模板创建文件。\""
},
{
"source": ".setName(\"New Tab\"",
"target": ".setName(\"新标签页\""
},
{
"source": ".setName(\"Prompt Template\"",
"target": ".setName(\"提示模板\""
},
{
"source": ".setName(\"Model\"",
"target": ".setName(\"模型\""
},
{
"source": ".setName(\"Output variable name\"",
"target": ".setName(\"输出变量名称\""
},
{
"source": ".setName(\"System Prompt\"",
"target": ".setName(\"系统提示\""
},
{
"source": ".setName(\"Show advanced settings\"",
"target": ".setName(\"显示高级设置\""
},
{
"source": ".setName(\"Temperature\"",
"target": ".setName(\"温度\""
},
{
"source": ".setName(\"Top P\"",
"target": ".setName(\"顶部 P\""
},
{
"source": ".setName(\"Frequency Penalty\"",
"target": ".setName(\"频率惩罚\""
},
{
"source": ".setName(\"Presence Penalty\"",
"target": ".setName(\"在场惩罚\""
},
{
"source": ".setName(\"Obsidian command\"",
"target": ".setName(\"Obsidian 命令\""
},
{
"source": ".setName(\"Editor commands\"",
"target": ".setName(\"编辑器命令\""
},
{
"source": ".setName(\"User Scripts\"",
"target": ".setName(\"用户脚本\""
},
{
"source": ".setName(\"Choices\"",
"target": ".setName(\"选择\""
},
{
"source": ".setName(\"API Key\"",
"target": ".setName(\"API 密钥\""
},
{
"source": ".setName(\"Default Model\"",
"target": ".setName(\"默认模型\""
},
{
"source": ".setName(\"Prompt Template Folder Path\"",
"target": ".setName(\"提示模板文件夹路径\""
},
{
"source": ".setName(\"Show Assistant\"",
"target": ".setName(\"显示助手\""
},
{
"source": ".setName(\"Default System Prompt\"",
"target": ".setName(\"默认系统提示\""
},
{
"source": ".setName(\"Announce Updates\"",
"target": ".setName(\"宣布更新\""
},
{
"source": ".setName(\"Use Multi-line Input Prompt\"",
"target": ".setName(\"使用多行输入提示\""
},
{
"source": ".setName(\"Template Folder Path\"",
"target": ".setName(\"模板文件夹路径\""
},
{
"source": ".setName(\"Disable AI & Online features\"",
"target": ".setName(\"禁用 AI 和联机功能\""
},
{
"source": ".setName(\"Result Joiner\"",
"target": ".setName(\"结果连接程序\""
},
{
"source": ".setName(\"Chunk Separator\"",
"target": ".setName(\"块状分离器\""
},
{
"source": ".setName(\"Max Chunk Tokens\"",
"target": ".setName(\"最大区块标记\""
},
{
"source": ".setName(\"Merge Chunks\"",
"target": ".setName(\"合并区块\""
},
{
"source": "This prevents the plugin from making requests to external providers like OpenAI. You can still use User Scripts to execute arbitrary code, inclulding contacting external providers. However, this setting disables plugin features like the AI Assistant from doing so. You need to disable this setting to use the AI Assistant.",
"target": "这阻止了插件向OpenAI等外部提供商发出请求。您仍然可以使用用户脚本来执行任意代码包括联系外部提供商。但是此设置会禁用AI助手等插件功能。您需要禁用此设置才能使用AI助手。"
},
{
"source": "Use multi-line input prompt instead of single-line input prompt",
"target": "使用多行输入提示而不是单行输入提示"
},
{
"source": "Path to the folder where templates are stored. Used to suggest template files when configuring QuickAdd.",
"target": "存储模板的文件夹的路径。用于在配置QuickAdd时建议模板文件。"
},
{
"source": "Display release notes when a new version is installed. This includes new features, demo videos, and bug fixes.",
"target": "安装新版本时显示发行说明。这包括新功能、演示视频和错误修复。"
},
{
"source": "throw new Error('Function called outside component initialization');",
"target": "throw new Error('在组件初始化外部调用的函数');"
},
{
"source": "ChoiceType[\"Capture\"] = \"Capture\";",
"target": "ChoiceType[\"Capture\"] = \"输出\";"
},
{
"source": "ChoiceType[\"Macro\"] = \"Macro\";",
"target": "ChoiceType[\"Macro\"] = \"宏\";"
},
{
"source": "ChoiceType[\"Multi\"] = \"Multi\";",
"target": "ChoiceType[\"Multi\"] = \"多种\";"
},
{
"source": "ChoiceType[\"Template\"] = \"Template\";",
"target": "ChoiceType[\"Template\"] = \"模版\";"
},
{
"source": "attr(div, \"aria-label\", div_aria_label_value = `Configure${/*choiceName*/ ctx[3] ? \" \" + /*choiceName*/ ctx[3] : \"\"}`);",
"target": "attr(div, \"aria-label\", div_aria_label_value = `配置${/*choiceName*/ ctx[3] ? \" \" + /*choiceName*/ ctx[3] : \"\"}`);"
},
{
"source": "if (!current || dirty & /*choiceName*/ 8 && div_aria_label_value !== (div_aria_label_value = `Configure${/*choiceName*/ ctx[3] ? \" \" + /*choiceName*/ ctx[3] : \"\"}`)) {",
"target": "if (!current || dirty & /*choiceName*/ 8 && div_aria_label_value !== (div_aria_label_value = `配置${/*choiceName*/ ctx[3] ? \" \" + /*choiceName*/ ctx[3] : \"\"}`)) {"
},
{
"source": "attr(div0, \"aria-label\", div0_aria_label_value = `${/*commandEnabled*/ ctx[2] ? \"Remove\" : \"Add\"} command${/*choiceName*/ ctx[3]",
"target": "attr(div0, \"aria-label\", div0_aria_label_value = `${/*commandEnabled*/ ctx[2] ? \"移除\" : \"添加\"} 命令${/*choiceName*/ ctx[3]"
},
{
"source": "? \" for \" + /*choiceName*/ ctx[3]",
"target": "? \" \" + /*choiceName*/ ctx[3]"
},
{
"source": "attr(div1, \"aria-label\", div1_aria_label_value = `Delete${/*choiceName*/ ctx[3] ? \" \" + /*choiceName*/ ctx[3] : \"\"}`);",
"target": "attr(div1, \"aria-label\", div1_aria_label_value = `删除${/*choiceName*/ ctx[3] ? \" \" + /*choiceName*/ ctx[3] : \"\"}`);"
},
{
"source": "attr(div2, \"aria-label\", \"Drag-handle\");",
"target": "attr(div2, \"aria-label\", \"拖动排序\");"
},
{
"source": "if (!current || dirty & /*commandEnabled, choiceName*/ 12 && div0_aria_label_value !== (div0_aria_label_value = `${/*commandEnabled*/ ctx[2] ? \"Remove\" : \"Add\"} command${/*choiceName*/ ctx[3]",
"target": "if (!current || dirty & /*commandEnabled, choiceName*/ 12 && div0_aria_label_value !== (div0_aria_label_value = `${/*commandEnabled*/ ctx[2] ? \"Remove\" : \"Add\"} 命令${/*choiceName*/ ctx[3]"
},
{
"source": "if (!current || dirty & /*choiceName*/ 8 && div1_aria_label_value !== (div1_aria_label_value = `Delete${/*choiceName*/ ctx[3] ? \" \" + /*choiceName*/ ctx[3] : \"\"}`)) {",
"target": "if (!current || dirty & /*choiceName*/ 8 && div1_aria_label_value !== (div1_aria_label_value = `删除${/*choiceName*/ ctx[3] ? \" \" + /*choiceName*/ ctx[3] : \"\"}`)) {"
},
{
"source": "throw new Error(\"cannot get depth of a falsy node\");",
"target": "throw new Error(\"不能得到假节点的深度\");"
},
{
"source": "var ID_TO_INSTRUCTION = (_ID_TO_INSTRUCTION = {}, _defineProperty(_ID_TO_INSTRUCTION, INSTRUCTION_IDs.DND_ZONE_ACTIVE, \"Tab to one the items and press space-bar or enter to start dragging it\"), _defineProperty(_ID_TO_INSTRUCTION, INSTRUCTION_IDs.DND_ZONE_DRAG_DISABLED, \"This is a disabled drag and drop list\"), _ID_TO_INSTRUCTION);",
"target": "var ID_TO_INSTRUCTION = (_ID_TO_INSTRUCTION = {}, _defineProperty(_ID_TO_INSTRUCTION, INSTRUCTION_IDs.DND_ZONE_ACTIVE, \"按Tab键选择一个项目按空格键或回车键开始拖动\"), _defineProperty(_ID_TO_INSTRUCTION, INSTRUCTION_IDs.DND_ZONE_DRAG_DISABLED, \"此列表禁止拖放操作\"), _ID_TO_INSTRUCTION);"
},
{
"source": "alertToScreenReader(\"Moved item \".concat(focusedItemLabel, \" to the end of the list \").concat(focusedDzLabel));",
"target": "alertToScreenReader(\"移动 \".concat(focusedItemLabel, \" 到列表最后位置 \").concat(focusedDzLabel));"
},
{
"source": "alertToScreenReader(\"Moved item \".concat(focusedItemLabel, \" to the beginning of the list \").concat(focusedDzLabel));",
"target": "alertToScreenReader(\"移动 \".concat(focusedItemLabel, \" 到列表顶部位置 \").concat(focusedDzLabel));"
},
{
"source": "alertToScreenReader(\"Stopped dragging item \".concat(focusedItemLabel));",
"target": "alertToScreenReader(\"停止拖拽 \".concat(focusedItemLabel));"
},
{
"source": "alertToScreenReader(\"Moved item \".concat(focusedItemLabel, \" to position \").concat(idx + 2, \" in the list \").concat(focusedDzLabel));",
"target": "alertToScreenReader(\"移动 \".concat(focusedItemLabel, \" 到列表中 \").concat(idx + 2, \" 的位置 \").concat(focusedDzLabel));"
},
{
"source": "alertToScreenReader(\"Moved item \".concat(focusedItemLabel, \" to position \").concat(_idx, \" in the list \").concat(focusedDzLabel));",
"target": "alertToScreenReader(\"移动 \".concat(focusedItemLabel, \" 到列表位于 \").concat(_idx, \" 的位置 \").concat(focusedDzLabel));"
},
{
"source": "var msg = \"Started dragging item \".concat(focusedItemLabel, \". Use the arrow keys to move it within its list \").concat(focusedDzLabel);",
"target": "var msg = \"开始拖动 \".concat(focusedItemLabel, \"。使用箭头键在列表中移动 \").concat(focusedDzLabel);"
},
{
"source": "msg += \", or tab to another list in order to move the item into it\";",
"target": "msg += \", 或者使用 TAB 键将项目移到另一个列表中\";"
},
{
"source": "button.textContent = \"Add Choice\";",
"target": "button.textContent = \"添加选择\";"
},
{
"source": "attr(input, \"placeholder\", \"Name\");",
"target": "attr(input, \"placeholder\", \"名称\");"
},
{
"source": "new obsidian.Notice(\"Choice name is invalid.\");",
"target": "new obsidian.Notice(\"选择 名称无效。\");"
},
{
"source": "button0.textContent = \"No\";",
"target": "button0.textContent = \"取消\";"
},
{
"source": "button1.textContent = \"Yes\";",
"target": "button1.textContent = \"确定\";"
},
{
"source": "return `File Name: ${output}`;",
"target": "return `文件名: ${output}`;"
},
{
"source": ".setName('Template Path')",
"target": ".setName('模板路径')"
},
{
"source": ".setDesc('Path to the Template.')",
"target": ".setDesc('设置模板的路径。')"
},
{
"source": "search.setPlaceholder(\"Template path\");",
"target": "search.setPlaceholder(\"模板路径\");"
},
{
"source": "enableSetting.setName(\"File Name Format\")",
"target": "enableSetting.setName(\"文件名格式\")"
},
{
"source": "formatInput.setPlaceholder(\"File name format\");",
"target": "formatInput.setPlaceholder(\"文件名格式\");"
},
{
"source": "folderSetting.setName(\"Create in folder\")",
"target": "folderSetting.setName(\"文件夹中创建\")"
},
{
"source": "chooseFolderWhenCreatingNoteContainer.createEl('span', { text: \"Choose folder when creating a new note\" });",
"target": "chooseFolderWhenCreatingNoteContainer.createEl('span', { text: \"创建新笔记时选择文件夹\" });"
},
{
"source": "createInSameFolderAsActiveFileSetting.setName(\"Create in same folder as active file\")",
"target": "createInSameFolderAsActiveFileSetting.setName(\"在与活动文件相同的文件夹中创建\")"
},
{
"source": "appendLinkSetting.setName(\"Append link\")",
"target": "appendLinkSetting.setName(\"添加链接\")"
},
{
"source": "incrementFileNameSetting.setName(\"Increment file name\")",
"target": "incrementFileNameSetting.setName(\"增量文件名称\")"
},
{
"source": ".setDesc(\"If the file already exists, increment the file name.\")",
"target": ".setDesc(\"如果文件已经存在,则增加文件名。\")"
},
{
"source": "noOpenSetting.setName(\"Open\")",
"target": "noOpenSetting.setName(\"打开\")"
},
{
"source": "newTabSetting.setName(\"New Tab\")",
"target": "newTabSetting.setName(\"新面板\")"
},
{
"source": ".setDesc(\"Open created file in a new tab.\")",
"target": ".setDesc(\"在新新面板中打开创建的文件。\")"
},
{
"source": "dropdown.addOption(NewTabDirection.vertical, \"Vertical\");",
"target": "dropdown.addOption(NewTabDirection.vertical, \"垂直\");"
},
{
"source": "dropdown.addOption(NewTabDirection.horizontal, \"Horizontal\");",
"target": "dropdown.addOption(NewTabDirection.horizontal, \"水平\");"
},
{
"source": "log.logError(`${filePath} not found`);",
"target": "log.logError(`${filePath} 未找到`);"
},
{
"source": "log.logError(`${filePath} found but it's a folder`);",
"target": "log.logError(`找到了 ${filePath} ,不过是个文件夹`);"
},
{
"source": "this.rejectPromise(\"no input given.\");",
"target": "this.rejectPromise(\"没有输入。\");"
},
{
"source": ".setTooltip(`Toggle ${item}`)",
"target": ".setTooltip(`切换 ${item}`)"
},
{
"source": "submitButton.setButtonText(\"Submit\").setCta().onClick(evt => {",
"target": "submitButton.setButtonText(\"提交\").setCta().onClick(evt => {"
},
{
"source": "log.logError(`choice named '${choiceName}' not found`);",
"target": "log.logError(`未找到名称为 '${choiceName}' 的选择`);"
},
{
"source": "EditorCommandType[\"Cut\"] = \"Cut\";",
"target": "EditorCommandType[\"Cut\"] = \"剪切\";"
},
{
"source": "EditorCommandType[\"Copy\"] = \"Copy\";",
"target": "EditorCommandType[\"Copy\"] = \"复制\";"
},
{
"source": "EditorCommandType[\"Paste\"] = \"Paste\";",
"target": "EditorCommandType[\"Paste\"] = \"粘贴\";"
},
{
"source": "EditorCommandType[\"SelectActiveLine\"] = \"Select active line\";",
"target": "EditorCommandType[\"SelectActiveLine\"] = \"选择光标所在行\";"
},
{
"source": "EditorCommandType[\"SelectLinkOnActiveLine\"] = \"Select link on active line\";",
"target": "EditorCommandType[\"SelectLinkOnActiveLine\"] = \"选择光标所在行上的链接\";"
},
{
"source": "log.logError(\"no active markdown view.\");",
"target": "log.logError(\"没有活动的 markdown 窗口。\");"
},
{
"source": "log.logError(\"nothing selected.\");",
"target": "log.logError(\"未选择任何内容。\");"
},
{
"source": "log.logError(`no internal link found on line ${lineNumber}.`);",
"target": "log.logError(`在 ${lineNumber} 行没有发现内部链接。`);"
},
{
"source": "log.logError(`No commands in the selected macro. Did you select a macro for '${this.choice.name}'?`);",
"target": "log.logError(`所选宏中没有命令。您选择宏为 '${this.choice.name}' ?`);"
},
{
"source": "log.logError(`failed to load user script ${command.path}.`);",
"target": "log.logError(`加载用户脚本失败 ${command.path}.`);"
},
{
"source": "log.logError(`user script in macro for '${this.choice.name}' is invalid`);",
"target": "log.logError(`用户脚本在宏 '${this.choice.name}' 中是无效的`);"
},
{
"source": "log.logError(\"choice could not be found.\");",
"target": "log.logError(\"找不到选择。\");"
},
{
"source": "log.logError(`choice in ${command.name} is invalid`);",
"target": "log.logError(`选择在 ${command.name} 中是无效的`);"
},
{
"source": "log.logError(`macro '${macroName}' does not exist.`);",
"target": "log.logError(`宏 '${macroName}' 不存在`);"
},
{
"source": "await GenericInputPrompt.Prompt(this.app, (_a = this.valueHeader) !== null && _a !== void 0 ? _a : `Enter value`);",
"target": "await GenericInputPrompt.Prompt(this.app, (_a = this.valueHeader) !== null && _a !== void 0 ? _a : `输入值`);"
},
{
"source": "throw new Error(\"detected numbers but couldn't get them.\");",
"target": "throw new Error(\"检测到号码,但找不到。\");"
},
{
"source": "log.logError(`Could not create file with template. Maybe '${templatePath}' is an invalid template path?`);",
"target": "log.logError(`无法使用模板创建文件。 或许 '${templatePath}' 是无效的模板路径?`);"
},
{
"source": "log.logError(`Template ${this.templatePath} not found.`);",
"target": "log.logError(`模版 ${this.templatePath} 未找到。`);"
},
{
"source": "return `Template (not found): ${templatePath}`;",
"target": "return `模版 (未找到): ${templatePath}`;"
},
{
"source": ".setName('Capture To')",
"target": ".setName('输出到')"
},
{
"source": ".setDesc('File to capture to. Supports some format syntax.');",
"target": ".setDesc('要输出到的文件。支持一些格式语法。');"
},
{
"source": "captureToActiveFileText.textContent = \"Capture to active file\";",
"target": "captureToActiveFileText.textContent = \"输出到活动文件\";"
},
{
"source": "prependSetting.setName(\"Write to bottom of file\")",
"target": "prependSetting.setName(\"写入文件底部\")"
},
{
"source": ".setDesc(`Put value at the bottom of the file - otherwise at the ${((_a = this.choice) === null || _a === void 0 ? void 0 : _a.captureToActiveFile) ? \"active cursor location\" : \"top\"}.`)",
"target": ".setDesc(`将值放在文件的底部,否则放在 ${((_a = this.choice) === null || _a === void 0 ? void 0 : _a.captureToActiveFile) ? \"聚集的光标位置\" : \"顶部\"}.`)"
},
{
"source": "taskSetting.setName(\"Task\")",
"target": "taskSetting.setName(\"任务\")"
},
{
"source": "insertAfterSetting.setName(\"Insert after\")",
"target": "insertAfterSetting.setName(\"后插入\")"
},
{
"source": "insertAfterInput.setPlaceholder(\"Insert after\");",
"target": "insertAfterInput.setPlaceholder(\"后插入\");"
},
{
"source": "insertAtEndSetting.setName(\"Insert at end of section\")",
"target": "insertAtEndSetting.setName(\"插入到节的末尾\")"
},
{
"source": "createLineIfNotFound.setName(\"Create line if not found\")",
"target": "createLineIfNotFound.setName(\"没找到就创建新行\")"
},
{
"source": "enableSetting.setName(\"Capture format\")",
"target": "enableSetting.setName(\"输出格式\")"
},
{
"source": "formatInput.setPlaceholder(\"Format\");",
"target": "formatInput.setPlaceholder(\"输出\");"
},
{
"source": "createWithTemplateSetting.setName(\"Create file with given template.\")",
"target": "createWithTemplateSetting.setName(\"用给定的模板创建文件。\")"
},
{
"source": ".addOption('source', 'Source')",
"target": ".addOption('source', '源')"
},
{
"source": ".addOption('preview', 'Preview')",
"target": ".addOption('preview', '预览')"
},
{
"source": ".addOption('default', 'Default')",
"target": ".addOption('default', '默认')"
},
{
"source": "attr(span1, \"aria-label\", \"Drag-handle\");",
"target": "attr(span1, \"aria-label\", \"拖动排序\");"
},
{
"source": "t1 = text(\" for \");",
"target": "t1 = text(\" \");"
},
{
"source": "attr(span2, \"aria-label\", \"Drag-handle\");",
"target": "attr(span2, \"aria-label\", \"拖动排序\");"
},
{
"source": "textComponent.setPlaceholder(\"Obsidian command\");",
"target": "textComponent.setPlaceholder(\"Obsidian 命令\");"
},
{
"source": ".addButton(button => button.setCta().setButtonText(\"Add\").onClick(addObsidianCommandFromInput));",
"target": ".addButton(button => button.setCta().setButtonText(\"添加\").onClick(addObsidianCommandFromInput));"
},
{
"source": "log.logError(\"invalid editor command type\");",
"target": "log.logError(\"无效的编辑器命令类型\");"
},
{
"source": ".addButton(button => button.setCta().setButtonText(\"Add\").onClick(addEditorCommandFromDropdown));",
"target": ".addButton(button => button.setCta().setButtonText(\"添加\").onClick(addEditorCommandFromDropdown));"
},
{
"source": "textComponent.setPlaceholder(\"User script\");",
"target": "textComponent.setPlaceholder(\"用户脚本\");"
},
{
"source": "textComponent.setPlaceholder(\"Choice\");",
"target": "textComponent.setPlaceholder(\"选择\");"
},
{
"source": "const promptAnswer = await GenericYesNoPrompt.Prompt(this.app, \"Are you sure you wish to delete this command?\", `If you click yes, you will delete '${command.name}'.`);",
"target": "const promptAnswer = await GenericYesNoPrompt.Prompt(this.app, \"您确定要删除此命令吗?\", `如果您单击 确定,您将删除 '${command.name}' 。`);"
},
{
"source": "this.newChoiceButton(quickCommandContainer, \"Capture\", CaptureChoice);",
"target": "this.newChoiceButton(quickCommandContainer, \"输出\", CaptureChoice);"
},
{
"source": "this.newChoiceButton(quickCommandContainer, \"Template\", TemplateChoice);",
"target": "this.newChoiceButton(quickCommandContainer, \"模板\", TemplateChoice);"
},
{
"source": "button.setIcon('clock').setTooltip(\"Add wait command\").onClick(() => {",
"target": "button.setIcon('clock').setTooltip(\"添加等待命令\").onClick(() => {"
},
{
"source": "button.setButtonText(typeName).setTooltip(`Add ${typeName} Choice`).onClick(() => {",
"target": "button.setButtonText(typeName).setTooltip(`添加 ${typeName} 选择`).onClick(() => {"
},
{
"source": "const captureChoice = new type(`Untitled ${typeName} Choice`);",
"target": "const captureChoice = new type(`命未名的 ${typeName} 选择`);"
},
{
"source": "this.contentEl.createEl('h2', { text: 'Macro Manager' }).style.textAlign = \"center\";",
"target": "this.contentEl.createEl('h2', { text: '宏管理器' }).style.textAlign = \"center\";"
},
{
"source": "this.addSpanWithText(itemContainerEl, \"Run on plugin load\");",
"target": "this.addSpanWithText(itemContainerEl, \"在插件加载时运行\");"
},
{
"source": "deleteButton.setButtonText(\"Delete\").onClick(evt => {",
"target": "deleteButton.setButtonText(\"删除\").onClick(evt => {"
},
{
"source": "configureButton.setButtonText(\"Configure\").onClick(async (evt) => {",
"target": "configureButton.setButtonText(\"配置\").onClick(async (evt) => {"
},
{
"source": "nameInput.setPlaceholder(\"Macro name\");",
"target": "nameInput.setPlaceholder(\"宏名称\");"
},
{
"source": "addMacroButton.setButtonText(\"Add macro\")",
"target": "addMacroButton.setButtonText(\"添加宏\")"
},
{
"source": "log.logError(\"macro invalid - will not be added\");",
"target": "log.logError(\"宏无效-将不会被添加\");"
},
{
"source": "button.textContent = \"Manage Macros\";",
"target": "button.textContent = \"管理宏\";"
},
{
"source": "const userConfirmed = yield GenericYesNoPrompt.Prompt(app, `Confirm deletion of choice`, `Please confirm that you wish to delete '${choice.name}'.",
"target": "const userConfirmed = yield GenericYesNoPrompt.Prompt(app, `确认删除选择`, `请确认您想要删除 '${choice.name}'."
},
{
"source": "? \"Deleting this choice will delete all (\" + choice.choices.length + \") choices inside it!\"",
"target": "? \"删除该选项将删除其中所有 (\" + choice.choices.length + \") 个选项!\""
},
{
"source": "const name = yield GenericInputPrompt.Prompt(app, `Rename ${oldChoice.name}`, \"\", oldChoice.name);",
"target": "const name = yield GenericInputPrompt.Prompt(app, `重命名 ${oldChoice.name}`, \"\", oldChoice.name);"
},
{
"source": "containerEl.createEl('h2', { text: 'QuickAdd Settings' });",
"target": "containerEl.createEl('h2', { text: '快速添加设置' });"
},
{
"source": "log.logError(`'${filePath}' already exists and is not a valid markdown file.`);",
"target": "log.logError(`'${filePath}' 已经存在并且不是一个有效的markdown文件。`);"
},
{
"source": "log.logWarning(\"File not written to.\");",
"target": "log.logWarning(\"文件未写入。\");"
},
{
"source": "log.logWarning(`Could not create file '${filePath}'.`);",
"target": "log.logWarning(`无法创建文件 '${filePath}'.`);"
},
{
"source": "log.logError(\"No active file. Cannot create new file.\");",
"target": "log.logError(\"没有活跃的文件。无法创建新文件。\");"
},
{
"source": "log.logError(\"unable to find insert after line in file.\");",
"target": "log.logError(\"无法在文件行后找到插入位置。\");"
},
{
"source": "log.logMessage(\"could not get frontmatter. Maybe there isn't any.\");",
"target": "log.logMessage(\"不能做正事。也许根本就没有。\");"
},
{
"source": "log.logError(`Invalid capture to for ${this.choice.name}`);",
"target": "log.logError(`对 ${this.choice.name} 输出无效`);"
},
{
"source": "log.logWarning(`The file ${filePath} does not exist and \"Create file if it doesn't exist\" is disabled.`);",
"target": "log.logWarning(`文件 ${filePath} 不存在,并且禁用了“如果不存在则创建文件”。`);"
},
{
"source": "log.logError(\"Cannot capture to active file - no active file.\");",
"target": "log.logError(\"无法输出活动文件-没有活动文件。\");"
},
{
"source": "log.logError(`please provide a template path for ${templateChoice.name}`);",
"target": "log.logError(`请为 ${templateChoice.name} 提供模板路径`);"
},
{
"source": "log.logError(`please provide a capture path for ${captureChoice.name}`);",
"target": "log.logError(`请为 ${captureChoice.name} 提供输出路径`);"
},
{
"source": "return `QuickAdd: (${error.level}) ${error.message}`;",
"target": "return `快速添加: (${error.level}) ${error.message}`;"
},
{
"source": "console.log('Loading QuickAdd');",
"target": "console.log('加载快速添加');"
},
{
"source": "name: 'Run QuickAdd',",
"target": "name: '运行快速添加',"
},
{
"source": "console.log('Unloading QuickAdd');",
"target": "console.log('未载入快速添加');"
},
{
"source": "id: `choice:${choice.id}`,",
"target": "id: `选择:${choice.id}`,"
},
{
"source": "deleteObsidianCommand(this.app, `quickadd:choice:${choice.id}`);",
"target": "deleteObsidianCommand(this.app, `快速添加:选择 ${choice.id}`);"
},
{
"source": "setButtonText(\"Delete\"",
"target": "setButtonText(\"删除\""
},
{
"source": "addOption(\"Copy\" /* Copy */, \"Copy\"",
"target": "addOption(\"Copy\" /* Copy */, \"复制\""
},
{
"source": ".addOption(\"Cut\" /* Cut */, \"Cut\"",
"target": ".addOption(\"Cut\" /* Cut */, \"剪切\""
},
{
"source": ".addOption(\"Paste\" /* Paste */, \"Paste\"",
"target": ".addOption(\"Paste\" /* Paste */, \"粘贴\""
},
{
"source": "Are you sure you wish to delete this command?",
"target": "您确定要删除此命令吗?"
},
{
"source": "`If you click yes, you will delete '${command.name}'.`",
"target": "`如果单击“是”,您将删除 '${command.name}'.`"
},
{
"source": "setButtonText(\"Yes\"",
"target": "setButtonText(\"是\""
},
{
"source": "setButtonText(\"No\"",
"target": "setButtonText(\"否\""
},
{
"source": "`Untitled ${typeName} Choice`",
"target": "`无标题 ${typeName} 选择`"
},
{
"source": "`Put value at the bottom of the file - otherwise at the",
"target": "`将值放在文件的底部,否则放在"
},
{
"source": "active cursor location : \"top\"",
"target": "活动光标位置 : \"顶部\""
},
{
"source": "Add a link on your current cursor position, linking to the file",
"target": "在当前光标位置添加链接,链接到文件"
},
{
"source": "you're capturing to.\"",
"target": "您正在输出到。\""
},
{
"source": "Insert capture after specified line. Accepts format syntax.",
"target": "在指定行之后插入输出。接受格式语法。"
},
{
"source": ".addOption(\"source\", \"Source\"",
"target": ".addOption(\"source\", \"源码\""
},
{
"source": "Preview).addOption(\"default\", \"Default\"",
"target": "预览).addOption(\"default\", \"默认\""
},
{
"source": ".addOption(\"vertical\" /* vertical */, \"Vertical\"",
"target": ".addOption(\"vertical\" /* vertical */, \"纵向\""
},
{
"source": "addOption(\"horizontal\" /* horizontal */, \"Horizontal\"",
"target": "addOption(\"horizontal\" /* horizontal */, \"横向\""
},
{
"source": "Insert the text at the end of the section, rather than at the",
"target": "将文本插入节的末尾,而不是"
},
{
"source": "top.\"",
"target": "顶部\""
},
{
"source": "Enabling this will insert the text at the end of the section &",
"target": "启用此选项将在节末尾插入文本和"
},
{
"source": "its subsections, rather than just at the end of the target",
"target": "它的子部分,而不仅仅是在目标的末尾"
},
{
"source": "section.A section is defined by a heading, and its subsections",
"target": "部分小节由标题及其小节定义"
},
{
"source": "are all the headings inside that section.\"",
"target": "是该部分中的所有标题。\""
},
{
"source": "return `Invalid template path for ${this.choice.name}. ${this.",
"target": "return `的模板路径无效 ${this.choice.name}. ${this."
},
{
"source": "choice.templatePath.length === 0 ? \"Template path is empty.\" :",
"target": "choice.templatePath.length === 0 ? \"模板路径为空。\" :"
},
{
"source": "`Template path is not valid: ${this.choice.templatePath}`}`;",
"target": "`模板路径无效: ${this.choice.templatePath}`}`;"
},
{
"source": "`${\"Template\"}`",
"target": "`${\"模板\"}`"
},
{
"source": "`${\"Capture\"}`",
"target": "`${\"输出\"}`"
},
{
"source": "`${\"Macro\"}`",
"target": "`${\"宏\"}`"
},
{
"source": "`${\"Multi\"}`",
"target": "`${\"组合命令\"}`"
},
{
"source": "`Confirm deletion of choice`, `Please confirm that you wish to delete '${choice.name}'",
"target": "`确认删除选择`, `请确认您希望删除 '${choice.name}'"
},
{
"source": " \"Cancel\"",
"target": " \"取消\""
},
{
"source": " \"Ok\"",
"target": " \"确定\""
},
{
"source": "`Rename ${oldChoice.name}`",
"target": "`重命名 ${oldChoice.name}`"
},
{
"source": ".textContent=\"Manage Macros\"",
"target": ".textContent=\"管理宏\""
},
{
"source": ".textContent=\"AI Assistant\"",
"target": ".textContent=\"AI助手\""
},
{
"source": ".textContent=\"Template\"",
"target": ".textContent=\"模板\""
},
{
"source": ".textContent=\"Capture\"",
"target": ".textContent=\"输出\""
},
{
"source": ".textContent=\"Macro\"",
"target": ".textContent=\"宏\""
},
{
"source": ".textContent=\"Multi\"",
"target": ".textContent=\"组合\""
},
{
"source": ".textContent=\"Add Choice\"",
"target": ".textContent=\"添加选项\""
},
{
"source": ".setDesc(\"This prevents the plugin from making requests to external providers like OpenAI. You can still use User Scripts to execute arbitrary code, including contacting external providers. However, this setting disables plugin features like the AI Assistant from doing so. You need to disable this setting to use the AI Assistant.\")",
"target": ".setDesc(\"这可以防止插件向OpenAI等外部提供者发出请求。您仍然可以使用用户脚本执行任意代码包括联系外部提供商。但是此设置会禁用AI助手等插件功能。您需要禁用此设置才能使用AI助手。\")"
},
{
"source": ".textContent=\"Capture to active file\"",
"target": ".textContent=\"输出到活动文件\""
},
{
"source": "`File Name:",
"target": "`文件名:"
},
{
"source": "(I,\"placeholder\",\"Name\")",
"target": "(I,\"placeholder\",\"名称\")"
},
{
"source": ".Notice(\"Choice name is invalid.\")",
"target": ".Notice(\"选项名称无效。\")"
},
{
"source": ".addOption(\"source\",\"Source\")",
"target": ".addOption(\"source\",\"源码模式\")"
},
{
"source": ".addOption(\"preview\",\"Preview\")",
"target": ".addOption(\"preview\",\"阅读模式\")"
},
{
"source": ".addOption(\"default\",\"Default\")",
"target": ".addOption(\"default\",\"默认模式\")"
},
{
"source": ".addOption(\"vertical\",\"Vertical\")",
"target": ".addOption(\"vertical\",\"垂直拆分\")"
},
{
"source": ".addOption(\"horizontal\",\"Horizontal\")",
"target": ".addOption(\"horizontal\",\"横向拆分\")"
},
{
"source": ".addOption(Jc,\"Top\")",
"target": ".addOption(Jc,\"顶部\")"
},
{
"source": ".addOption(R1,\"Bottom\")",
"target": ".addOption(R1,\"底部\")"
},
{
"source": ".addOption(X1,\"Cursor\")",
"target": ".addOption(X1,\"光标处\")"
},
{
"source": ".addOption(\"Copy\",\"Copy\")",
"target": ".addOption(\"Copy\",\"复制\")"
},
{
"source": ".addOption(\"Cut\",\"Cut\")",
"target": ".addOption(\"Cut\",\"剪切\")"
},
{
"source": ".addOption(\"Paste\",\"Paste\")",
"target": ".addOption(\"Paste\",\"粘贴\")"
},
{
"source": ".addOption(\"Select active line\",\"Select active line\")",
"target": ".addOption(\"Select active line\",\"选择活动行\")"
},
{
"source": ".addOption(\"Select link on active line\",\"Select link on active line\")",
"target": ".addOption(\"Select link on active line\",\"选择活动行上的链接\")"
},
{
"source": ".addSpanWithText(W,\"Run on plugin load\")",
"target": ".addSpanWithText(W,\"在插件加载时运行\")"
},
{
"source": "b(`Untitled ${l} Choice`)",
"target": "b(`未命名的 ${l} 选项`)"
},
{
"source": "j2=\"Increment the file name\",QG=\"Append to the bottom of the file\",JG=\"Append to the top of the file\",vG=\"Overwrite the file\",f2=\"Nothing\"",
"target": "j2=\"增加文件名\",QG=\"附加到文件底部\",JG=\"附加到文件顶部\",vG=\"覆盖文件\",f2=\"无\""
},
{
"source": "name:\"Run QuickAdd\"",
"target": "name:\"运行 QuickAdd\""
},
{
"source": ".Prompt(d,`Rename ${p.name}`",
"target": ".Prompt(d,`重命名 ${p.name}`"
},
{
"source": "this.createButton(l,\"Cancel\"",
"target": "this.createButton(l,\"取消\""
},
{
"source": "this.createButton(l,\"Ok\"",
"target": "this.createButton(l,\"确认\""
},
{
"source": "(copy)`",
"target": "(副本)`"
},
{
"source": "d,\"Confirm deletion of choice\",`Please confirm that you wish to delete '",
"target": "d,\"确认删除选项\",`请确认您要删除 '"
}
]
}
}
}