From 6e6a20a5df5ec23b7631724fca10cb116a8a76a9 Mon Sep 17 00:00:00 2001 From: Katja Marttila Date: Thu, 13 Sep 2018 08:46:41 +0300 Subject: Fix minor translation strings Change-Id: I059903b407a44f07b16af29fb5f0973395ee1f50 Reviewed-by: Tim Jenssen --- src/libs/installer/registerfiletypeoperation.cpp | 2 +- tools/repogen/repogen.cpp | 4 ++-- 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(" [description [contentType [icon]]]"))) + if (!checkArgumentCount(2, 5, QString::fromLatin1(" [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('-'))) { -- cgit v1.2.3