Explorar el Código

update Chinese translations

Le Tan hace 8 años
padre
commit
755d1beb02
Se han modificado 2 ficheros con 209 adiciones y 133 borrados
  1. BIN
      src/translations/vnote_zh_CN.qm
  2. 209 133
      src/translations/vnote_zh_CN.ts

BIN
src/translations/vnote_zh_CN.qm


+ 209 - 133
src/translations/vnote_zh_CN.ts

@@ -130,11 +130,11 @@
     <message>
         <location filename="../vdirectorytree.cpp" line="97"/>
         <location filename="../vdirectorytree.cpp" line="140"/>
-        <location filename="../vdirectorytree.cpp" line="317"/>
-        <location filename="../vdirectorytree.cpp" line="349"/>
-        <location filename="../vdirectorytree.cpp" line="368"/>
-        <location filename="../vdirectorytree.cpp" line="416"/>
-        <location filename="../vdirectorytree.cpp" line="594"/>
+        <location filename="../vdirectorytree.cpp" line="318"/>
+        <location filename="../vdirectorytree.cpp" line="350"/>
+        <location filename="../vdirectorytree.cpp" line="369"/>
+        <location filename="../vdirectorytree.cpp" line="417"/>
+        <location filename="../vdirectorytree.cpp" line="595"/>
         <source>Warning</source>
         <translation>警告</translation>
     </message>
@@ -149,114 +149,147 @@
         <translation>打开目录失败: %1。</translation>
     </message>
     <message>
-        <location filename="../vdirectorytree.cpp" line="302"/>
+        <location filename="../vdirectorytree.cpp" line="303"/>
         <source>Create sub-directory under %1.</source>
         <translation>在目录 %1 中新建一个子目录。</translation>
     </message>
     <message>
-        <location filename="../vdirectorytree.cpp" line="303"/>
-        <location filename="../vdirectorytree.cpp" line="335"/>
+        <location filename="../vdirectorytree.cpp" line="304"/>
+        <location filename="../vdirectorytree.cpp" line="336"/>
         <source>Directory &amp;name:</source>
         <translation>目录名 (&amp;N):</translation>
     </message>
     <message>
-        <location filename="../vdirectorytree.cpp" line="307"/>
+        <location filename="../vdirectorytree.cpp" line="308"/>
         <source>Create Directory</source>
         <translation>新建目录</translation>
     </message>
     <message>
-        <location filename="../vdirectorytree.cpp" line="311"/>
+        <location filename="../vdirectorytree.cpp" line="312"/>
         <source>Name already exists under %1. Please choose another name.</source>
         <translation>该目录名已存在于目录 %1 中。请选择另一个名字。</translation>
     </message>
     <message>
-        <location filename="../vdirectorytree.cpp" line="318"/>
-        <location filename="../vdirectorytree.cpp" line="350"/>
+        <location filename="../vdirectorytree.cpp" line="319"/>
+        <location filename="../vdirectorytree.cpp" line="351"/>
         <source>Fail to create directory %1.</source>
         <translation>新建目录失败: %1。</translation>
     </message>
     <message>
-        <location filename="../vdirectorytree.cpp" line="334"/>
+        <location filename="../vdirectorytree.cpp" line="335"/>
         <source>Create root directory in notebook %1.</source>
         <translation>在笔记本 %1 中新建根目录。</translation>
     </message>
     <message>
-        <location filename="../vdirectorytree.cpp" line="339"/>
+        <location filename="../vdirectorytree.cpp" line="340"/>
         <source>Create Root Directory</source>
         <translation>新建根目录</translation>
     </message>
     <message>
-        <location filename="../vdirectorytree.cpp" line="343"/>
+        <location filename="../vdirectorytree.cpp" line="344"/>
         <source>Name already exists in notebook %1. Please choose another name.</source>
         <translation>该目录名已存在于笔记本 %1 中。请选择另一个名字。</translation>
     </message>
     <message>
-        <location filename="../vdirectorytree.cpp" line="369"/>
+        <location filename="../vdirectorytree.cpp" line="370"/>
         <source>Are you sure to delete directory %1?</source>
         <translation>确认删除目录: %1?</translation>
     </message>
     <message>
-        <location filename="../vdirectorytree.cpp" line="370"/>
+        <location filename="../vdirectorytree.cpp" line="371"/>
         <source>This will delete any files under this directory.</source>
         <translation>该操作会删除该目录下的所有文件。</translation>
     </message>
     <message>
-        <location filename="../vdirectorytree.cpp" line="404"/>
+        <location filename="../vdirectorytree.cpp" line="405"/>
         <source>Directory Information</source>
         <translation>目录信息</translation>
     </message>
     <message>
-        <location filename="../vdirectorytree.cpp" line="417"/>
+        <location filename="../vdirectorytree.cpp" line="418"/>
         <source>Fail to rename directory %1.</source>
         <translation>重命名目录失败: %1。</translation>
     </message>
     <message>
-        <location filename="../vdirectorytree.cpp" line="595"/>
+        <location filename="../vdirectorytree.cpp" line="596"/>
         <source>Fail to copy directory %1.</source>
         <translation>复制目录失败: %1。</translation>
     </message>
     <message>
-        <location filename="../vdirectorytree.cpp" line="596"/>
+        <location filename="../vdirectorytree.cpp" line="597"/>
         <source>Please check if there already exists a directory with the same name.</source>
         <translation>请检查是否存在同名目录。</translation>
     </message>
 </context>
+<context>
+    <name>VEdit</name>
+    <message>
+        <location filename="../vedit.cpp" line="516"/>
+        <source>&amp;Save Changes And Read</source>
+        <translation>保存更改并阅读 (&amp;S)</translation>
+    </message>
+    <message>
+        <location filename="../vedit.cpp" line="517"/>
+        <source>Save changes and exit edit mode</source>
+        <translation>保存对当前笔记的更改并退出编辑模式</translation>
+    </message>
+    <message>
+        <location filename="../vedit.cpp" line="522"/>
+        <source>&amp;Discard Changes And Read</source>
+        <translation>放弃更改并阅读 (&amp;D)</translation>
+    </message>
+    <message>
+        <location filename="../vedit.cpp" line="523"/>
+        <source>Discard changes and exit edit mode</source>
+        <translation>放弃对当前笔记的更改并退出编辑模式</translation>
+    </message>
+    <message>
+        <location filename="../vedit.cpp" line="535"/>
+        <source>&amp;Edit</source>
+        <translation>编辑 (&amp;E)</translation>
+    </message>
+    <message>
+        <location filename="../vedit.cpp" line="536"/>
+        <source>Edit current note</source>
+        <translation>编辑当前笔记</translation>
+    </message>
+</context>
 <context>
     <name>VEditTab</name>
     <message>
-        <location filename="../vedittab.cpp" line="215"/>
+        <location filename="../vedittab.cpp" line="225"/>
         <source>Information</source>
         <translation>信息</translation>
     </message>
     <message>
-        <location filename="../vedittab.cpp" line="216"/>
+        <location filename="../vedittab.cpp" line="226"/>
         <source>Note %1 has been modified.</source>
         <translation>笔记 %1 已被更改。</translation>
     </message>
     <message>
-        <location filename="../vedittab.cpp" line="217"/>
+        <location filename="../vedittab.cpp" line="227"/>
         <source>Do you want to save your changes?</source>
         <translation>是否保存更改?</translation>
     </message>
     <message>
-        <location filename="../vedittab.cpp" line="255"/>
-        <location filename="../vedittab.cpp" line="263"/>
+        <location filename="../vedittab.cpp" line="265"/>
+        <location filename="../vedittab.cpp" line="273"/>
         <source>Warning</source>
         <translation>警告</translation>
     </message>
     <message>
-        <location filename="../vedittab.cpp" line="255"/>
-        <location filename="../vedittab.cpp" line="263"/>
+        <location filename="../vedittab.cpp" line="265"/>
+        <location filename="../vedittab.cpp" line="273"/>
         <source>Fail to save note.</source>
         <translation>保存笔记失败。</translation>
     </message>
     <message>
-        <location filename="../vedittab.cpp" line="256"/>
+        <location filename="../vedittab.cpp" line="266"/>
         <source>%1 being written has been removed.</source>
         <translation>要写入的文件已被删除: %1。</translation>
     </message>
     <message>
-        <location filename="../vedittab.cpp" line="264"/>
+        <location filename="../vedittab.cpp" line="274"/>
         <source>Fail to write to disk when saving a note. Please try it again.</source>
         <translation>保存笔记时,写入文件失败。请稍后再试。</translation>
     </message>
@@ -294,22 +327,22 @@
         <translation>将当前标签页往右移动一个分割窗口</translation>
     </message>
     <message>
-        <location filename="../veditwindow.cpp" line="79"/>
+        <location filename="../veditwindow.cpp" line="80"/>
         <source>Split</source>
         <translation>分割</translation>
     </message>
     <message>
-        <location filename="../veditwindow.cpp" line="80"/>
+        <location filename="../veditwindow.cpp" line="81"/>
         <source>Split current window vertically</source>
         <translation>竖直分割当前窗口</translation>
     </message>
     <message>
-        <location filename="../veditwindow.cpp" line="85"/>
+        <location filename="../veditwindow.cpp" line="86"/>
         <source>Remove split</source>
         <translation>移除分割</translation>
     </message>
     <message>
-        <location filename="../veditwindow.cpp" line="86"/>
+        <location filename="../veditwindow.cpp" line="87"/>
         <source>Remove current split window</source>
         <translation>移除当前分割窗口</translation>
     </message>
@@ -417,8 +450,8 @@
     <message>
         <location filename="../vfilelist.cpp" line="193"/>
         <location filename="../vfilelist.cpp" line="250"/>
-        <location filename="../vfilelist.cpp" line="418"/>
-        <location filename="../vfilelist.cpp" line="442"/>
+        <location filename="../vfilelist.cpp" line="419"/>
+        <location filename="../vfilelist.cpp" line="443"/>
         <source>Warning</source>
         <translation>警告</translation>
     </message>
@@ -438,22 +471,22 @@
         <translation>该操作不可撤消!</translation>
     </message>
     <message>
-        <location filename="../vfilelist.cpp" line="419"/>
+        <location filename="../vfilelist.cpp" line="420"/>
         <source>Fail to copy note %1.</source>
         <translation>复制笔记失败: %1。</translation>
     </message>
     <message>
-        <location filename="../vfilelist.cpp" line="420"/>
+        <location filename="../vfilelist.cpp" line="421"/>
         <source>Please check if there already exists a file with the same name in the target directory.</source>
         <translation>请检查目标文件夹中是否存在同名文件。</translation>
     </message>
     <message>
-        <location filename="../vfilelist.cpp" line="443"/>
+        <location filename="../vfilelist.cpp" line="444"/>
         <source>The renaming will change the note type.</source>
         <translation>重命名会更改笔记类型。</translation>
     </message>
     <message>
-        <location filename="../vfilelist.cpp" line="444"/>
+        <location filename="../vfilelist.cpp" line="445"/>
         <source>You should close the note %1 before continue.</source>
         <translation>请在继续前先关闭笔记: %1。</translation>
     </message>
@@ -661,7 +694,7 @@
     </message>
     <message>
         <location filename="../vmainwindow.cpp" line="220"/>
-        <location filename="../vmainwindow.cpp" line="410"/>
+        <location filename="../vmainwindow.cpp" line="427"/>
         <source>&amp;Edit</source>
         <translation>编辑 (&amp;E)</translation>
     </message>
@@ -670,21 +703,11 @@
         <source>Edit current note</source>
         <translation>编辑当前笔记</translation>
     </message>
-    <message>
-        <location filename="../vmainwindow.cpp" line="227"/>
-        <source>Discard Changes And Exit</source>
-        <translation>放弃更改并退出</translation>
-    </message>
     <message>
         <location filename="../vmainwindow.cpp" line="228"/>
         <source>Discard changes and exit edit mode</source>
         <translation>放弃对当前笔记的更改并退出编辑模式</translation>
     </message>
-    <message>
-        <location filename="../vmainwindow.cpp" line="236"/>
-        <source>Save Changes And Exit</source>
-        <translation>保存更改并退出</translation>
-    </message>
     <message>
         <location filename="../vmainwindow.cpp" line="237"/>
         <source>Save changes and exit edit mode</source>
@@ -711,253 +734,253 @@
         <translation>Markdown (&amp;M)</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="307"/>
+        <location filename="../vmainwindow.cpp" line="308"/>
         <source>&amp;Converter</source>
         <translation>渲染引擎 (&amp;C)</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="310"/>
+        <location filename="../vmainwindow.cpp" line="312"/>
         <source>Marked</source>
         <translation>Marked</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="311"/>
+        <location filename="../vmainwindow.cpp" line="313"/>
         <source>Use Marked to convert Markdown to HTML (re-open current tabs to make it work)</source>
         <translation>使用Marked对Markdown进行HTML渲染 (需要重新打开当前标签页)</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="315"/>
+        <location filename="../vmainwindow.cpp" line="317"/>
         <source>Hoedown</source>
         <translation>Hoedown</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="316"/>
+        <location filename="../vmainwindow.cpp" line="318"/>
         <source>Use Hoedown to convert Markdown to HTML (re-open current tabs to make it work)</source>
         <translation>使用Hoedown对Markdown进行HTML渲染 (需要重新打开当前标签页)</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="320"/>
+        <location filename="../vmainwindow.cpp" line="322"/>
         <source>Markdown-it</source>
         <translation>Markdown-it</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="321"/>
+        <location filename="../vmainwindow.cpp" line="323"/>
         <source>Use Markdown-it to convert Markdown to HTML (re-open current tabs to make it work)</source>
         <translation>使用Markdown-it对Markdown进行HTML渲染 (需要重新打开当前标签页)</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="351"/>
+        <location filename="../vmainwindow.cpp" line="357"/>
         <source>&amp;Mermaid Diagram</source>
         <translation>Mermaid图表 (&amp;M)</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="352"/>
+        <location filename="../vmainwindow.cpp" line="358"/>
         <source>Enable Mermaid for graph and diagram</source>
         <translation>启用Mermaid渲染图像图表</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="360"/>
-        <source>Math&amp;jax</source>
-        <translation>Math&amp;jax</translation>
-    </message>
-    <message>
-        <location filename="../vmainwindow.cpp" line="361"/>
-        <source>Enable Mathjax for math support in Markdown</source>
-        <translation>启用Mathjax以在Markdown中支持数学公式</translation>
-    </message>
-    <message>
-        <location filename="../vmainwindow.cpp" line="372"/>
+        <location filename="../vmainwindow.cpp" line="388"/>
         <source>&amp;View</source>
         <translation>查看 (&amp;V)</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="377"/>
+        <location filename="../vmainwindow.cpp" line="393"/>
         <source>&amp;File</source>
         <translation>文件 (&amp;F)</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="381"/>
+        <location filename="../vmainwindow.cpp" line="398"/>
         <source>&amp;Import Notes From Files</source>
         <translation>导入文件 (&amp;I)</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="382"/>
+        <location filename="../vmainwindow.cpp" line="399"/>
         <source>Import notes from files into current directory</source>
         <translation>从文件中导入笔记到当前目录</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="389"/>
+        <location filename="../vmainwindow.cpp" line="406"/>
         <source>Settings</source>
         <translation>设置</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="390"/>
+        <location filename="../vmainwindow.cpp" line="407"/>
         <source>View and change settings for VNote</source>
         <translation>查看并更改VNote的配置</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="395"/>
+        <location filename="../vmainwindow.cpp" line="412"/>
         <source>Exit</source>
         <translation>退出</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="396"/>
+        <location filename="../vmainwindow.cpp" line="413"/>
         <source>Exit VNote</source>
         <translation>退出VNote</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="414"/>
+        <location filename="../vmainwindow.cpp" line="432"/>
         <source>Insert &amp;Image</source>
         <translation>插入图片 (&amp;I)</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="421"/>
-        <location filename="../vmainwindow.cpp" line="517"/>
+        <location filename="../vmainwindow.cpp" line="439"/>
+        <location filename="../vmainwindow.cpp" line="535"/>
         <source>Find/Replace</source>
         <translation>查找/替换</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="422"/>
+        <location filename="../vmainwindow.cpp" line="440"/>
         <source>Open Find/Replace dialog to search in current note</source>
         <translation>打开查找/替换对话框以在当前笔记中查找</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="427"/>
+        <location filename="../vmainwindow.cpp" line="445"/>
         <source>Find Next</source>
         <translation>查找下一个</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="428"/>
+        <location filename="../vmainwindow.cpp" line="446"/>
         <source>Find next occurence</source>
         <translation>查找下一处出现</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="433"/>
+        <location filename="../vmainwindow.cpp" line="451"/>
         <source>Find Previous</source>
         <translation>查找上一个</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="434"/>
+        <location filename="../vmainwindow.cpp" line="452"/>
         <source>Find previous occurence</source>
         <translation>查找上一处出现</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="439"/>
+        <location filename="../vmainwindow.cpp" line="457"/>
         <source>Replace</source>
         <translation>替换</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="440"/>
+        <location filename="../vmainwindow.cpp" line="458"/>
         <source>Replace current occurence</source>
         <translation>替换当前出现</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="445"/>
+        <location filename="../vmainwindow.cpp" line="463"/>
         <source>Replace &amp;&amp; Find</source>
         <translation>替换并查找</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="446"/>
+        <location filename="../vmainwindow.cpp" line="464"/>
         <source>Replace current occurence and find the next one</source>
         <translation>替换当前出现并查找下一个</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="450"/>
+        <location filename="../vmainwindow.cpp" line="468"/>
         <source>Replace All</source>
         <translation>全部替换</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="451"/>
+        <location filename="../vmainwindow.cpp" line="469"/>
         <source>Replace all occurences in current note</source>
         <translation>替换当前笔记中的所有出现</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="455"/>
+        <location filename="../vmainwindow.cpp" line="473"/>
         <source>Highlight Searched Pattern</source>
         <translation>高亮查找模式</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="456"/>
+        <location filename="../vmainwindow.cpp" line="474"/>
         <source>Highlight all occurences of searched pattern</source>
         <translation>高亮查找模式的所有出现</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="462"/>
+        <location filename="../vmainwindow.cpp" line="480"/>
         <source>&amp;Expand Tab</source>
         <translation>扩展Tab (&amp;E)</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="463"/>
+        <location filename="../vmainwindow.cpp" line="481"/>
         <source>Expand entered Tab to spaces</source>
         <translation>将输入的Tab扩展为空格</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="471"/>
+        <location filename="../vmainwindow.cpp" line="489"/>
         <source>Expand Tab to 2 spaces</source>
         <translation>扩展Tab为2个空格</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="475"/>
+        <location filename="../vmainwindow.cpp" line="493"/>
         <source>Expand Tab to 4 spaces</source>
         <translation>扩展Tab为4个空格</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="479"/>
+        <location filename="../vmainwindow.cpp" line="497"/>
         <source>Expand Tab to 8 spaces</source>
         <translation>扩展Tab为8个空格</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="486"/>
+        <location filename="../vmainwindow.cpp" line="504"/>
         <source>Auto Indent</source>
         <translation>自动缩进</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="487"/>
+        <location filename="../vmainwindow.cpp" line="505"/>
         <source>Indent automatically when inserting a new line</source>
         <translation>插入新行时自动缩进</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="493"/>
+        <location filename="../vmainwindow.cpp" line="511"/>
         <source>Auto List</source>
         <translation>自动列表</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="494"/>
+        <location filename="../vmainwindow.cpp" line="512"/>
         <source>Continue the list automatically when inserting a new line</source>
         <translation>插入新行时自动继续列表</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="507"/>
+        <location filename="../vmainwindow.cpp" line="525"/>
         <source>Highlight Selected Words</source>
         <translation>高亮选定字词</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="508"/>
+        <location filename="../vmainwindow.cpp" line="526"/>
         <source>Highlight all occurences of selected words</source>
         <translation>高亮选定字词的所有出现</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="629"/>
+        <location filename="../vmainwindow.cpp" line="652"/>
         <source>Import Notes From File</source>
         <translation>导入文件</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="630"/>
+        <location filename="../vmainwindow.cpp" line="653"/>
         <source>Imported notes: %1 succeed, %2 failed.</source>
         <translation>已导入笔记: %1 成功, %2 失败。</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="729"/>
+        <location filename="../vmainwindow.cpp" line="753"/>
         <source>Use system&apos;s background color configuration for Markdown rendering</source>
         <translation>使用系统的背景色设置对Markdown进行渲染</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="740"/>
+        <location filename="../vmainwindow.cpp" line="764"/>
         <source>Set as the background color for Markdown rendering</source>
         <translation>使用该背景色对Markdown进行渲染</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="470"/>
+        <location filename="../vmainwindow.cpp" line="843"/>
+        <source>Editor &amp;Style</source>
+        <translation>编辑器样式 (&amp;S)</translation>
+    </message>
+    <message>
+        <location filename="../vmainwindow.cpp" line="854"/>
+        <source>Set as the editor style</source>
+        <translation>使用该样式设置编辑器</translation>
+    </message>
+    <message>
+        <location filename="../vmainwindow.cpp" line="488"/>
         <source>2 Spaces</source>
         <translation>2个空格</translation>
     </message>
@@ -971,6 +994,16 @@
         <source>Display both the directory and note list panel</source>
         <translation>显示目录和笔记列表面板</translation>
     </message>
+    <message>
+        <location filename="../vmainwindow.cpp" line="227"/>
+        <source>Discard Changes And Read</source>
+        <translation>放弃更改并阅读</translation>
+    </message>
+    <message>
+        <location filename="../vmainwindow.cpp" line="236"/>
+        <source>Save Changes And Read</source>
+        <translation>保存更改并阅读</translation>
+    </message>
     <message>
         <location filename="../vmainwindow.cpp" line="245"/>
         <source>Save changes to current note</source>
@@ -1002,98 +1035,128 @@
         <translation>查看Qt的信息</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="415"/>
+        <location filename="../vmainwindow.cpp" line="366"/>
+        <source>Math&amp;Jax</source>
+        <translation>Math&amp;Jax</translation>
+    </message>
+    <message>
+        <location filename="../vmainwindow.cpp" line="367"/>
+        <source>Enable MathJax for math support in Markdown</source>
+        <translation>启用MathJax渲染数学公式</translation>
+    </message>
+    <message>
+        <location filename="../vmainwindow.cpp" line="377"/>
+        <source>Highlight Code Blocks In Edit Mode</source>
+        <translation>编辑模式高亮代码块</translation>
+    </message>
+    <message>
+        <location filename="../vmainwindow.cpp" line="378"/>
+        <source>Enable syntax highlight within code blocks in edit mode</source>
+        <translation>编辑模式中启用代码块语法高亮</translation>
+    </message>
+    <message>
+        <location filename="../vmainwindow.cpp" line="433"/>
         <source>Insert an image from file into current note</source>
         <translation>从文件中插入图片到当前笔记</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="474"/>
+        <location filename="../vmainwindow.cpp" line="492"/>
         <source>4 Spaces</source>
         <translation>4个空格</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="478"/>
+        <location filename="../vmainwindow.cpp" line="496"/>
         <source>8 Spaces</source>
         <translation>8个空格</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="500"/>
+        <location filename="../vmainwindow.cpp" line="518"/>
         <source>Highlight Cursor Line</source>
         <translation>高亮光标所在行</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="501"/>
+        <location filename="../vmainwindow.cpp" line="519"/>
         <source>Highlight current cursor line</source>
         <translation>高亮当前光标所在行</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="542"/>
+        <location filename="../vmainwindow.cpp" line="562"/>
         <source>Tab Stop Width</source>
         <translation>Tab Stop宽度</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="584"/>
+        <location filename="../vmainwindow.cpp" line="607"/>
         <source>Tools</source>
         <translation>工具</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="595"/>
+        <location filename="../vmainwindow.cpp" line="618"/>
         <source>Outline</source>
         <translation>大纲</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="614"/>
+        <location filename="../vmainwindow.cpp" line="637"/>
         <source>Select Files(HTML or Markdown) To Import</source>
         <translation>选择要导入的文件 (HTML或Markdown)</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="634"/>
+        <location filename="../vmainwindow.cpp" line="657"/>
         <source>Fail to import files maybe due to name conflicts.</source>
         <translation>导入文件失败 (可能是因为名字冲突)。</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="651"/>
+        <location filename="../vmainwindow.cpp" line="674"/>
         <source>v%1</source>
         <translation>v %1</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="653"/>
+        <location filename="../vmainwindow.cpp" line="676"/>
         <source>VNote is a Vim-inspired note-taking application for Markdown.</source>
         <translation>VNote是一个受Vim启发而开发的专注于Markdown的笔记软件。</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="655"/>
+        <location filename="../vmainwindow.cpp" line="678"/>
         <source>Visit https://github.com/tamlok/vnote.git for more information.</source>
         <translation>更多信息请访问 https://github.com/tamlok/vnote.git。</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="656"/>
+        <location filename="../vmainwindow.cpp" line="679"/>
         <source>About VNote</source>
         <translation>关于VNote</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="726"/>
+        <location filename="../vmainwindow.cpp" line="749"/>
         <source>&amp;Rendering Background</source>
         <translation>渲染背景 (&amp;R)</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="728"/>
-        <location filename="../vmainwindow.cpp" line="762"/>
+        <location filename="../vmainwindow.cpp" line="752"/>
+        <location filename="../vmainwindow.cpp" line="818"/>
         <source>System</source>
         <translation>默认</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="754"/>
+        <location filename="../vmainwindow.cpp" line="778"/>
+        <source>Rendering &amp;Style</source>
+        <translation>渲染样式 (&amp;S)</translation>
+    </message>
+    <message>
+        <location filename="../vmainwindow.cpp" line="789"/>
+        <source>Set as the CSS style for Markdown rendering</source>
+        <translation>使用该CSS样式对Markdown进行渲染</translation>
+    </message>
+    <message>
+        <location filename="../vmainwindow.cpp" line="809"/>
         <source>&amp;Background Color</source>
         <translation>背景颜色 (&amp;B)</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="763"/>
+        <location filename="../vmainwindow.cpp" line="819"/>
         <source>Use system&apos;s background color configuration for editor</source>
         <translation>为编辑器使用系统的背景色设置</translation>
     </message>
     <message>
-        <location filename="../vmainwindow.cpp" line="773"/>
+        <location filename="../vmainwindow.cpp" line="829"/>
         <source>Set as the background color for editor</source>
         <translation>使用该背景色设置编辑器</translation>
     </message>
@@ -1101,17 +1164,17 @@
 <context>
     <name>VMdEdit</name>
     <message>
-        <location filename="../vmdedit.cpp" line="106"/>
+        <location filename="../vmdedit.cpp" line="113"/>
         <source>Insert From Clipboard</source>
         <translation>粘贴选项</translation>
     </message>
     <message>
-        <location filename="../vmdedit.cpp" line="107"/>
+        <location filename="../vmdedit.cpp" line="114"/>
         <source>Insert As Image</source>
         <translation>作为图像插入</translation>
     </message>
     <message>
-        <location filename="../vmdedit.cpp" line="108"/>
+        <location filename="../vmdedit.cpp" line="115"/>
         <source>Insert As Text</source>
         <translation>作为文本插入</translation>
     </message>
@@ -1301,4 +1364,17 @@
         <translation>保存配置失败。请稍后再试。</translation>
     </message>
 </context>
+<context>
+    <name>VWebView</name>
+    <message>
+        <location filename="../vwebview.cpp" line="25"/>
+        <source>&amp;Edit</source>
+        <translation>编辑 (&amp;E)</translation>
+    </message>
+    <message>
+        <location filename="../vwebview.cpp" line="26"/>
+        <source>Edit current note</source>
+        <translation>编辑当前笔记</translation>
+    </message>
+</context>
 </TS>