From: RĂ©mi Denis-Courmont Date: Thu, 28 Jan 2010 17:48:25 +0000 (+0200) Subject: Load out-of-tree plugin's text domain X-Git-Tag: 1.1.0-ff~763 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=e2828c396d3adb64f8ef1255c7494c726af2fbc6;p=vlc Load out-of-tree plugin's text domain They cannot do it themselves. Their strings may be in the plugins cache, in which case the plugins may not be loaded at all. --- diff --git a/src/modules/cache.c b/src/modules/cache.c index 5517d3a91a..643381b6bb 100644 --- a/src/modules/cache.c +++ b/src/modules/cache.c @@ -257,6 +257,8 @@ void CacheLoad( vlc_object_t *p_this, module_bank_t *p_bank, bool b_delete ) LOAD_STRING( pp_cache[i]->p_module->psz_filename ); LOAD_STRING( pp_cache[i]->p_module->domain ); + if( pp_cache[i]->p_module->domain != NULL ) + vlc_bindtextdomain( pp_cache[i]->p_module->domain ); LOAD_IMMEDIATE( i_submodules );