Commit bb8d0d21 authored by Robert Loehning's avatar Robert Loehning

Do not shout at users

Change-Id: I744a3d45b67a4596ac8cc5371d9e3cb303946ae1
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
Reviewed-by: default avatarLeena Miettinen <riitta-leena.miettinen@digia.com>
parent a13ef73d
......@@ -48,7 +48,7 @@ bool ProjectNameValidatingLineEdit::validateProjectName(const QString &name, QSt
int pos = FileUtils::indexOfQmakeUnfriendly(name);
if (pos >= 0) {
if (errorMessage)
*errorMessage = tr("Invalid character \"%1\" found!").arg(name.at(pos));
*errorMessage = tr("Invalid character \"%1\" found.").arg(name.at(pos));
return false;
}
if (name.contains(QLatin1Char('.'))) {
......
......@@ -1353,7 +1353,7 @@ void ClearCasePlugin::viewStatus()
}
}
if (!anymod)
outputwindow->appendWarning(QLatin1String("No modified files found!"));
outputwindow->appendWarning(QLatin1String("No modified files found."));
}
void ClearCasePlugin::ccUpdate(const QString &workingDir, const QStringList &relativePaths)
......
......@@ -1147,7 +1147,7 @@ CvsResponse CvsPlugin::runCvs(const QString &workingDirectory,
CvsResponse response;
if (executable.isEmpty()) {
response.result = CvsResponse::OtherError;
response.message =tr("No cvs executable specified!");
response.message =tr("No cvs executable specified.");
return response;
}
// Run, connect stderr to the output window
......
......@@ -1386,7 +1386,7 @@ bool DebuggerPluginPrivate::parseArgument(QStringList::const_iterator &it,
} else if (sp.executable.isEmpty()) {
sp.executable = key;
} else {
*errorMessage = DebuggerPlugin::tr("Only one executable allowed!");
*errorMessage = DebuggerPlugin::tr("Only one executable allowed.");
return false;
}
}
......
......@@ -212,7 +212,7 @@ void HelpPage::onHandleUnsupportedContent(QNetworkReply *reply)
}
// set a default error string we are going to display
QString errorString = HelpViewer::tr("Unknown or unsupported content!");
QString errorString = HelpViewer::tr("Unknown or unsupported content.");
if (reply->error() == QNetworkReply::NoError) {
// try to open the url using using the desktop service
if (QDesktopServices::openUrl(reply->url())) {
......
......@@ -1139,7 +1139,7 @@ bool QmakePriFileNode::ensureWriteableProFile(const QString &file)
bool makeWritable = QFile::setPermissions(file, fi.permissions() | QFile::WriteUser);
if (!makeWritable) {
QMessageBox::warning(Core::ICore::mainWindow(),
tr("Failed!"),
tr("Failed"),
tr("Could not write project file %1.").arg(file));
return false;
}
......
......@@ -160,5 +160,5 @@ void QnxAnalyzeSupport::showMessage(const QString &msg, Utils::OutputFormat form
void QnxAnalyzeSupport::printMissingWarning()
{
showMessage(tr("Warning: \"slog2info\" is not found on the device, debug output not available!"), Utils::ErrorMessageFormat);
showMessage(tr("Warning: \"slog2info\" is not found on the device, debug output not available."), Utils::ErrorMessageFormat);
}
......@@ -190,7 +190,7 @@ void QnxDebugSupport::handleError(const QString &error)
void QnxDebugSupport::printMissingWarning()
{
if (m_engine)
m_engine->showMessage(tr("Warning: \"slog2info\" is not found on the device, debug output not available!"), Debugger::AppError);
m_engine->showMessage(tr("Warning: \"slog2info\" is not found on the device, debug output not available."), Debugger::AppError);
}
void QnxDebugSupport::handleApplicationOutput(const QString &msg, Utils::OutputFormat outputFormat)
......
......@@ -70,5 +70,5 @@ ProjectExplorer::RunControl::StopResult QnxRunControl::stop()
void QnxRunControl::printMissingWarning()
{
appendMessage(tr("Warning: \"slog2info\" is not found on the device, debug output not available!"), Utils::ErrorMessageFormat);
appendMessage(tr("Warning: \"slog2info\" is not found on the device, debug output not available."), Utils::ErrorMessageFormat);
}
......@@ -1017,7 +1017,7 @@ SubversionResponse SubversionPlugin::runSvn(const QString &workingDir,
SubversionResponse response;
if (executable.isEmpty()) {
response.error = true;
response.message =tr("No subversion executable specified!");
response.message =tr("No subversion executable specified.");
return response;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment