Fix string typos

If something else sounds odd or it is missing, please verify yourself.
This commit is contained in:
isaak654 2022-01-14 10:55:29 +01:00 committed by GitHub
parent f7499cc88b
commit 621f9f8c10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -2337,10 +2337,10 @@ void CSandMan::UpdateCertState()
g_CertInfo.about_to_expire = g_CertInfo.expirers_in_sec && g_CertInfo.expirers_in_sec < (60*60*24*30); g_CertInfo.about_to_expire = g_CertInfo.expirers_in_sec && g_CertInfo.expirers_in_sec < (60*60*24*30);
if (g_CertInfo.outdated) if (g_CertInfo.outdated)
OnLogMessage(tr("The supporter certificate is not valid for this build, please get an updated certificate")); OnLogMessage(tr("The supporter certificate is not valid for this build, please get an updated certificate"));
// outdated always implicates its no longer valid // outdated always implicates it is no longer valid
else if (g_CertInfo.expired) // may be still valid for the current ald older builds else if (g_CertInfo.expired) // may be still valid for the current older builds
OnLogMessage(tr("The supporter certificate is expired%1, please get an updated certificate") OnLogMessage(tr("The supporter certificate is expired %1 days ago, please get an updated certificate")
.arg(g_CertInfo.valid ? tr(", but it remians valid for the current build") : "")); .arg(g_CertInfo.valid ? tr(", but it remains valid for the current build") : ""));
else if(g_CertInfo.about_to_expire) else if(g_CertInfo.about_to_expire)
OnLogMessage(tr("The supporter certificate will expire in %1 days, please get an updated certificate").arg(g_CertInfo.expirers_in_sec / (60*60*24))); OnLogMessage(tr("The supporter certificate will expire in %1 days, please get an updated certificate").arg(g_CertInfo.expirers_in_sec / (60*60*24)));