forked from qt-creator/qt-creator
Translations: Fix stray QApplication::translate() calls
For references to the module-own context, use Tr::tr(). For references to other modules, use the right context name (with "::" prefix). Change-Id: I6dce8f1ceccb23c44d93f1826402cd3be8e98e5a Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -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.")
|
||||
|
||||
Reference in New Issue
Block a user