mirror of
https://github.com/debauchee/barrier.git
synced 2026-02-12 06:35:04 +08:00
Compare commits
1 Commits
master
...
fix/lang-t
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2485454815 |
@@ -77,7 +77,7 @@
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>SSL Fingerprint:</string>
|
||||
<string>SSL/TLS Fingerprint:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
||||
@@ -184,7 +184,7 @@
|
||||
<item row="2" column="0">
|
||||
<widget class="QCheckBox" name="m_pCheckBoxEnableCrypto">
|
||||
<property name="text">
|
||||
<string>Enable &SSL</string>
|
||||
<string>Enable &SSL/TLS</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
||||
@@ -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."));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user