diff --git a/src/translations/vnote_zh_CN.qm b/src/translations/vnote_zh_CN.qm
index 81031d3d..5106ccd3 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 88a27524..eb07d9fa 100644
--- a/src/translations/vnote_zh_CN.ts
+++ b/src/translations/vnote_zh_CN.ts
@@ -10,21 +10,21 @@
- Do not delete files from disk.
- 不要从磁盘中删除文件。
+ Delete files from disk
+ 从磁盘中删除文件
- When checked, VNote just removes the notebook instead of deleting files from disk
- 启用时,VNote只会移除该笔记本,不会从磁盘中删除文件
+ When checked, VNote will delete all the files within this notebook from disk
+ 选中后,VNote会从磁盘中删除该笔记本内的所有文件
-
+ VNote won't delete files in directory <span style="%1">%2</span>.VNote不会删除位于目录 <span style="%1">%2</span> 中的文件。
-
+ <span style="%1">WARNING</span>: VNote may delete <b>ANY</b> files in directory <span style="%2">%3</span>! VNote will try to delete all the root folders within this notebook one by one. It may be UNRECOVERABLE!<span style="%1">警告</span>:VNote可能会删除位于目录 <span style="%2">%3</span> 的<b>任何</b>文件!VNote会尝试逐个删除该笔记本下的所有根文件夹。该操作可能是不可恢复的!
@@ -145,11 +145,11 @@
-
-
-
-
-
+
+
+
+
+ Warning警告
@@ -164,69 +164,69 @@
打开文件夹 <span style="%1">%2</span> 失败。
-
+ Create a subfolder in <span style="%1">%2</span>.在文件夹 <span style="%1">%2</span> 中新建子文件夹。
-
-
+
+ Folder &name:文件夹名(&N):
-
+ Create Folder新建文件夹
-
+ Name already exists in <span style="%1">%2</span>. Please choose another name.该文件夹名字在文件夹 <span style="%1">%2</span> 中已存在。请选择另一个名字。
-
-
+
+ Fail to create folder <span style="%1">%2</span>.新建文件夹 <span style="%1">%2</span> 失败。
-
+ Create a root folder in notebook <span style="%1">%2</span>.在笔记本 <span style="%1">%2</span> 中新建根文件夹。
-
+ Create Root Folder新建根文件夹
-
+ Are you sure to delete folder <span style="%1">%2</span>?确认删除文件夹 <span style="%1">%2</span>?
-
+ Folder Information文件夹信息
-
+ Fail to rename folder <span style="%1">%2</span>.重命名文件夹 <span style="%1">%2</span> 失败。
-
+ Fail to copy folder <span style="%1">%2</span>.复制文件夹 <span style="%1">%2</span> 失败。
-
+ Please check if there already exists a folder with the same name.请检查是否已经存在同名文件夹。
-
+ Name already exists in notebook <span style="%1">%2</span>. Please choose another name.该文件夹名字在笔记本 <span style="%1">%2</span> 中已存在。请选择另一个名字。
@@ -241,7 +241,7 @@
新建子文件夹
-
+ <span style="%1">WARNING</span>: VNote will delete the whole directory (<b>ANY</b> files) <span style="%2">%3</span>.<br>It may be UNRECOVERABLE!<span style="%1">警告</span>:VNote会删除整个目录(<b>任何</b>文件) <span style="%2">%3</span>。<br>该操作可能是不可恢复的!
@@ -249,32 +249,67 @@
VEdit
-
+
+ Found no match
+ 没有找到匹配项
+
+
+
+ Found %1 %2
+ 找到 %1 %2
+
+
+
+ matches
+ 处匹配
+
+
+
+ match
+ 处匹配
+
+
+
+ Replace %1 %2
+ 替换了 %1 %2
+
+
+
+ occurences
+ 处匹配
+
+
+
+ occurence
+ 处匹配
+
+
+ &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编辑当前笔记
@@ -312,22 +347,52 @@
将当前标签页往右移动一个分割窗口
-
+
+ Close Tab
+ 关闭标签页
+
+
+
+ Close current note tab
+ 关闭当前标签页
+
+
+
+ Close Other Tabs
+ 关闭其他标签页
+
+
+
+ Close all other note tabs
+ 关闭其他所有标签页
+
+
+
+ Close Tabs To The Right
+ 关闭右侧标签页
+
+
+
+ Close all the note tabs to the right of current tab
+ 关闭当前标签页右侧所有标签页
+
+
+ Split分割
-
+ Split current window vertically竖直分割当前窗口
-
+ Remove split移除分割
-
+ Remove current split window移除当前分割窗口
@@ -727,661 +792,802 @@
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扩展内容编辑区域
-
+
+ Edit Toolbar
+ 编辑工具栏
+
+
+
+ Bold (Ctrl+B)
+ 粗体 (Ctrl+B)
+
+
+
+ Insert bold text or change selected text to bold
+ 插入粗体或将所选文本加粗
+
+
+
+ Italic (Ctrl+I)
+ 斜体 (Ctrl+I)
+
+
+
+ Insert italic text or change selected text to italic
+ 插入斜体或将所选文本改为斜体
+
+
+
+ Strikethrough (Ctrl+D)
+ 删除线 (Ctrl+D)
+
+
+
+ Insert strikethrough text or change selected text to strikethroughed
+ 插入删除线或在所选文本上添加删除线
+
+
+
+ Inline Code (Ctrl+O)
+ 行内代码 (Ctrl+O)
+
+
+
+ Insert inline-code text or change selected text to inline-coded
+ 插入行内代码或将所选文本改为行内代码
+
+
+
+ Toggle the edit toolbar
+ 打开或关闭编辑工具栏
+
+
+ Note笔记
-
+ New &Note新建笔记 (&N)
-
+ Note &Info笔记信息 (&I)
-
+ View and edit current note's information查看并编辑当前笔记的信息
-
+ &Delete Note删除笔记 (&D)
-
+ Delete current note删除当前笔记
-
-
+
+ &Close Note
+ 关闭笔记 (&C)
+
+
+
+ Close current note
+ 关闭当前笔记
+
+
+
+ &Edit编辑 (&E)
-
+ Edit current note编辑当前笔记
-
+ Discard changes and exit edit mode放弃对当前笔记的更改并退出编辑模式
-
+
+ Discard Changes And Read (Ctrl+E Q)
+ 放弃更改并阅读 (Ctrl+E Q)
+
+
+
+ Save Changes And Read (Ctrl+T)
+ 保存更改并阅读 (Ctrl+T)
+
+
+ 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)
-
+ &MarkdownMarkdown (&M)
-
+ &Converter渲染引擎 (&C)
-
+ MarkedMarked
-
+ Use Marked to convert Markdown to HTML (re-open current tabs to make it work)使用Marked对Markdown进行HTML渲染 (需要重新打开当前标签页)
-
+ HoedownHoedown
-
+ Use Hoedown to convert Markdown to HTML (re-open current tabs to make it work)使用Hoedown对Markdown进行HTML渲染 (需要重新打开当前标签页)
-
+ Markdown-itMarkdown-it
-
+ Use Markdown-it to convert Markdown to HTML (re-open current tabs to make it work)使用Markdown-it对Markdown进行HTML渲染 (需要重新打开当前标签页)
-
+ ShowdownShowdown
-
+ 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 DiagramMermaid图表 (&M)
-
+ Enable Mermaid for graph and diagram启用Mermaid渲染图像图表
-
+
+ &Flowchart.js
+ &Flowchart.js
+
+
+
+ Enable Flowchart.js for flowchart diagram
+ 启用Flowchart.js渲染流程图
+
+
+ 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的配置
-
+
+
+ Custom Shortcuts
+ 自定义快捷键
+
+
+
+ Custom some standard shortcuts
+ 自定义部分标准快捷键
+
+
+
+ VNote supports customing some standard shorcuts by editing user's configuration file (vnote.ini). Please reference the shortcuts help documentation for more information.
+ VNote支持通过修改用户配置文件 (vnote.ini) 来自定义部分标准快捷键。更多信息请参考快捷键帮助文档。
+
+
+
+ Click "OK" to custom shortcuts.
+ 点击“确认”以自定义快捷键。
+
+
+ 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 ModeVim模式
-
- 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)
-
+ 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样式文件
-
+
+ Line Number
+ 行号
+
+
+
+ None
+ 无
+
+
+
+ Do not display line number in edit mode
+ 编辑模式下不显示行号
+
+
+
+ Absolute
+ 绝对行号
+
+
+
+ Display absolute line number in edit mode
+ 编辑模式下显示绝对行号
+
+
+
+ Relative
+ 相对行号
+
+
+
+ Display line number relative to current cursor line in edit mode
+ 编辑模式下显示相对于当前光标所在行的行号
+
+
+ Editor &Style编辑器样式 (&S)
-
+ Open the folder to add your custom MDHL style files打开样式文件夹以添加自定义MDHL样式文件
-
+ Print Note打印笔记
-
+ Set as the editor style使用该样式设置编辑器
-
+ 2 Spaces2个空格
-
+ 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&JaxMath&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 Spaces4个空格
-
+ 8 Spaces8个空格
-
+
+ Enable Vim mode for editing (re-open current tabs to make it work)
+ 编辑时启用Vim模式 (需要重新打开当前标签页)
+
+
+
+ Smart Input Method In Vim Mode
+ Vim模式智能输入法
+
+
+
+ Disable input method when leaving Insert mode in Vim mode
+ Vim模式中,退出插入模式时禁用输入法
+
+
+ Highlight Cursor Line高亮光标所在行
-
+ Highlight current cursor line高亮当前光标所在行
-
+ Tab Stop WidthTab Stop宽度
-
+ Tools工具
-
+ Outline大纲
-
+
+ Toggle the tools dock widget
+ 打开或关闭工具窗口
+
+
+ Fail to import files maybe due to name conflicts.导入文件失败 (可能是因为名字冲突)。
-
+ VNote is a Vim-inspired note-taking application for Markdown.VNote是一个受Vim启发而开发的专注于Markdown的笔记软件。
-
+ About VNote关于VNote
-
+ &Rendering Background渲染背景 (&R)
-
-
+
+ System默认
-
+ Rendering &Style渲染样式 (&S)
-
+ Set as the CSS style for Markdown rendering使用该CSS样式对Markdown进行渲染
@@ -1396,32 +1602,47 @@
文件夹
-
+
+ Single Panel (Ctrl+E P)
+ 单列面板 (Ctrl+E P)
+
+
+
+ Two Panels (Ctrl+E P)
+ 双列面板 (Ctrl+E P)
+
+
+
+ Expand (Ctrl+E E)
+ 扩展 (Ctrl+E E)
+
+
+ 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使用该背景色设置编辑器
@@ -1488,39 +1709,39 @@
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.保存笔记时,写入文件失败。请稍后再试。
@@ -1553,32 +1774,32 @@
为该笔记本下的所有笔记的图片目录设置一个名字以保存图片 (为空则使用全局配置)
-
+ <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选择笔记本根目录
@@ -1666,11 +1887,6 @@
Create or import a notebook新建或导入一个笔记本
-
-
- Please type the name of the notebook and choose an existing folder as Root Folder of the notebook.
- 请输入笔记本的名字并为其指定一个已有的目录作为笔记本根目录。
- Warning
@@ -1697,6 +1913,11 @@
Add Notebook添加笔记本
+
+
+ Please type the name of the notebook and choose a folder as the Root Folder of the notebook.
+ 请输入笔记本的名字并选择一个文件夹作为笔记本的根目录。
+ The root folder should be used EXCLUSIVELY by VNote and it is recommended to be EMPTY.
@@ -1815,26 +2036,26 @@
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当前已经是最新版本。
@@ -1842,127 +2063,139 @@ Latest Version: v%2
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
@@ -1970,72 +2203,72 @@ Latest Version: v%2
VVimIndicator
-
+ Registers寄存器
-
+ Register寄存器
-
+ Value值
-
+ Marks标记
-
+ Mark标记
-
+ Line行
-
+ Column列
-
+ Text文本
-
+ Normal正常
-
+ Insert插入
-
+ Visual可视
-
+ VisualLine可视行
-
+ Replace替换
-
+ Unknown未知
@@ -2043,12 +2276,12 @@ Latest Version: v%2
VWebView
-
+ &Edit编辑 (&E)
-
+ Edit current note编辑当前笔记