Little fix for translation string.

--HG--
branch : release
This commit is contained in:
Roman Telezhynskyi 2017-04-21 13:11:51 +03:00
parent 6c047b140d
commit 07021680a4
2 changed files with 3 additions and 3 deletions

View file

@ -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);

View file

@ -256,8 +256,8 @@ void VCommandLine::InitOptions(VCommandLineOptions &options, QMap<QString, int>
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")));
}
//------------------------------------------------------------------------------------------------------