Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
e78fae55
Commit
e78fae55
authored
Apr 16, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
config: use ngettext()
parent
7f9cc65e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
src/config/help.c
src/config/help.c
+7
-7
No files found.
src/config/help.c
View file @
e78fae55
...
...
@@ -267,7 +267,7 @@ static void Usage (vlc_object_t *p_this, char const *psz_search)
bool
b_color
=
var_InheritBool
(
p_this
,
"color"
);
bool
b_has_advanced
=
false
;
bool
b_found
=
false
;
int
i_only_advanced
=
0
;
/* Number of modules ignored because they
unsigned
i_only_advanced
=
0
;
/* Number of modules ignored because they
* only have advanced options */
bool
b_strict
=
psz_search
&&
*
psz_search
==
'='
;
if
(
b_strict
)
psz_search
++
;
...
...
@@ -688,15 +688,15 @@ static void Usage (vlc_object_t *p_this, char const *psz_search)
if
(
i_only_advanced
>
0
)
{
if
(
b_color
)
{
utf8_fprintf
(
stdout
,
"
\n
"
WHITE
"%s"
GRAY
" "
,
_
(
"Note:"
)
);
utf8_fprintf
(
stdout
,
_
(
"%d module(s) were not displayed because they only have advanced options.
\n
"
),
i_only_advanced
);
}
else
{
utf8_fprintf
(
stdout
,
"
\n
%s "
,
_
(
"Note:"
)
);
utf8_fprintf
(
stdout
,
_
(
"%d module(s) were not displayed because they only have advanced options.
\n
"
),
i_only_advanced
);
}
utf8_fprintf
(
stdout
,
vlc_ngettext
(
"%u module was not displayed "
"because it only has advanced options.
\n
"
,
"%u modules were not displayed "
"because they only have advanced options.
\n
"
,
i_only_advanced
),
i_only_advanced
);
}
else
if
(
!
b_found
)
{
...
...
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