diff --git a/src/translations/vnote_zh_CN.qm b/src/translations/vnote_zh_CN.qm index 8a532931..81031d3d 100644 Binary files a/src/translations/vnote_zh_CN.qm and b/src/translations/vnote_zh_CN.qm differ diff --git a/src/translations/vnote_zh_CN.ts b/src/translations/vnote_zh_CN.ts index 8c5dd728..88a27524 100644 --- a/src/translations/vnote_zh_CN.ts +++ b/src/translations/vnote_zh_CN.ts @@ -40,32 +40,32 @@ VDirectory - + Fail to create image folder <span style="%1">%2</span>. 新建图片目录 <span style="%1">%2</span> 失败。 - + Please check if there already exists a file <span style="%1">%2</span> and then manually copy it and modify the note accordingly. 请确认是否已经存在文件 <span style="%1">%2</span> ,然后手动拷贝并修改笔记对应内容。 - + Warning 警告 - + Fail to copy image <span style="%1">%2</span> while %5 note <span style="%3">%4</span>. %5笔记 <span style="%3">%4</span>时,复制图片 <span style="%1">%2</span> 失败。 - + moving 移动 - + copying 复制 @@ -249,125 +249,85 @@ VEdit - + &Save Changes And Read 保存更改并阅读 (&S) - + Save changes and exit edit mode 保存对当前笔记的更改并退出编辑模式 - + &Discard Changes And Read 放弃更改并阅读 (&D) - + Discard changes and exit edit mode 放弃对当前笔记的更改并退出编辑模式 - + &Edit 编辑 (&E) - + Edit current note 编辑当前笔记 - - VEditTab - - - Information - 信息 - - - - Note <span style="%1">%2</span> has been modified. - 笔记 <span style="%1">%2</span> 已经被更改。 - - - - Do you want to save your changes? - 是否保存更改? - - - - - Warning - 警告 - - - - - Fail to save note. - 保存笔记失败。 - - - - File <span style="%1">%2</span> being written has been removed. - 将要写入的文件 <span style="%1">%2</span> 已经被移除。 - - - - Fail to write to disk when saving a note. Please try it again. - 保存笔记时,写入文件失败。请稍后再试。 - - VEditWindow - - Locate To Directory - 定位所在目录 + + Locate To Folder + 定位所在文件夹 - - Locate the directory of current note - 定位当前笔记所在目录 + + Locate the folder of current note + 定位到当前笔记所在的文件夹 - + Move One Split Left 左移一个分割窗口 - + Move current tab to the split on the left 将当前标签页往左移动一个分割窗口 - + Move One Split Right 右移一个分割窗口 - + Move current tab to the split on the right 将当前标签页往右移动一个分割窗口 - + Split 分割 - + Split current window vertically 竖直分割当前窗口 - + Remove split 移除分割 - + Remove current split window 移除当前分割窗口 @@ -375,72 +335,72 @@ VExporter - + Target &path: 目标路径(&P): - + &Browse 浏览文件 (&B) - + Page layout: 页面布局: - + &Settings 设置(&S) - + Open File Location 打开文件所在位置 - + Export Note 导出笔记 - + Portable Document Format (*.pdf) 可移植文档格式 (*.pdf) - + WebPage, Complete (*.html) 网页,全部 (*.html) - + Export As 导出到文件 - + Portrait 纵向 - + Landscape 横向 - + Export note <span style="%1">%2</span> as %3. 将笔记 <span style="%1">%2</span> 导出为%3。 - + Export As %1 导出为%1 - + Exporting %1 正在导出 %1 @@ -511,42 +471,47 @@ 笔记信息 - + + Fail to rename note <span style="%1">%2</span>. + 重命名笔记 <span style="%1">%2</span> 失败。 + + + Create a note in <span style="%1">%2</span>. 在目录 <span style="%1">%2</span> 中新建笔记。 - + Fail to create note <span style="%1">%2</span>. 新建笔记 <span style="%1">%2</span> 失败。 - + Are you sure to delete note <span style="%1">%2</span>? 确认删除笔记 <span style="%1">%2</span>? - + <span style="%1">WARNING</span>: The files (including images) deleted may be UNRECOVERABLE! <span style="%1">警告</span>:被删除的文件(包括图片)可能是不可恢复的! - + Fail to copy note <span style="%1">%2</span>. 复制笔记 <span style="%1">%2</span> 失败。 - + Please check if there already exists a file with the same name in the target folder. 请检查目标文件夹中是否已经存在同名文件。 - + You should close the note <span style="%1">%2</span> before continue. 继续之前请先关闭笔记 <span style="%1">%2</span>。 - + Note with name ending with ".md" will be treated as Markdown type. 名字以".md"结尾的笔记会被作为Markdown类型处理。 @@ -571,30 +536,31 @@ 在操作系统中打开该笔记所在目录 - + Note &name: 笔记名 (&N): - + Create Note 新建笔记 - + Name already exists. Please choose another name. 该笔记本名已存在。请选择另一个名字。 - - - - + + + + + Warning 警告 - + The renaming will change the note type. 重命名会更改笔记类型。 @@ -690,6 +656,46 @@ 默认 + + VHtmlTab + + + Information + 注意 + + + + Note <span style="%1">%2</span> has been modified. + 笔记 <span style="%1">%2</span> 已经被更改。 + + + + Do you want to save your changes? + 是否保存更改? + + + + + Warning + 警告 + + + + + Fail to save note. + 保存笔记失败。 + + + + File <span style="%1">%2</span> being written has been removed. + 将要写入的文件 <span style="%1">%2</span> 已经被移除。 + + + + Fail to write to disk when saving a note. Please try it again. + 保存笔记时,写入文件失败。请稍后再试。 + + VInsertImageDialog @@ -721,651 +727,701 @@ VMainWindow - + View 查看 - + &Single Panel 单列面板 (&S) - + Display only the notes list panel 仅显示笔记列表面板 - + &Two Panels 双列面板 (&T) - + Display both the folders and notes list panel 显示文件夹树和笔记列表面板 - + Expand 扩展内容区域 - + Expand the edit area 扩展内容编辑区域 - + Note 笔记 - + New &Note 新建笔记 (&N) - + Note &Info 笔记信息 (&I) - + View and edit current note's information 查看并编辑当前笔记的信息 - + &Delete Note 删除笔记 (&D) - + Delete current note 删除当前笔记 - - + + &Edit 编辑 (&E) - + Edit current note 编辑当前笔记 - + Discard changes and exit edit mode 放弃对当前笔记的更改并退出编辑模式 - + Save changes and exit edit mode 保存对当前笔记的更改并退出编辑模式 - + Save 保存 - + &Help 帮助 (&H) - + + View &Log + 查看日志 (&L) + + + + View VNote's debug log (%1) + 查看VNote的调试日志 (%1) + + + + Check For &Updates + 检查更新 (&U) + + + + Check for updates of VNote + 检查VNote的可用更新 + + + + Star VNote on &Github + 支持VNote &Github项目 + + + + Give a star to VNote on Github project + 在Github上给一个星星VNote项目 + + + + &Feedback + 反馈 (&F) + + + + Open an issue on Github + 在Github上反馈意见 + + + About &Qt 关于Qt (&Q) - + &Markdown Markdown (&M) - + &Converter 渲染引擎 (&C) - + Marked Marked - + Use Marked to convert Markdown to HTML (re-open current tabs to make it work) 使用Marked对Markdown进行HTML渲染 (需要重新打开当前标签页) - + Hoedown Hoedown - + Use Hoedown to convert Markdown to HTML (re-open current tabs to make it work) 使用Hoedown对Markdown进行HTML渲染 (需要重新打开当前标签页) - + Markdown-it Markdown-it - + Use Markdown-it to convert Markdown to HTML (re-open current tabs to make it work) 使用Markdown-it对Markdown进行HTML渲染 (需要重新打开当前标签页) - + Showdown Showdown - + Use Showdown to convert Markdown to HTML (re-open current tabs to make it work) 使用Showdown对Markdown进行HTML渲染 (需要重新打开当前标签页) - + Constrain The Width of Images 限制图片宽度 - + Constrain the width of images to the window in read mode (re-open current tabs to make it work) 阅读模式中根据窗口大小限制图片的宽度 - + Enable Image Caption 启用图片标题 - + Center the images and display the alt text as caption (re-open current tabs to make it work) 居中显示图片并将图片的替换文本显示为标题 (需要重新打开当前标签页) - + &Mermaid Diagram Mermaid图表 (&M) - + Enable Mermaid for graph and diagram 启用Mermaid渲染图像图表 - + Preview Images In Edit Mode 编辑模式预览图片 - + Enable image preview in edit mode 编辑模式中启用图片预览 - + Constrain The Width Of Previewed Images 限制预览图片宽度 - + Constrain the width of previewed images to the edit window in edit mode 编辑模式中根据编辑窗口大小限制预览图片的宽度 - + &View 查看 (&V) - + &File 文件 (&F) - + &Import Notes From Files 导入文件 (&I) - + View and change settings for VNote 查看并更改VNote的配置 - + Exit VNote 退出VNote - + Insert &Image 插入图片 (&I) - - + + Find/Replace 查找/替换 - + Open Find/Replace dialog to search in current note 打开查找/替换对话框以在当前笔记中查找 - + Find Next 查找下一个 - + Find next occurence 查找下一处出现 - + Find Previous 查找上一个 - + Find previous occurence 查找上一处出现 - + Replace 替换 - + Replace current occurence 替换当前出现 - + Replace && Find 替换并查找 - + Replace current occurence and find the next one 替换当前出现并查找下一个 - + Replace All 全部替换 - + Replace all occurences in current note 替换当前笔记中的所有出现 - + Highlight Searched Pattern 高亮查找模式 - + Highlight all occurences of searched pattern 高亮查找模式的所有出现 - + &Expand Tab 扩展Tab (&E) - + Expand entered Tab to spaces 将输入的Tab扩展为空格 - + Expand Tab to 2 spaces 扩展Tab为2个空格 - + Expand Tab to 4 spaces 扩展Tab为4个空格 - + Expand Tab to 8 spaces 扩展Tab为8个空格 - + Auto Indent 自动缩进 - + Indent automatically when inserting a new line 插入新行时自动缩进 - + Auto List 自动列表 - + Continue the list automatically when inserting a new line 插入新行时自动继续列表 - + + Vim Mode + Vim模式 + + + + Enable Vim mode for editing (re-enter edit mode to make it work) + 编辑时启用Vim模式 (需要重新进入编辑模式) + + + Highlight Selected Words 高亮选定字词 - + Highlight all occurences of selected words 高亮选定字词的所有出现 - + Highlight Trailing Sapces 高亮行尾空白字符 - + Highlight all the spaces at the end of a line 高亮所有行尾空白字符 - + Select Files (HTML or Markdown) To Import - 选择需要导入的文件(HTML或Markdown) + 选择需要导入的文件 (HTML或Markdown) - + Import Notes From File 导入文件 - + Imported notes: %1 succeed, %2 failed. 已导入笔记: %1 成功, %2 失败。 - + + <span style="font-weight: bold;">v%1</span> + + + + + Please visit <a href="https://github.com/tamlok/vnote.git">Github</a> for more information. + 请访问<a href="https://github.com/tamlok/vnote.git">Github</a>获取更多信息。 + + + Use system's background color configuration for Markdown rendering 使用系统的背景色设置对Markdown进行渲染 - + Set as the background color for Markdown rendering 使用该背景色对Markdown进行渲染 - - + + &Add Style 添加样式 (&A) - + Open the folder to add your custom CSS style files 打开样式文件夹以添加自定义CSS样式文件 - + Editor &Style 编辑器样式 (&S) - + Open the folder to add your custom MDHL style files 打开样式文件夹以添加自定义MDHL样式文件 - + Print Note 打印笔记 - + Set as the editor style 使用该样式设置编辑器 - + 2 Spaces 2个空格 - + Discard Changes And Read 放弃更改并阅读 - + Save Changes And Read 保存更改并阅读 - + Save changes to current note 保存对当前笔记的更改 - + &Shortcuts Help 快捷键帮助 (&S) - + View information about shortcut keys 查看快捷键帮助信息 - + &About VNote 关于VNote (&A) - + View information about VNote 查看VNote的信息 - + View information about Qt 查看Qt的信息 - + Math&Jax Math&Jax - + Enable MathJax for math support in Markdown 启用MathJax渲染数学公式 - + Highlight Code Blocks In Edit Mode 编辑模式高亮代码块 - + Enable syntax highlight within code blocks in edit mode 编辑模式中启用代码块语法高亮 - + Import notes from external files into current folder 将外部文件作为笔记导入到当前文件夹 - + Export As &PDF 导出为&PDF - + Export current note as PDF file 将当前笔记导出为PDF文件 - + &Print 打印(&P) - + Print current note 打印当前笔记 - + &Settings 设置(&S) - + &Exit 退出(&E) - + Insert an image from file into current note 从文件中插入图片到当前笔记 - + 4 Spaces 4个空格 - + 8 Spaces 8个空格 - + Highlight Cursor Line 高亮光标所在行 - + Highlight current cursor line 高亮当前光标所在行 - + Tab Stop Width Tab Stop宽度 - + Tools 工具 - + Outline 大纲 - + Fail to import files maybe due to name conflicts. 导入文件失败 (可能是因为名字冲突)。 - - v%1 - v %1 - - - + VNote is a Vim-inspired note-taking application for Markdown. VNote是一个受Vim启发而开发的专注于Markdown的笔记软件。 - - Visit https://github.com/tamlok/vnote.git for more information. - 更多信息请访问 https://github.com/tamlok/vnote.git。 - - - + About VNote 关于VNote - + &Rendering Background 渲染背景 (&R) - - + + System 默认 - + Rendering &Style 渲染样式 (&S) - + Set as the CSS style for Markdown rendering 使用该CSS样式对Markdown进行渲染 - + Notebooks 笔记本 - + Folders 文件夹 - + New &Root Folder 新建根文件夹(&R) - + Create a root folder in current notebook 在当前笔记本中新建根文件夹 - + Create a note in current folder 在当前文件夹中新建笔记 - + &Background Color 背景颜色 (&B) - + Use system's background color configuration for editor 为编辑器使用系统的背景色设置 - + Set as the background color for editor 使用该背景色设置编辑器 @@ -1373,17 +1429,17 @@ VMdEdit - + Insert From Clipboard 粘贴选项 - + Insert As Image 作为图像插入 - + Insert As Text 作为文本插入 @@ -1391,93 +1447,143 @@ VMdEditOperations - + Insert Image From Clipboard 从剪切板中插入图片 - - + + Fail to create image folder <span style="%1">%2</span>. 新建图片目录 <span style="%1">%2</span> 失败。 - + Fail to save image <span style="%1">%2</span>. 保存图片 <span style="%1">%2</span> 失败。 - - + + Warning 警告 - - + + Fail to insert image <span style="%1">%2</span>. 插入图片 <span style="%1">%2</span> 失败。 - + Fail to copy image <span style="%1">%2</span>. 复制图片 <span style="%1">%2</span> 失败。 - + Insert Image From File 从文件中插入图片 + + VMdTab + + + Information + 注意 + + + + Note <span style="%1">%2</span> has been modified. + 笔记 <span style="%1">%2</span> 已经被更改。 + + + + Do you want to save your changes? + 是否保存更改? + + + + + Warning + 警告 + + + + + Fail to save note. + 保存笔记失败。 + + + + File <span style="%1">%2</span> being written has been removed. + 将要写入的文件 <span style="%1">%2</span> 已经被移除。 + + + + Fail to write to disk when saving a note. Please try it again. + 保存笔记时,写入文件失败。请稍后再试。 + + VNewNotebookDialog - + Notebook &name: 笔记本名 (&N): - + Notebook &root folder: 笔记本根目录 (&R): - - Import existing notebook - 导入已有笔记本 - - - - When checked, VNote will read the configuration file to import an existing notebook - 选中后,VNote会读取配置文件来导入一个已有的笔记本 - - - + &Image folder: 图片目录(&I): - + Use global configuration (%1) 使用全局配置 (%1) - + Set the name of the folder for all the notes of this notebook to store images (empty to use global configuration) 为该笔记本下的所有笔记的图片目录设置一个名字以保存图片 (为空则使用全局配置) - - <span style="%1">WARNING</span>: The folder you choose is NOT empty! It is highly recommended to use an EMPTY and EXCLUSIVE folder for a notebook. Ignore this warning if you do want to import an existing VNote notebook folder. - <span style="%1">警告</span>:选择的根目录不是一个空目录!强烈建议为每个笔记本使用一个空的、专门的目录。如果是导入一个已有的VNote笔记本目录,请忽略该警告。 + + <span style="%1">WARNING</span>: The folder chosen is NOT empty! It is highly recommended to use an EMPTY and EXCLUSIVE folder for a new notebook. + <span style="%1">警告</span>:所选的文件夹不是空的!强烈建议为一个新的笔记本指定一个空的、独占的文件夹。 - + + <span style="%1">INFO</span>: The folder chosen seems to be a root folder of a notebook created by VNote before. VNote will try to import it by reading the configuration file. + <span style="%1">注意</span>:所选的文件夹可能是此前VNote创建的一个笔记本的根目录。VNote会尝试读取配置文件并导入该笔记本。 + + + + <span style="%1">WARNING</span>: The path seems to be illegal. Please choose another one. + <span style="%1">警告</span>:根目录路径可能是非法的。请选择另一个路径。 + + + + <span style="%1">WARNING</span>: The folder chosen has already been a root folder of existing notebook <span style="%2">%3</span> in VNote. + <span style="%1">警告</span>:所选的文件夹已经是当前VNote中一个笔记本 <span style="%2">%3</span> 的根目录。 + + + + <span style="%1">WARNING</span>: Name already exists. Please choose another name. + <span style="%1">警告</span>:该笔记本名字已经存在。请选择另一个名字。 + + + Select Root Folder Of The Notebook 选择笔记本根目录 - + &Browse 浏览文件 (&B) @@ -1503,30 +1609,35 @@ VNotebookInfoDialog - + Notebook &name: 笔记本名 (&N): - + Notebook &root folder: 笔记本根目录 (&R): - + &Image folder: 图片目录(&I): - + Use global configuration (%1) 使用全局配置 (%1) - + Set the name of the folder for all the notes of this notebook to store images (empty to use global configuration) 为该笔记本下的所有笔记的图片目录设置一个名字以保存图片 (为空则使用全局配置) + + + <span style="%1">WARNING</span>: Name already exists. Please choose another name. + <span style="%1">警告</span>:该笔记本名字已经存在。请选择另一个名字。 + VNotebookSelector @@ -1561,24 +1672,28 @@ 请输入笔记本的名字并为其指定一个已有的目录作为笔记本根目录。 - - + Warning 警告 - + + Fail to create notebook <span style="%1">%2</span> in <span style="%1">%3</span>. + 在 <span style="%1">%3</span> 中新建笔记本 <span style="%1">%2</span> 失败。 + + + Delete Notebook 删除笔记本 - + Fail to delete the root folder of notebook <span style="%1">%2</span> from disk. You may open the folder and check it manually. 无法从磁盘中删除笔记本 <span style="%1">%2</span> 的根目录。 请打开该目录并手动检查。 - + Add Notebook 添加笔记本 @@ -1588,18 +1703,12 @@ 笔记本的根目录应该是一个专门给VNote使用的空目录。 - - - Name already exists. Please choose another name. - 该笔记本名已存在。请选择另一个名字。 - - - + Delete Notebook Folder From Disk 从磁盘中删除笔记本根目录 - + Notebook Information 笔记本信息 @@ -1674,6 +1783,263 @@ 保存配置失败。请稍后再试。 + + VTabIndicator + + + <span style="font-weight:bold; color:red;">ReadOnly</span> + <span style="font-weight:bold; color:red;">只读</span> + + + + <span><span style="font-weight:bold;">Line</span>: %1 - %2(%3%) <span style="font-weight:bold;">Col</span>: %4</span> + <span><span style="font-weight:bold;">行</span>: %1 - %2(%3%) <span style="font-weight:bold;">列</span>: %4</span> + + + + VUpdater + + + Current Version: v%1 + 当前版本:v%1 + + + + + Checking for updates... + 正在检查更新... + + + + VNote Update + VNote更新 + + + + :( Fail to check for updates. +Please try it later. + :( 检查更新失败。 +请稍后再试。 + + + + Current Version: v%1 +Latest Version: v%2 + 当前版本:v%1 +最新版本:v%2 + + + + <span style="font-weight: bold;">Updates Available!</span><br/>Please visit <a href="%1">Github Releases</a> to download the latest version. + <span style="font-weight: bold;">发现更新!</span><br/>请访问<a href="%1">Github Releases</a>下载最新版本。 + + + + VNote is already the latest version. + VNote当前已经是最新版本。 + + + + VVim + + + + + + %1 %2 changed + 更改了 %1 %2 + + + + + + + + + + + + + + + + lines + + + + + + + + + + + + + + + + + line + + + + + Mark not set + 标记未设置 + + + + + %1 fewer %2 + 少了 %1 %2 + + + + + %1 %2 yanked + 复制了 %1 %2 + + + + %1 more %2 + 多了 %1 %2 + + + + + %1 %2 >ed 1 time + %1 %2增加了1次缩进 + + + + + %1 %2 <ed 1 time + %1 %2减小了1次缩进 + + + + Undo %1 %2 + 撤销 %1 次%2 + + + + + changes + 更改 + + + + + change + 更改 + + + + Redo %1 %2 + 重做 %1 次%2 + + + + Mark has invalid line number + 标记的行号无效 + + + + Note has been saved + 已保存笔记 + + + + + Quit + 退出编辑 + + + + + Quit with note having been saved + 保存更改并退出编辑 + + + + Not an editor command: %1 + 不是一个编辑器命令:%1 + + + + VVimIndicator + + + Registers + 寄存器 + + + + Register + 寄存器 + + + + Value + + + + + Marks + 标记 + + + + Mark + 标记 + + + + Line + + + + + Column + + + + + Text + 文本 + + + + Normal + 正常 + + + + Insert + 插入 + + + + Visual + 可视 + + + + VisualLine + 可视行 + + + + Replace + 替换 + + + + Unknown + 未知 + + VWebView