Skip to content

Commit 93a2186

Browse files
committed
refine Chinese translations
1 parent 95548a6 commit 93a2186

File tree

7 files changed

+1625
-626
lines changed

7 files changed

+1625
-626
lines changed

src/dialog/vnewdirdialog.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ void VNewDirDialog::setupUI()
2828
infoLabel->setWordWrap(true);
2929
}
3030

31-
QLabel *nameLabel = new QLabel("Folder &name:");
31+
QLabel *nameLabel = new QLabel(tr("Folder &name:"));
3232
nameEdit = new QLineEdit(defaultName);
3333
nameEdit->selectAll();
3434
nameLabel->setBuddy(nameEdit);

src/translations/vnote_zh_CN.qm

20.3 KB
Binary file not shown.

src/translations/vnote_zh_CN.ts

Lines changed: 1617 additions & 618 deletions
Large diffs are not rendered by default.

src/vattachmentlist.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ void VAttachmentList::setupUI()
4646
tr("<span style=\"%1\">WARNING</span>: "
4747
"VNote will delete all the files in directory "
4848
"<span style=\"%2\">%3</span>."
49-
"You could find deleted files in the recycle bin "
50-
"of this notebook.<br>The operation is IRREVERSIBLE!")
49+
"Deleted files could be found in the recycle bin "
50+
"of this note.<br>The operation is IRREVERSIBLE!")
5151
.arg(g_config->c_warningTextStyle)
5252
.arg(g_config->c_dataTextStyle)
5353
.arg(m_file->fetchAttachmentFolderPath()),
@@ -319,7 +319,7 @@ void VAttachmentList::deleteSelectedItems()
319319
"<span style=\"%1\">%2</span>?")
320320
.arg(g_config->c_dataTextStyle).arg(m_file->getName());
321321

322-
QString info = tr("You could find deleted files in the recycle "
322+
QString info = tr("Deleted files could be found in the recycle "
323323
"bin of this note.<br>"
324324
"Click \"Cancel\" to leave them untouched.");
325325

src/vdirectorytree.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ void VDirectoryTree::deleteSelectedDirectory()
510510
tr("<span style=\"%1\">WARNING</span>: "
511511
"VNote will delete the whole directory "
512512
"<span style=\"%2\">%3</span>."
513-
"You could find deleted files in the recycle bin "
513+
"Deleted files could be found in the recycle bin "
514514
"of this folder.<br>"
515515
"The operation is IRREVERSIBLE!")
516516
.arg(g_config->c_warningTextStyle)

src/vfilelist.cpp

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

src/vmdedit.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ void VMdEdit::clearUnusedImages()
298298
QString text = tr("Following images seems not to be used in this note anymore. "
299299
"Please confirm the deletion of these images.");
300300

301-
QString info = tr("You could find deleted files in the recycle "
301+
QString info = tr("Deleted files could be found in the recycle "
302302
"bin of this note.<br>"
303303
"Click \"Cancel\" to leave them untouched.");
304304

0 commit comments

Comments
 (0)