[fix](ui): Adjust SSL references to say 'TLS' as well

This fixes #898.

Signed-off-by: Dom Rodriguez <shymega@shymega.org.uk>
This commit is contained in:
Dom Rodriguez 2020-10-04 20:40:34 +01:00
parent 43708ae0d6
commit 2485454815
No known key found for this signature in database
GPG Key ID: 72DCF1231E54BD43
3 changed files with 6 additions and 6 deletions

View File

@ -77,7 +77,7 @@
</sizepolicy>
</property>
<property name="text">
<string>SSL Fingerprint:</string>
<string>SSL/TLS Fingerprint:</string>
</property>
</widget>
</item>

View File

@ -184,7 +184,7 @@
<item row="2" column="0">
<widget class="QCheckBox" name="m_pCheckBoxEnableCrypto">
<property name="text">
<string>Enable &amp;SSL</string>
<string>Enable &amp;SSL/TLS</string>
</property>
</widget>
</item>

View File

@ -85,7 +85,7 @@ std::pair<bool, std::string> SslCertificate::runTool(const QStringList& args)
if (!success || code != 0)
{
emit error(
QString("SSL tool failed: %1\n\nCode: %2\nError: %3")
QString("SSL/TLS tool failed: %1\n\nCode: %2\nError: %3")
.arg(program)
.arg(process.exitCode())
.arg(standardError.isEmpty() ? "Unknown" : standardError));
@ -139,7 +139,7 @@ void SslCertificate::generateCertificate()
return;
}
emit info(tr("SSL certificate generated."));
emit info(tr("SSL/TLS certificate generated."));
}
generateFingerprint(filename);
@ -173,10 +173,10 @@ void SslCertificate::generateFingerprint(const QString& certificateFilename)
i, output.size() - i);
Fingerprint::local().trust(QString::fromStdString(fingerprint), false);
emit info(tr("SSL fingerprint generated."));
emit info(tr("SSL/TLS fingerprint generated."));
}
else {
emit error(tr("Failed to find SSL fingerprint."));
emit error(tr("Failed to find SSL/TLS fingerprint."));
}
}