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
f5de2292
Commit
f5de2292
authored
Jun 14, 2017
by
Ronan Abhamon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(src/app/App): display correctly help in the correct locale
parent
c3f2d693
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
7 deletions
+8
-7
en.ts
linphone-desktop/assets/languages/en.ts
+2
-2
fr.ts
linphone-desktop/assets/languages/fr.ts
+2
-2
App.cpp
linphone-desktop/src/app/App.cpp
+4
-3
No files found.
linphone-desktop/assets/languages/en.ts
View file @
f5de2292
...
@@ -78,11 +78,11 @@
...
@@ -78,11 +78,11 @@
<
/message
>
<
/message
>
<
message
>
<
message
>
<
source
>
commandLineOptionHelp
<
/source
>
<
source
>
commandLineOptionHelp
<
/source
>
<
translation
type
=
"
unfinished
"
>
<
/translation
>
<
translation
>
show
this
help
<
/translation
>
<
/message
>
<
/message
>
<
message
>
<
message
>
<
source
>
commandLineOptionVersion
<
/source
>
<
source
>
commandLineOptionVersion
<
/source
>
<
translation
type
=
"
unfinished
"
>
<
/translation
>
<
translation
>
show
app
version
<
/translation
>
<
/message
>
<
/message
>
<
/context
>
<
/context
>
<
context
>
<
context
>
...
...
linphone-desktop/assets/languages/fr.ts
View file @
f5de2292
...
@@ -78,11 +78,11 @@
...
@@ -78,11 +78,11 @@
<
/message
>
<
/message
>
<
message
>
<
message
>
<
source
>
commandLineOptionHelp
<
/source
>
<
source
>
commandLineOptionHelp
<
/source
>
<
translation
type
=
"
unfinished
"
>
<
/translation
>
<
translation
>
affiche
cette
aide
<
/translation
>
<
/message
>
<
/message
>
<
message
>
<
message
>
<
source
>
commandLineOptionVersion
<
/source
>
<
source
>
commandLineOptionVersion
<
/source
>
<
translation
type
=
"
unfinished
"
>
<
/translation
>
<
translation
>
affiche
la
version
de
l
&
apos
;
application
<
/translation
>
<
/message
>
<
/message
>
<
/context
>
<
/context
>
<
context
>
<
context
>
...
...
linphone-desktop/src/app/App.cpp
View file @
f5de2292
...
@@ -90,10 +90,11 @@ App::App (int &argc, char *argv[]) : SingleApplication(argc, argv, true) {
...
@@ -90,10 +90,11 @@ App::App (int &argc, char *argv[]) : SingleApplication(argc, argv, true) {
mTranslator
=
new
DefaultTranslator
(
this
);
mTranslator
=
new
DefaultTranslator
(
this
);
initLocale
();
initLocale
();
parseArgs
();
if
(
mParser
->
isSet
(
"help"
))
{
parseArgs
();
if
(
mParser
->
isSet
(
"help"
))
mParser
->
showHelp
();
mParser
->
showHelp
();
}
if
(
mParser
->
isSet
(
"version"
))
if
(
mParser
->
isSet
(
"version"
))
mParser
->
showVersion
();
mParser
->
showVersion
();
}
}
...
...
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