update Chinese translations

This commit is contained in:
Le Tan 2018-12-01 12:34:19 +08:00
parent 12d5bb27ef
commit 369ccb34e8
4 changed files with 901 additions and 872 deletions

View File

@ -165,7 +165,7 @@ void VUpdater::parseResult(const QByteArray &p_data)
.arg(g_config->c_version).arg(tag));
if (isNewerVersion(g_config->c_version, tag)) {
m_proLabel->setText(tr("<span style=\"font-weight: bold;\">Updates Available!</span><br/>"
"Please visit <a href=\"%1\">Github Releases</a> to download the latest version.")
"Please visit <a href=\"%1\">GitHub Releases</a> to download the latest version.")
.arg(releaseUrl));
} else {
m_proLabel->setText(tr("VNote is already the latest version."));

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -854,8 +854,8 @@ void VMainWindow::initHelpMenu()
updater.exec();
});
QAction *starAct = new QAction(tr("Star VNote on &Github"), this);
starAct->setToolTip(tr("Give a star to VNote on Github project"));
QAction *starAct = new QAction(tr("Star VNote on &GitHub"), this);
starAct->setToolTip(tr("Give a star to VNote on GitHub project"));
connect(starAct, &QAction::triggered,
this, []() {
QString url("https://github.com/tamlok/vnote");
@ -863,7 +863,7 @@ void VMainWindow::initHelpMenu()
});
QAction *feedbackAct = new QAction(tr("&Feedback"), this);
feedbackAct->setToolTip(tr("Open an issue on Github"));
feedbackAct->setToolTip(tr("Open an issue on GitHub"));
connect(feedbackAct, &QAction::triggered,
this, []() {
QString url("https://github.com/tamlok/vnote/issues");
@ -1661,7 +1661,7 @@ void VMainWindow::initMarkdownExtensionMenu(QMenu *p_menu)
QMenu *optMenu = p_menu->addMenu(tr("Extensions"));
optMenu->setToolTipsVisible(true);
QAction *mermaidAct = new QAction(tr("&Mermaid Diagram"), optMenu);
QAction *mermaidAct = new QAction(tr("&Mermaid"), optMenu);
mermaidAct->setToolTip(tr("Enable Mermaid for graph and diagram (re-open current tabs to make it work)"));
mermaidAct->setCheckable(true);
mermaidAct->setChecked(g_config->getEnableMermaid());