forked from qt-creator/qt-creator
tr()-Fixes for 2.3: No contractions, spelling.
Change-Id: I08babdb15bcf7f7ac086e9e12955b780b7591391 Reviewed-on: http://codereview.qt.nokia.com/480 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
This commit is contained in:
@@ -447,7 +447,7 @@ bool PathChooser::validatePath(const QString &path, QString *errorMessage)
|
||||
}
|
||||
if (!fi.isExecutable()) {
|
||||
if (errorMessage)
|
||||
*errorMessage = tr("Can not execute '%1'.").arg(QDir::toNativeSeparators(expandedPath));
|
||||
*errorMessage = tr("Cannot execute '%1'.").arg(QDir::toNativeSeparators(expandedPath));
|
||||
return false;
|
||||
}
|
||||
break;
|
||||
@@ -461,7 +461,7 @@ bool PathChooser::validatePath(const QString &path, QString *errorMessage)
|
||||
case PathChooser::Command: // fall through
|
||||
if (fi.exists() && !fi.isExecutable()) {
|
||||
if (errorMessage)
|
||||
*errorMessage = tr("Can not execute '%1'.").arg(QDir::toNativeSeparators(expandedPath));
|
||||
*errorMessage = tr("Cannot execute '%1'.").arg(QDir::toNativeSeparators(expandedPath));
|
||||
return false;
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user