summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKatja Marttila <katja.marttila@qt.io>2018-09-13 08:46:41 +0300
committerKatja Marttila <katja.marttila@qt.io>2018-09-13 07:57:27 +0000
commit6e6a20a5df5ec23b7631724fca10cb116a8a76a9 (patch)
treefbe4a60414caaa1e807091165e07f2eb7bcd7e29
parent8126ce3fe1f7658390626ca319c93ff729373250 (diff)
Fix minor translation strings
Change-Id: I059903b407a44f07b16af29fb5f0973395ee1f50 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
-rw-r--r--src/libs/installer/registerfiletypeoperation.cpp2
-rw-r--r--tools/repogen/repogen.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/libs/installer/registerfiletypeoperation.cpp b/src/libs/installer/registerfiletypeoperation.cpp
index 2cfd8f9c4..bcae422d7 100644
--- a/src/libs/installer/registerfiletypeoperation.cpp
+++ b/src/libs/installer/registerfiletypeoperation.cpp
@@ -89,7 +89,7 @@ bool RegisterFileTypeOperation::performOperation()
{
#ifdef Q_OS_WIN
ensureOptionalArgumentsRead();
- if (!checkArgumentCount(2, 5, tr("<extension> <command> [description [contentType [icon]]]")))
+ if (!checkArgumentCount(2, 5, QString::fromLatin1("<extension> <command> [description [contentType [icon]]]")))
return false;
QStringList args = arguments();
diff --git a/tools/repogen/repogen.cpp b/tools/repogen/repogen.cpp
index 67184c49e..f8f62bfc3 100644
--- a/tools/repogen/repogen.cpp
+++ b/tools/repogen/repogen.cpp
@@ -124,8 +124,8 @@ int main(int argc, char** argv)
args.removeFirst();
if (!filteredPackages.isEmpty()) {
return printErrorAndUsageAndExit(QCoreApplication::translate("QInstaller",
- "Error: --include and --exclude are mutual exclusive options. Use either "
- "one or the other."));
+ "Error: --include and --exclude are mutually exclusive. Use either one or "
+ "the other."));
}
if (args.isEmpty() || args.first().startsWith(QLatin1Char('-'))) {