Commit f5de2292 authored by Ronan Abhamon's avatar Ronan Abhamon

feat(src/app/App): display correctly help in the correct locale

parent c3f2d693
......@@ -78,11 +78,11 @@
</message>
<message>
<source>commandLineOptionHelp</source>
<translation type="unfinished"></translation>
<translation>show this help</translation>
</message>
<message>
<source>commandLineOptionVersion</source>
<translation type="unfinished"></translation>
<translation>show app version</translation>
</message>
</context>
<context>
......
......@@ -78,11 +78,11 @@
</message>
<message>
<source>commandLineOptionHelp</source>
<translation type="unfinished"></translation>
<translation>affiche cette aide</translation>
</message>
<message>
<source>commandLineOptionVersion</source>
<translation type="unfinished"></translation>
<translation>affiche la version de l&apos;application</translation>
</message>
</context>
<context>
......
......@@ -90,10 +90,11 @@ App::App (int &argc, char *argv[]) : SingleApplication(argc, argv, true) {
mTranslator = new DefaultTranslator(this);
initLocale();
parseArgs();
if (mParser->isSet("help"))
if (mParser->isSet("help")) {
parseArgs();
mParser->showHelp();
}
if (mParser->isSet("version"))
mParser->showVersion();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment