forked from qt-creator/qt-creator
UI text: fix typo
"a executable" should be "an executable" Change-Id: I3d1717c893e1dbdc95d7af2477af253234eb0c21 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
This commit is contained in:
@@ -521,7 +521,7 @@ bool PathChooser::validatePath(const QString &path, QString *errorMessage)
|
|||||||
case PathChooser::ExistingCommand:
|
case PathChooser::ExistingCommand:
|
||||||
if (!fi.isFile() || !fi.isExecutable()) {
|
if (!fi.isFile() || !fi.isExecutable()) {
|
||||||
if (errorMessage)
|
if (errorMessage)
|
||||||
*errorMessage = tr("The path <b>%1</b> is not a executable file.").arg(QDir::toNativeSeparators(expandedPath));
|
*errorMessage = tr("The path <b>%1</b> is not an executable file.").arg(QDir::toNativeSeparators(expandedPath));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1270,7 +1270,7 @@ bool BaseQtVersion::queryQMakeVariables(const FileName &binary, const Environmen
|
|||||||
|
|
||||||
const QFileInfo qmake = binary.toFileInfo();
|
const QFileInfo qmake = binary.toFileInfo();
|
||||||
if (!qmake.exists() || !qmake.isExecutable() || qmake.isDir()) {
|
if (!qmake.exists() || !qmake.isExecutable() || qmake.isDir()) {
|
||||||
*error = QCoreApplication::translate("QtVersion", "qmake '%1' is not an executable").arg(binary.toUserOutput());
|
*error = QCoreApplication::translate("QtVersion", "qmake '%1' is not an executable.").arg(binary.toUserOutput());
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ public:
|
|||||||
*/
|
*/
|
||||||
QString executable() const;
|
QString executable() const;
|
||||||
|
|
||||||
/** Returns whether this runconfiguration ever was configured with a executable
|
/** Returns whether this runconfiguration ever was configured with an executable
|
||||||
*/
|
*/
|
||||||
bool isConfigured() const;
|
bool isConfigured() const;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user