summaryrefslogtreecommitdiff
path: root/src/plugins/git/gerrit/gerritserver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/git/gerrit/gerritserver.cpp')
-rw-r--r--src/plugins/git/gerrit/gerritserver.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/plugins/git/gerrit/gerritserver.cpp b/src/plugins/git/gerrit/gerritserver.cpp
index 793586f54f..1ac7a64993 100644
--- a/src/plugins/git/gerrit/gerritserver.cpp
+++ b/src/plugins/git/gerrit/gerritserver.cpp
@@ -281,10 +281,8 @@ bool GerritServer::resolveRoot()
case CertificateError:
if (QMessageBox::question(
Core::ICore::dialogParent(),
- QCoreApplication::translate(
- "Gerrit::Internal::GerritDialog", "Certificate Error"),
- QCoreApplication::translate(
- "Gerrit::Internal::GerritDialog",
+ Tr::tr("Certificate Error"),
+ Tr::tr(
"Server certificate for %1 cannot be authenticated.\n"
"Do you want to disable SSL verification for this server?\n"
"Note: This can expose you to man-in-the-middle attack.")