From 38b18af4ab34320b4841c6dec332bc23a214756b Mon Sep 17 00:00:00 2001 From: Le Tan Date: Sat, 4 Mar 2017 13:49:22 +0800 Subject: [PATCH] refine Chinese translations --- src/translations/vnote_zh_CN.qm | Bin 7411 -> 15066 bytes src/translations/vnote_zh_CN.ts | 593 ++++++++++++++------------------ src/vdirectorytree.cpp | 2 +- src/vfilelist.cpp | 2 +- src/vmainwindow.cpp | 6 +- src/vmdeditoperations.cpp | 4 +- src/vnotebookselector.cpp | 10 +- 7 files changed, 276 insertions(+), 341 deletions(-) diff --git a/src/translations/vnote_zh_CN.qm b/src/translations/vnote_zh_CN.qm index b9dd5e0b9bee9c0833f4f536834df2c8c0262ed0..6a5b7e54bfc551adb299a4f7e2af559b417cb7f7 100644 GIT binary patch literal 15066 zcmcIr3wTsTmac?;r_%{}6A&&SO$g*cgb|_(LI6QYhjfPy7#{ZHrn^aZ-~PHg9fAs? z@l(v8WK~2~-C^)Kvophj<2UM{&aRB00y?9+emm>Rd@ep_MsXBzlvVbes(Wwl?Y=j} z*;)Oxl1`n!&Z|zHbE^8vUj(aOIrHFs$0tvC;re}t-&stE@kL@-{}Lhjf5*mxTZz&8 zC?QjRMT~on5Hjt4Vm$dWA+wUioGBorv5AaZJp<-HORA6FNJ#Z&Qu|mxA$jB2XuFlv zK4&1Ld@-qgeHx5Uk=j2s!uSE1X*db8okygVNLW;j3 z*QEf*`U>glzKoEX`$_8OcM)R$7qa!jy@Z(mOb*?18zGaQAkW=$3~&#VKXkbXsXdmr z{;DN}Sbm=ustm#J^YercV?B-wk>xYtR45ZW|#b@8v&zC(z}a*jUh>|Hhv|A5B-}pPLKw zth@8S{1)&hN5-_Y%qL{V)-ktiT}sIK`Y{9UHwmdY6H;P0{_!$&8PpM}P% zYr~+I)y8>4Pl3G(jn~#cPe|bp*f{H)vGv?k&}*G>Xy!zqt292gB>=yF1LLhQJ_IAI zS9#oc;75l6ub+)IGmS_0e-7&(HoiLRcHnQO@kHYfK@UfbAMG0=WWq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rt%DM(i53W+KTp7}^I7HB?x5>HR8c-d5WSehTD+5ofLdo@`Ien5YnZ p%iAhYjcn3?{Ef_a@Ks!~%gXUqM+N6_+1#9W4anUjHTg6>_#b4hJc VDirInfoDialog - - &Name: - - - - - &OK - - - - - &Cancel - + + Directory &name: + 目录名 (&V): @@ -24,12 +14,12 @@ Warning - + 警告 - Please check if there already exists a file with the same name and manually copy it. - + Please check if there already exists a file with the same name and then manually copy it. + 请检查目标文件夹中是否已经存在同名文件并手动拷贝。 @@ -37,72 +27,72 @@ New &Root Directory - 新建根目录 + 新建根目录 (&R) Create a new root directory in current notebook - + 在当前笔记本中新建一个根目录 &New Sub-Directory - + 新建子目录 (&N) Create a new sub-directory - + 新建一个子目录 &Delete - + 删除 (&D) Delete selected directory - + 删除选定目录 &Info - + 信息 (&I) View and edit current directory's information - + 查看并编辑当前目录的信息 &Copy - + 复制 (&C) Copy selected directories - + 复制选定目录 - &Cut - + C&ut + 剪切 (&U) Cut selected directories - + 剪切选定目录 &Paste - + 粘贴 (&P) - Paste directories - + Paste directories under this directory + 在当前目录下粘贴已复制或剪切的目录 @@ -113,27 +103,27 @@ Warning - + 警告 Create Directory - + 新建目录 Create Root Directory - + 新建根目录 This will delete any files under this directory. - + 该操作会删除该目录下的所有文件。 Directory Information - + 目录信息 @@ -141,95 +131,85 @@ Information - + 信息 Do you want to save your changes? - + 是否保存更改? Warning - + 警告 - Fail to save note - + Fail to save note. + 保存笔记失败。 VEditWindow - Locate - + Locate To Directory + 定位所在目录 Locate the directory 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 - + 移除当前分隔窗口 VFileInfoDialog - - &Name: - - - - - &OK - - - - - &Cancel - + + Note &name: + 笔记名 (&N): @@ -237,79 +217,79 @@ &New Note - + 新建笔记 (&N) Create a note in current directory - 在当前目录下新建一个笔记 + 在当前目录中新建一个笔记 &Delete - + 删除 (&D) Delete selected note - + 删除选定笔记 &Info - + 信息 (&I) View and edit current note's information - + 查看并编辑当前笔记的信息 &Copy - + 复制 (&C) Copy selected notes - + 复制选定笔记 - &Cut - + C&ut + 剪切 (&U) Cut selected notes - + 剪切选定笔记 &Paste - + 粘贴 (&P) - Paste notes - + Paste notes in current directory + 在当前目录中粘贴已复制或剪切的笔记 Note Information - + 笔记信息 Warning - + 警告 This may be unrecoverable! - + 该操作不可撤消! @@ -317,128 +297,118 @@ Find/Replace - 查找/替换 + 查找/替换 Find: - + 查找: Enter text to search - + 输入要查找的文本 Find &Next - + 查找下一个 (&N) Find &Previous - + 查找上一个 (&P) &Replace with: - + 替换 (&R): Enter text to replace with - + 输入替换后的文本 Replace - 替换 + 替换 Replace && Fin&d - + 替换并查找 (&D) Replace A&ll - + 全部替换 (&L) &Advanced >> - + 高级 (&A) >> &Case sensitive - + 区分大小写 (&C) &Whole word only - + 完整字词匹配 (&W) Re&gular expression - + 正则表达式 (&G) &Incremental search - + 增量查找 (&I) VGeneralTab - Language: - + &Language: + 语言 (&L): System - 默认 + 默认 VInsertImageDialog - + &From: - + 图片源 (&F): + + + + &Browse + 浏览文件 (&B) - &Browse - - - - &Image title: - + 图片标题 (&I): - - &OK - + + Select The Image To Be Inserted + 选择要插入的图片 - - &Cancel - - - - - Select the image to be inserted - - - - + Images (*.png *.xpm *.jpg *.bmp *.gif) - + 图片 (*.png *.xpm *.jpg *.bmp *.gif) @@ -446,436 +416,436 @@ Notebook - 笔记本 + 笔记本 Directory - 目录 + 目录 View - 查看 + 查看 &Single Panel - 单列 - - - - Display only the note panel - 仅显示笔记列表面板 + 单列面板 (&S) &Two Panels - 双列 - - - - Display both the directory and note panel - 显示目录和笔记列表面板 + 双列面板 (&T) Expand - 扩展内容区域 + 扩展内容区域 Expand the edit area - 扩展内容编辑区域 + 扩展内容编辑区域 Note - 笔记 + 笔记 New &Root Directory - 新建根目录 + 新建根目录 (&R) Create a root directory in current notebook - 在当前笔记本下新建一个根目录 + 在当前笔记本中新建一个根目录 New &Note - 新建笔记 + 新建笔记 (&N) Create a note in current directory - 在当前目录下新建一个笔记 + 在当前目录中新建一个笔记 Note &Info - 笔记信息 + 笔记信息 (&I) - View and edit info of current note - 显示和编辑当前笔记信息 + View and edit current note's information + 查看并编辑当前笔记的信息 &Delete Note - 删除笔记 + 删除笔记 (&D) Delete current note - 删除当前笔记 + 删除当前笔记 &Edit - 编辑 + 编辑 (&E) Edit current note - 编辑当前笔记 + 编辑当前笔记 Discard Changes And Exit - 放弃更改并退出 + 放弃更改并退出 Discard changes and exit edit mode - 放弃当前更改并退出编辑模式 + 放弃对当前笔记的更改并退出编辑模式 Save Changes And Exit - 保存更改并退出 + 保存更改并退出 Save changes and exit edit mode - 保存当前更改并退出编辑模式 + 保存对当前笔记的更改并退出编辑模式 Save - 保存 - - - - Save changes of current note - 保存当前笔记的更改 + 保存 &Help - 帮助 + 帮助 (&H) &About - 关于 - - - - Show information about VNote - 显示VNote的信息 + 关于 (&A) About &Qt - 关于&Qt - - - - Show information about Qt - 显示Qt的信息 + 关于Qt (&Q) &Markdown - &Markdown + Markdown (&M) &Converter - 渲染引擎 + 渲染引擎 (&C) Marked - Marked + Marked Use Marked to convert Markdown to HTML (re-open current tabs to make it work) - 使用Marked渲染Markdown为HTML (需要重新打开当前标签页) + 使用Marked对Markdown进行HTML渲染 (需要重新打开当前标签页) Hoedown - Hoedown + Hoedown Use Hoedown to convert Markdown to HTML (re-open current tabs to make it work) - 使用Hoedow渲染Markdown为HTML (需要重新打开当前标签页) + 使用Hoedown对Markdown进行HTML渲染 (需要重新打开当前标签页) &View - 查看 + 查看 (&V) &File - 文件 + 文件 (&F) &Import Notes From Files - 导入文件 + 导入文件 (&I) Import notes from files into current directory - 从文件中导入笔记到当前目录 + 从文件中导入笔记到当前目录 Settings - 设置 + 设置 View and change settings for VNote - 查看和更改VNote配置 + 查看并更改VNote的配置 Insert &Image - 插入图片 - - - - Insert an image from file in current note - 从文件中插入图片到当前笔记中 + 插入图片 (&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 + 扩展Tab (&E) Expand entered Tab to spaces - 扩展输入的Tab为空格 + 将输入的Tab扩展为空格 Expand Tab to 2 spaces - 扩展Tab为2个空格 + 扩展Tab为2个空格 Expand Tab to 4 spaces - 扩展Tab为4个空格 + 扩展Tab为4个空格 Expand Tab to 8 spaces - 扩展Tab为8个空格 + 扩展Tab为8个空格 + + + + Highlight Selected Words + 高亮选定字词 + + + + Highlight all occurences of selected words + 高亮选定字词的所有出现 Import Notes From File - 导入文件 - - - - Failed to import files maybe due to name conflicts. - 未能导入文件,可能是因为名字冲突了。 + 导入文件 Use system's background color configuration for Markdown rendering - 使用系统的背景色设置进行Markdown渲染 + 使用系统的背景色设置对Markdown进行渲染 Set as the background color for Markdown rendering - 设置为Markdown渲染背景色 + 使用该背景色对Markdown进行渲染 2 Spaces - 2个空格 + 2个空格 + + + + Display only the note list panel + 仅显示笔记列表面板 + + + + Display both the directory and note list panel + 显示目录和笔记列表面板 + + + + Save changes to current note + 保存对当前笔记的更改 + + + + View information about VNote + 查看VNote的信息 + + + + View information about Qt + 查看Qt的信息 + + + + Insert an image from file into current note + 从文件中插入图片到当前笔记 4 Spaces - 4个空格 + 4个空格 8 Spaces - 8个空格 + 8个空格 Highlight Cursor Line - 高亮光标所在行 + 高亮光标所在行 Highlight current cursor line - 高亮当前光标所在行 - - - - Highlight Selected Word - 高亮所选文本 - - - - Highlight all occurences of selected word - 高亮所选文本的所有出现 + 高亮当前光标所在行 Tab Stop Width - Tab Stop 宽度 + Tab Stop宽度 Tools - 工具 + 工具 Outline - 大纲 + 大纲 Select Files(HTML or Markdown) To Import - 选择要导入的文件(HTML或Markdown) + 选择要导入的文件 (HTML或Markdown) + + + + Fail to import files maybe due to name conflicts. + 导入文件失败 (可能是因为名字冲突)。 About VNote - 关于VNote + 关于VNote VNote is a Vim-inspired note taking application for Markdown. Visit https://github.com/tamlok/vnote.git for more information. - VNote是一个受Vim启发而开发的一个Markdown笔记软件。更多信息请访问 https://github.com/tamlok/vnote.git。 + VNote是一个受Vim启发而开发的一个Markdown笔记软件。更多信息请访问 https://github.com/tamlok/vnote.git。 &Rendering Background - 渲染背景 + 渲染背景 (&R) System - 默认 + 默认 &Background Color - 背景颜色 + 背景颜色 (&B) Use system's background color configuration for editor - 为编辑器使用系统的背景色 + 为编辑器使用系统的背景色设置 Set as the background color for editor - 设置为编辑器的背景色 + 使用该背景色设置编辑器 @@ -883,110 +853,70 @@ Visit https://github.com/tamlok/vnote.git for more information. Insert Image From Clipboard - + 从剪切板中插入图片 Warning - + 警告 + + + + + Fail to save image %1. + 保存图片失败: %1。 Insert Image From File - - - - - VNewDirDialog - - - &OK - - - - - &Cancel - - - - - VNewFileDialog - - - &OK - - - - - &Cancel - + 从文件中插入图片 VNewNotebookDialog - + Notebook &name: - + 笔记本名 (&N): - + Notebook &path: - + 笔记本路径 (&P): + + + + &Browse + 浏览文件 (&B) - &Browse - + Import existing notebook + 导入已有笔记本 - Import existing notebook - + When checked, VNote won't create a new config file if there already exists one + 启用时,VNote会尝试使用已有的配置文件 - - When checked, VNote won't create a new config file if there already exists one. - - - - - &OK - - - - - &Cancel - - - - - Select a directory as the path of the notebook - + + Select A Directory For The Notebook + 为笔记本选择一个目录 VNotebookInfoDialog - + Notebook &name: - + 笔记本名 (&N): - + Notebook &path: - - - - - &OK - - - - - &Cancel - + 笔记本路径 (&P): @@ -994,42 +924,47 @@ Visit https://github.com/tamlok/vnote.git for more information. &Delete - + 删除 (&D) Delete current notebook - + 删除当前笔记本 &Info - + 信息 (&I) View and edit current notebook's information - + 查看并编辑当前笔记本的信息 - Create or import a notebook. - + Create or import a notebook + 新建或导入一个笔记本 - Create Notebook - + Add Notebook + 添加笔记本 + + + + Name already exists. Please choose another name. + 该笔记本名已存在。请选择另一个名字。 Warning - + 警告 Notebook Information - + 笔记本信息 @@ -1037,18 +972,18 @@ Visit https://github.com/tamlok/vnote.git for more information. General - + 常规 Settings - 设置 + 设置 Warning - + 警告 diff --git a/src/vdirectorytree.cpp b/src/vdirectorytree.cpp index f9db456c..0cec293a 100644 --- a/src/vdirectorytree.cpp +++ b/src/vdirectorytree.cpp @@ -58,7 +58,7 @@ void VDirectoryTree::initActions() this, &VDirectoryTree::copySelectedDirectories); cutAct = new QAction(QIcon(":/resources/icons/cut.svg"), - tr("&Cut"), this); + tr("C&ut"), this); cutAct->setStatusTip(tr("Cut selected directories")); connect(cutAct, &QAction::triggered, this, &VDirectoryTree::cutSelectedDirectories); diff --git a/src/vfilelist.cpp b/src/vfilelist.cpp index c4944642..bb511254 100644 --- a/src/vfilelist.cpp +++ b/src/vfilelist.cpp @@ -65,7 +65,7 @@ void VFileList::initActions() this, &VFileList::copySelectedFiles); cutAct = new QAction(QIcon(":/resources/icons/cut.svg"), - tr("&Cut"), this); + tr("C&ut"), this); cutAct->setStatusTip(tr("Cut selected notes")); connect(cutAct, &QAction::triggered, this, &VFileList::cutSelectedFiles); diff --git a/src/vmainwindow.cpp b/src/vmainwindow.cpp index a7b4b216..49cf05ed 100644 --- a/src/vmainwindow.cpp +++ b/src/vmainwindow.cpp @@ -188,7 +188,7 @@ void VMainWindow::initFileToolBar() noteInfoAct = new QAction(QIcon(":/resources/icons/note_info_tb.svg"), tr("Note &Info"), this); - noteInfoAct->setStatusTip(tr("View and edit the information of current note")); + noteInfoAct->setStatusTip(tr("View and edit current note's information")); connect(noteInfoAct, &QAction::triggered, this, &VMainWindow::curEditFileInfo); @@ -263,11 +263,11 @@ void VMainWindow::initHelpMenu() QMenu *helpMenu = menuBar()->addMenu(tr("&Help")); QAction *aboutAct = new QAction(tr("&About"), this); - aboutAct->setStatusTip(tr("Show information about VNote")); + aboutAct->setStatusTip(tr("View information about VNote")); connect(aboutAct, &QAction::triggered, this, &VMainWindow::aboutMessage); QAction *aboutQtAct = new QAction(tr("About &Qt"), this); - aboutQtAct->setStatusTip(tr("Show information about Qt")); + aboutQtAct->setStatusTip(tr("View information about Qt")); connect(aboutQtAct, &QAction::triggered, qApp, &QApplication::aboutQt); diff --git a/src/vmdeditoperations.cpp b/src/vmdeditoperations.cpp index 3f237b52..a729555a 100644 --- a/src/vmdeditoperations.cpp +++ b/src/vmdeditoperations.cpp @@ -57,7 +57,7 @@ void VMdEditOperations::insertImageFromQImage(const QString &title, const QStrin VUtils::makeDirectory(path); bool ret = image.save(filePath); if (!ret) { - QMessageBox msgBox(QMessageBox::Warning, tr("Warning"), QString("Fail to save image %1.").arg(filePath), + QMessageBox msgBox(QMessageBox::Warning, tr("Warning"), tr("Fail to save image %1.").arg(filePath), QMessageBox::Ok, (QWidget *)m_editor); msgBox.exec(); return; @@ -82,7 +82,7 @@ void VMdEditOperations::insertImageFromPath(const QString &title, bool ret = QFile::copy(oriImagePath, filePath); if (!ret) { qWarning() << "fail to copy" << oriImagePath << "to" << filePath; - QMessageBox msgBox(QMessageBox::Warning, tr("Warning"), QString("Fail to save image %1.").arg(filePath), + QMessageBox msgBox(QMessageBox::Warning, tr("Warning"), tr("Fail to save image %1.").arg(filePath), QMessageBox::Ok, (QWidget *)m_editor); msgBox.exec(); return; diff --git a/src/vnotebookselector.cpp b/src/vnotebookselector.cpp index 36968c50..93060a2b 100644 --- a/src/vnotebookselector.cpp +++ b/src/vnotebookselector.cpp @@ -51,8 +51,8 @@ void VNotebookSelector::initActions() this, SLOT(deleteNotebook())); m_notebookInfoAct = new QAction(QIcon(":/resources/icons/notebook_info.svg"), - tr("&Info")); - m_notebookInfoAct->setStatusTip(tr("View and edit information of current notebook")); + tr("&Info"), this); + m_notebookInfoAct->setStatusTip(tr("View and edit current notebook's information")); connect(m_notebookInfoAct, SIGNAL(triggered(bool)), this, SLOT(editNotebookInfo())); } @@ -100,7 +100,7 @@ void VNotebookSelector::insertAddNotebookItem() QFont font; font.setItalic(true); item->setData(Qt::FontRole, font); - item->setToolTip(tr("Create or import a notebook.")); + item->setToolTip(tr("Create or import a notebook")); m_listWidget->insertItem(0, item); } @@ -158,13 +158,13 @@ bool VNotebookSelector::newNotebook() QString defaultPath; do { - VNewNotebookDialog dialog(tr("Create Notebook"), info, defaultName, + VNewNotebookDialog dialog(tr("Add Notebook"), info, defaultName, defaultPath, this); if (dialog.exec() == QDialog::Accepted) { QString name = dialog.getNameInput(); QString path = dialog.getPathInput(); if (findNotebook(name)) { - info = "Name already exists. Please choose another name."; + info = tr("Name already exists. Please choose another name."); defaultName = name; defaultPath = path; continue;