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
5716471a
Commit
5716471a
authored
Aug 19, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not translate "" for good this time
parent
faa09ff6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
src/extras/libc.c
src/extras/libc.c
+2
-0
src/modules/modules.c
src/modules/modules.c
+2
-0
No files found.
src/extras/libc.c
View file @
5716471a
...
@@ -189,6 +189,8 @@ int vlc_wclosedir( void *_p_dir )
...
@@ -189,6 +189,8 @@ int vlc_wclosedir( void *_p_dir )
char
*
vlc_gettext
(
const
char
*
msgid
)
char
*
vlc_gettext
(
const
char
*
msgid
)
{
{
#ifdef ENABLE_NLS
#ifdef ENABLE_NLS
if
(
unlikely
(
!*
msgid
))
return
(
char
*
)
""
;
return
dgettext
(
PACKAGE_NAME
,
msgid
);
return
dgettext
(
PACKAGE_NAME
,
msgid
);
#else
#else
return
(
char
*
)
msgid
;
return
(
char
*
)
msgid
;
...
...
src/modules/modules.c
View file @
5716471a
...
@@ -301,6 +301,8 @@ const char *module_gettext (const module_t *m, const char *str)
...
@@ -301,6 +301,8 @@ const char *module_gettext (const module_t *m, const char *str)
{
{
#ifdef ENABLE_NLS
#ifdef ENABLE_NLS
const
char
*
domain
=
m
->
domain
?
m
->
domain
:
PACKAGE_NAME
;
const
char
*
domain
=
m
->
domain
?
m
->
domain
:
PACKAGE_NAME
;
if
(
unlikely
(
!*
str
))
return
""
;
return
dgettext
(
domain
,
str
);
return
dgettext
(
domain
,
str
);
#else
#else
(
void
)
m
;
(
void
)
m
;
...
...
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