Merge pull request #4182 from APMichael/Patch-1

Fixed minor typos
This commit is contained in:
DavidXanatos 2024-08-27 16:03:45 +02:00 committed by GitHub
commit 1e98b4a59c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -1264,7 +1264,7 @@ void CSettingsWindow::UpdateCert()
ui.lblCert->setText(tr("<b>You have used %1/%2 evaluation certificates. No more free certificates can be generated.</b>").arg(EvalCount).arg(EVAL_MAX));
else
ui.lblCert->setText(tr("<b><a href=\"_\">Get a free evaluation certificate</a> and enjoy all premium features for %1 days.</b>").arg(EVAL_DAYS));
ui.lblCert->setToolTip(tr("You can request a free %1-day evaluation certificate up to %2 times for any one hardware ID.").arg(EVAL_DAYS).arg(EVAL_MAX));
ui.lblCert->setToolTip(tr("You can request a free %1-day evaluation certificate up to %2 times per hardware ID.").arg(EVAL_DAYS).arg(EVAL_MAX));
//ui.lblCertLevel->setVisible(!g_Certificate.isEmpty());
if (!g_Certificate.isEmpty())

View File

@ -287,7 +287,7 @@ CCertificatePage::CCertificatePage(int iOldLevel, QWidget *parent)
registerField("isEvaluate", m_pEvaluate);
QLabel* pGetEvalCert = new QLabel(tr("<b><a href=\"_\"><font color='red'>Get a free evaluation certificate</font></a> and enjoy all premium features for %1 days.</b>").arg(EVAL_DAYS));
pGetEvalCert->setToolTip(tr("You can request a free %1-day evaluation certificate up to %2 times for any one hardware ID.").arg(EVAL_DAYS).arg(EVAL_MAX));
pGetEvalCert->setToolTip(tr("You can request a free %1-day evaluation certificate up to %2 times per hardware ID.").arg(EVAL_DAYS).arg(EVAL_MAX));
layout->addWidget(pGetEvalCert);
connect(pGetEvalCert, &QLabel::linkActivated, this, [=]() {
CSettingsWindow::StartEval(this, this, SLOT(OnCertData(const QByteArray&, const QVariantMap&)));