From 07021680a45bb33cdf540b8e60e774429ecca20b Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Fri, 21 Apr 2017 13:11:51 +0300 Subject: [PATCH] Little fix for translation string. --HG-- branch : release --- src/app/tape/mapplication.cpp | 2 +- src/app/valentina/core/vcmdexport.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/tape/mapplication.cpp b/src/app/tape/mapplication.cpp index ed82c4be5..be7441df5 100644 --- a/src/app/tape/mapplication.cpp +++ b/src/app/tape/mapplication.cpp @@ -584,7 +584,7 @@ void MApplication::ParseCommandLine(const SocketConnection &connection, const QS //----- QCommandLineOption scalingOption(QStringList() << LONG_OPTION_NO_HDPI_SCALING, tr("Disable high dpi scaling. Call this option if has problem with scaling (by default scaling enabled). " - "Alternatively you can use the QT_AUTO_SCREEN_SCALE_FACTOR=0 environment variable.")); + "Alternatively you can use the %1 environment variable.").arg("QT_AUTO_SCREEN_SCALE_FACTOR=0")); parser.addOption(scalingOption); //----- parser.process(arguments); diff --git a/src/app/valentina/core/vcmdexport.cpp b/src/app/valentina/core/vcmdexport.cpp index 96b8a4e62..18337cdcd 100644 --- a/src/app/valentina/core/vcmdexport.cpp +++ b/src/app/valentina/core/vcmdexport.cpp @@ -256,8 +256,8 @@ void VCommandLine::InitOptions(VCommandLineOptions &options, QMap translate("VCommandLine", "Disable high dpi scaling. Call this option if has " "problem with scaling (by default scaling " "enabled). Alternatively you can use the " - "QT_AUTO_SCREEN_SCALE_FACTOR=0 environment " - "variable."))); + "%1 environment variable.") + .arg("QT_AUTO_SCREEN_SCALE_FACTOR=0"))); } //------------------------------------------------------------------------------------------------------