From e2828c396d3adb64f8ef1255c7494c726af2fbc6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Thu, 28 Jan 2010 19:48:25 +0200 Subject: [PATCH] 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. --- src/modules/cache.c | 2 ++ 1 file changed, 2 insertions(+) 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 ); -- 2.39.5