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, 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). " 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.addOption(scalingOption);
//----- //-----
parser.process(arguments); 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 " translate("VCommandLine", "Disable high dpi scaling. Call this option if has "
"problem with scaling (by default scaling " "problem with scaling (by default scaling "
"enabled). Alternatively you can use the " "enabled). Alternatively you can use the "
"QT_AUTO_SCREEN_SCALE_FACTOR=0 environment " "%1 environment variable.")
"variable."))); .arg("QT_AUTO_SCREEN_SCALE_FACTOR=0")));
} }
//------------------------------------------------------------------------------------------------------ //------------------------------------------------------------------------------------------------------