mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-25 15:58:16 +00:00
feat(src/app/App): display correctly help in the correct locale
This commit is contained in:
parent
c3f2d69310
commit
f5de229269
3 changed files with 8 additions and 7 deletions
|
|
@ -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'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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue