Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linphone-desktop
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
linphone-desktop
Commits
87363226
Commit
87363226
authored
Feb 21, 2017
by
Ghislain MARY
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use labels in source code for translation instead of real strings.
parent
5e37e2cf
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
20 deletions
+20
-20
en.ts
linphone-desktop/assets/languages/en.ts
+10
-10
fr.ts
linphone-desktop/assets/languages/fr.ts
+5
-5
App.cpp
linphone-desktop/src/app/App.cpp
+5
-5
No files found.
linphone-desktop/assets/languages/en.ts
View file @
87363226
...
...
@@ -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
>
...
...
linphone-desktop/assets/languages/fr.ts
View file @
87363226
...
...
@@ -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
>
...
...
linphone-desktop/src/app/App.cpp
View file @
87363226
...
...
@@ -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
();
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment