refine Chinese translations

This commit is contained in:
Le Tan 2017-10-01 10:37:17 +08:00
parent 95548a68e0
commit 93a218655d
7 changed files with 1633 additions and 634 deletions

View File

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

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

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

View File

@ -510,7 +510,7 @@ void VDirectoryTree::deleteSelectedDirectory()
tr("<span style=\"%1\">WARNING</span>: " tr("<span style=\"%1\">WARNING</span>: "
"VNote will delete the whole directory " "VNote will delete the whole directory "
"<span style=\"%2\">%3</span>." "<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>" "of this folder.<br>"
"The operation is IRREVERSIBLE!") "The operation is IRREVERSIBLE!")
.arg(g_config->c_warningTextStyle) .arg(g_config->c_warningTextStyle)

View File

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

View File

@ -298,7 +298,7 @@ void VMdEdit::clearUnusedImages()
QString text = tr("Following images seems not to be used in this note anymore. " QString text = tr("Following images seems not to be used in this note anymore. "
"Please confirm the deletion of these images."); "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>" "bin of this note.<br>"
"Click \"Cancel\" to leave them untouched."); "Click \"Cancel\" to leave them untouched.");