mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 22:09:52 +08:00
update Chinese translations
This commit is contained in:
parent
12d5bb27ef
commit
369ccb34e8
@ -165,7 +165,7 @@ void VUpdater::parseResult(const QByteArray &p_data)
|
|||||||
.arg(g_config->c_version).arg(tag));
|
.arg(g_config->c_version).arg(tag));
|
||||||
if (isNewerVersion(g_config->c_version, tag)) {
|
if (isNewerVersion(g_config->c_version, tag)) {
|
||||||
m_proLabel->setText(tr("<span style=\"font-weight: bold;\">Updates Available!</span><br/>"
|
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));
|
.arg(releaseUrl));
|
||||||
} else {
|
} else {
|
||||||
m_proLabel->setText(tr("VNote is already the latest version."));
|
m_proLabel->setText(tr("VNote is already the latest version."));
|
||||||
|
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@ -854,8 +854,8 @@ void VMainWindow::initHelpMenu()
|
|||||||
updater.exec();
|
updater.exec();
|
||||||
});
|
});
|
||||||
|
|
||||||
QAction *starAct = new QAction(tr("Star VNote on &Github"), this);
|
QAction *starAct = new QAction(tr("Star VNote on &GitHub"), this);
|
||||||
starAct->setToolTip(tr("Give a star to VNote on Github project"));
|
starAct->setToolTip(tr("Give a star to VNote on GitHub project"));
|
||||||
connect(starAct, &QAction::triggered,
|
connect(starAct, &QAction::triggered,
|
||||||
this, []() {
|
this, []() {
|
||||||
QString url("https://github.com/tamlok/vnote");
|
QString url("https://github.com/tamlok/vnote");
|
||||||
@ -863,7 +863,7 @@ void VMainWindow::initHelpMenu()
|
|||||||
});
|
});
|
||||||
|
|
||||||
QAction *feedbackAct = new QAction(tr("&Feedback"), this);
|
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,
|
connect(feedbackAct, &QAction::triggered,
|
||||||
this, []() {
|
this, []() {
|
||||||
QString url("https://github.com/tamlok/vnote/issues");
|
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"));
|
QMenu *optMenu = p_menu->addMenu(tr("Extensions"));
|
||||||
optMenu->setToolTipsVisible(true);
|
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->setToolTip(tr("Enable Mermaid for graph and diagram (re-open current tabs to make it work)"));
|
||||||
mermaidAct->setCheckable(true);
|
mermaidAct->setCheckable(true);
|
||||||
mermaidAct->setChecked(g_config->getEnableMermaid());
|
mermaidAct->setChecked(g_config->getEnableMermaid());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user