UI text: use double quotes for emphasis

Change-Id: Ia32f968bc672c587925ebc600de06b4387966aee
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
This commit is contained in:
Leena Miettinen
2015-06-01 09:51:04 +02:00
parent 51bb52139c
commit e2e175f092
3 changed files with 3 additions and 3 deletions

View File

@@ -134,7 +134,7 @@ bool SshKeyExchange::sendDhInitPacket(const SshIncomingPacket &serverKexInit)
throw SshServerException(SSH_DISCONNECT_KEY_EXCHANGE_FAILED, throw SshServerException(SSH_DISCONNECT_KEY_EXCHANGE_FAILED,
"Invalid combination of key exchange and host key algorithms.", "Invalid combination of key exchange and host key algorithms.",
QCoreApplication::translate("SshConnection", 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))); .arg(QString::fromLatin1(m_kexAlgoName)));
} }
determineHashingAlgorithm(kexInitParams, true); determineHashingAlgorithm(kexInitParams, true);

View File

@@ -265,7 +265,7 @@ bool ProjectIntroPage::validateProjectName(const QString &name, QString *errorMe
} }
if (name.contains(QLatin1Char('.'))) { if (name.contains(QLatin1Char('.'))) {
if (errorMessage) if (errorMessage)
*errorMessage = tr("Invalid character '.'."); *errorMessage = tr("Invalid character \".\".");
return false; return false;
} }
return true; return true;

View File

@@ -701,7 +701,7 @@ bool QbsBuildStepConfigWidget::validateProperties(Utils::FancyLineEdit *edit, QS
properties.append(qMakePair(key, value)); properties.append(qMakePair(key, value));
} else { } else {
if (errorMessage) if (errorMessage)
*errorMessage = tr("No ':' found in property definition."); *errorMessage = tr("No \":\" found in property definition.");
return false; return false;
} }
} }