Skip to content

Commit

Permalink
refine Chinese translations
Browse files Browse the repository at this point in the history
  • Loading branch information
tamlok committed Oct 1, 2017
1 parent 95548a6 commit 93a2186
Show file tree
Hide file tree
Showing 7 changed files with 1,625 additions and 626 deletions.
2 changes: 1 addition & 1 deletion src/dialog/vnewdirdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Binary file modified src/translations/vnote_zh_CN.qm
Binary file not shown.
2,235 changes: 1,617 additions & 618 deletions src/translations/vnote_zh_CN.ts

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions src/vattachmentlist.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()),
Expand Down Expand Up @@ -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.");

Expand Down
2 changes: 1 addition & 1 deletion src/vdirectorytree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions src/vfilelist.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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!")
Expand Down Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/vmdedit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.");

Expand Down

0 comments on commit 93a2186

Please sign in to comment.