Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
5983a042
Commit
5983a042
authored
Mar 05, 2006
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Call dgettext directly with shared libvlc and libtool
- Remove vlc_dcgettext in those cases
parent
6633a950
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
include/vlc_common.h
include/vlc_common.h
+7
-1
src/extras/libc.c
src/extras/libc.c
+2
-0
No files found.
include/vlc_common.h
View file @
5983a042
...
@@ -1099,7 +1099,9 @@ VLC_EXPORT( int, __vlc_execve, ( vlc_object_t *p_object, int i_argc, char **pp_a
...
@@ -1099,7 +1099,9 @@ VLC_EXPORT( int, __vlc_execve, ( vlc_object_t *p_object, int i_argc, char **pp_a
/*****************************************************************************
/*****************************************************************************
* I18n stuff
* I18n stuff
*****************************************************************************/
*****************************************************************************/
#ifndef HAVE_SHARED_LIBVLC
VLC_EXPORT
(
char
*
,
vlc_dgettext
,
(
const
char
*
package
,
const
char
*
msgid
)
);
VLC_EXPORT
(
char
*
,
vlc_dgettext
,
(
const
char
*
package
,
const
char
*
msgid
)
);
#endif
#if defined( ENABLE_NLS ) && \
#if defined( ENABLE_NLS ) && \
(defined(MODULE_NAME_IS_gnome)||defined(MODULE_NAME_IS_gnome_main)||\
(defined(MODULE_NAME_IS_gnome)||defined(MODULE_NAME_IS_gnome_main)||\
...
@@ -1113,7 +1115,11 @@ VLC_EXPORT( char *, vlc_dgettext, ( const char *package, const char *msgid ) );
...
@@ -1113,7 +1115,11 @@ VLC_EXPORT( char *, vlc_dgettext, ( const char *package, const char *msgid ) );
# include <libintl.h>
# include <libintl.h>
# endif
# endif
# undef _
# undef _
# define _(String) vlc_dgettext (PACKAGE_NAME, String)
# ifdef HAVE_SHARED_LIBVLC
# define _(String) dgettext (PACKAGE_NAME, String)
# else
# define _(String) vlc_dgettext(PACKAGE_NAME, String)
# endif
# define N_(String) ((char*)(String))
# define N_(String) ((char*)(String))
#else
#else
# define _(String) ((char*)(String))
# define _(String) ((char*)(String))
...
...
src/extras/libc.c
View file @
5983a042
...
@@ -498,6 +498,7 @@ int vlc_scandir( const char *name, struct dirent ***namelist,
...
@@ -498,6 +498,7 @@ int vlc_scandir( const char *name, struct dirent ***namelist,
}
}
#endif
#endif
#ifndef HAVE_SHARED_LIBVLC
/*****************************************************************************
/*****************************************************************************
* dgettext: gettext for plugins.
* dgettext: gettext for plugins.
*****************************************************************************/
*****************************************************************************/
...
@@ -510,6 +511,7 @@ char *vlc_dgettext( const char *package, const char *msgid )
...
@@ -510,6 +511,7 @@ char *vlc_dgettext( const char *package, const char *msgid )
return
(
char
*
)
msgid
;
return
(
char
*
)
msgid
;
#endif
#endif
}
}
#endif
/*****************************************************************************
/*****************************************************************************
* count_utf8_string: returns the number of characters in the string.
* count_utf8_string: returns the number of characters in the string.
...
...
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