diff --git a/linphone-desktop/assets/languages/en.ts b/linphone-desktop/assets/languages/en.ts index 2327cf44c..fc6ee78b3 100644 --- a/linphone-desktop/assets/languages/en.ts +++ b/linphone-desktop/assets/languages/en.ts @@ -4,24 +4,24 @@ App - Linphone seems to be running correctly - + selftestResult + Linphone seems to be running correctly. - Log to stdout some debug information while running. - + commandLineOptionVerbose + Log to stdout some debug information while running. - Specify the linphone configuration file to use. - + commandLineOptionConfig + Specify the linphone configuration file to use. - Run self test and exit 0 if it succeeded. - + commandLineOptionSelftest + Run self test and exit 0 if it succeeded. - A free SIP video-phone - + applicationDescription + A free SIP video-phone diff --git a/linphone-desktop/assets/languages/fr.ts b/linphone-desktop/assets/languages/fr.ts index cca1442f3..c74398bbe 100644 --- a/linphone-desktop/assets/languages/fr.ts +++ b/linphone-desktop/assets/languages/fr.ts @@ -4,23 +4,23 @@ App - Linphone seems to be running correctly + selftestResult - Log to stdout some debug information while running. + commandLineOptionVerbose - Specify the linphone configuration file to use. + commandLineOptionConfig - Run self test and exit 0 if it succeeded. + commandLineOptionSelftest - A free SIP video-phone + applicationDescription diff --git a/linphone-desktop/src/app/App.cpp b/linphone-desktop/src/app/App.cpp index f5a7f2858..4300b494f 100644 --- a/linphone-desktop/src/app/App.cpp +++ b/linphone-desktop/src/app/App.cpp @@ -154,13 +154,13 @@ void App::initContentApp () { // ----------------------------------------------------------------------------- void App::parseArgs () { - m_parser.setApplicationDescription(tr("A free SIP video-phone")); + m_parser.setApplicationDescription(tr("applicationDescription")); m_parser.addHelpOption(); m_parser.addVersionOption(); m_parser.addOptions({ - { "config", tr("Specify the linphone configuration file to use."), "file" }, - { "selftest", tr("Run self test and exit 0 if it succeeded.") }, - { { "V", "verbose" }, tr("Log to stdout some debug information while running.") } + { "config", tr("commandLineOptionConfig"), "file" }, + { "selftest", tr("commandLineOptionSelftest") }, + { { "V", "verbose" }, tr("commandLineOptionVerbose") } }); m_parser.process(*this); @@ -320,7 +320,7 @@ void App::setTrayIcon () { void App::quit () { if (m_parser.isSet("selftest")) { - cout << tr("Linphone seems to be running correctly").toStdString() << endl; + cout << tr("selftestResult").toStdString() << endl; } QCoreApplication::quit(); }