Browse Source

refine Chinese translations

Le Tan 8 years ago
parent
commit
93a218655d

+ 1 - 1
src/dialog/vnewdirdialog.cpp

@@ -28,7 +28,7 @@ void VNewDirDialog::setupUI()
         infoLabel->setWordWrap(true);
     }
 
-    QLabel *nameLabel = new QLabel("Folder &name:");
+    QLabel *nameLabel = new QLabel(tr("Folder &name:"));
     nameEdit = new QLineEdit(defaultName);
     nameEdit->selectAll();
     nameLabel->setBuddy(nameEdit);

BIN
src/translations/vnote_zh_CN.qm


File diff suppressed because it is too large
+ 766 - 213
src/translations/vnote_zh_CN.ts


+ 3 - 3
src/vattachmentlist.cpp

@@ -46,8 +46,8 @@ void VAttachmentList::setupUI()
                                                   tr("<span style=\"%1\">WARNING</span>: "
                                                      "VNote will delete all the files in directory "
                                                      "<span style=\"%2\">%3</span>."
-                                                     "You could find deleted files in the recycle bin "
-                                                     "of this notebook.<br>The operation is IRREVERSIBLE!")
+                                                     "Deleted files could be found in the recycle bin "
+                                                     "of this note.<br>The operation is IRREVERSIBLE!")
                                                     .arg(g_config->c_warningTextStyle)
                                                     .arg(g_config->c_dataTextStyle)
                                                     .arg(m_file->fetchAttachmentFolderPath()),
@@ -319,7 +319,7 @@ void VAttachmentList::deleteSelectedItems()
                       "<span style=\"%1\">%2</span>?")
                      .arg(g_config->c_dataTextStyle).arg(m_file->getName());
 
-    QString info = tr("You could find deleted files in the recycle "
+    QString info = tr("Deleted files could be found in the recycle "
                       "bin of this note.<br>"
                       "Click \"Cancel\" to leave them untouched.");
 

+ 1 - 1
src/vdirectorytree.cpp

@@ -510,7 +510,7 @@ void VDirectoryTree::deleteSelectedDirectory()
                                   tr("<span style=\"%1\">WARNING</span>: "
                                      "VNote will delete the whole directory "
                                      "<span style=\"%2\">%3</span>."
-                                     "You could find deleted files in the recycle bin "
+                                     "Deleted files could be found in the recycle bin "
                                      "of this folder.<br>"
                                      "The operation is IRREVERSIBLE!")
                                     .arg(g_config->c_warningTextStyle)

+ 2 - 2
src/vfilelist.cpp

@@ -449,7 +449,7 @@ void VFileList::deleteFiles(const QVector<VNoteFile *> &p_files)
     QString info = tr("<span style=\"%1\">WARNING</span>: "
                       "VNote will delete notes as well as all "
                       "their images and attachments managed by VNote. "
-                      "You could find deleted files in the recycle "
+                      "Deleted files could be found in the recycle "
                       "bin of these notes.<br>"
                       "Click \"Cancel\" to leave them untouched.<br>"
                       "The operation is IRREVERSIBLE!")
@@ -625,7 +625,7 @@ bool VFileList::importFiles(const QStringList &p_files, QString *p_errMsg)
         QString targetFilePath = dir.filePath(name);
         bool ret = VUtils::copyFile(file, targetFilePath, false);
         if (!ret) {
-            VUtils::addErrMsg(p_errMsg, tr("Fail to copy file %1 as %1.")
+            VUtils::addErrMsg(p_errMsg, tr("Fail to copy file %1 as %2.")
                                           .arg(file)
                                           .arg(targetFilePath));
             ret = false;

+ 1 - 1
src/vmdedit.cpp

@@ -298,7 +298,7 @@ void VMdEdit::clearUnusedImages()
             QString text = tr("Following images seems not to be used in this note anymore. "
                               "Please confirm the deletion of these images.");
 
-            QString info = tr("You could find deleted files in the recycle "
+            QString info = tr("Deleted files could be found in the recycle "
                               "bin of this note.<br>"
                               "Click \"Cancel\" to leave them untouched.");
 

Some files were not shown because too many files changed in this diff