mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-05-07 14:44:01 +00:00
Use labels in source code for translation instead of real strings.
This commit is contained in:
parent
5e37e2cfb5
commit
8736322634
3 changed files with 20 additions and 20 deletions
|
|
@ -4,24 +4,24 @@
|
|||
<context>
|
||||
<name>App</name>
|
||||
<message>
|
||||
<source>Linphone seems to be running correctly</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<source>selftestResult</source>
|
||||
<translation>Linphone seems to be running correctly.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Log to stdout some debug information while running.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<source>commandLineOptionVerbose</source>
|
||||
<translation>Log to stdout some debug information while running.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Specify the linphone configuration file to use.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<source>commandLineOptionConfig</source>
|
||||
<translation>Specify the linphone configuration file to use.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Run self test and exit 0 if it succeeded.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<source>commandLineOptionSelftest</source>
|
||||
<translation>Run self test and exit 0 if it succeeded.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>A free SIP video-phone</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<source>applicationDescription</source>
|
||||
<translation>A free SIP video-phone</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
|
|
|
|||
|
|
@ -4,23 +4,23 @@
|
|||
<context>
|
||||
<name>App</name>
|
||||
<message>
|
||||
<source>Linphone seems to be running correctly</source>
|
||||
<source>selftestResult</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Log to stdout some debug information while running.</source>
|
||||
<source>commandLineOptionVerbose</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Specify the linphone configuration file to use.</source>
|
||||
<source>commandLineOptionConfig</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Run self test and exit 0 if it succeeded.</source>
|
||||
<source>commandLineOptionSelftest</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>A free SIP video-phone</source>
|
||||
<source>applicationDescription</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue