aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs')
-rw-r--r--src/libs/ssh/sshkeyexchange.cpp2
-rw-r--r--src/libs/utils/projectintropage.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/ssh/sshkeyexchange.cpp b/src/libs/ssh/sshkeyexchange.cpp
index 528a117908e..c553ecc8b22 100644
--- a/src/libs/ssh/sshkeyexchange.cpp
+++ b/src/libs/ssh/sshkeyexchange.cpp
@@ -134,7 +134,7 @@ bool SshKeyExchange::sendDhInitPacket(const SshIncomingPacket &serverKexInit)
throw SshServerException(SSH_DISCONNECT_KEY_EXCHANGE_FAILED,
"Invalid combination of key exchange and host key algorithms.",
QCoreApplication::translate("SshConnection",
- "No matching host key algorithm available for key exchange algorithm '%1'.")
+ "No matching host key algorithm available for key exchange algorithm \"%1\".")
.arg(QString::fromLatin1(m_kexAlgoName)));
}
determineHashingAlgorithm(kexInitParams, true);
diff --git a/src/libs/utils/projectintropage.cpp b/src/libs/utils/projectintropage.cpp
index 7f9fcb25031..d0a47923b11 100644
--- a/src/libs/utils/projectintropage.cpp
+++ b/src/libs/utils/projectintropage.cpp
@@ -265,7 +265,7 @@ bool ProjectIntroPage::validateProjectName(const QString &name, QString *errorMe
}
if (name.contains(QLatin1Char('.'))) {
if (errorMessage)
- *errorMessage = tr("Invalid character '.'.");
+ *errorMessage = tr("Invalid character \".\".");
return false;
}
return true;