Commit 5716471a authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Do not translate "" for good this time

parent faa09ff6
......@@ -189,6 +189,8 @@ int vlc_wclosedir( void *_p_dir )
char *vlc_gettext( const char *msgid )
{
#ifdef ENABLE_NLS
if( unlikely(!*msgid))
return (char *)"";
return dgettext( PACKAGE_NAME, msgid );
#else
return (char *)msgid;
......
......@@ -301,6 +301,8 @@ const char *module_gettext (const module_t *m, const char *str)
{
#ifdef ENABLE_NLS
const char *domain = m->domain ? m->domain : PACKAGE_NAME;
if (unlikely(!*str))
return "";
return dgettext (domain, str);
#else
(void)m;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment