parent
06e4a1d783
commit
9a012bcd44
|
@ -95,8 +95,11 @@ EAPI E_Module_Api e_modapi =
|
||||||
EAPI void *
|
EAPI void *
|
||||||
e_modapi_init(E_Module *module)
|
e_modapi_init(E_Module *module)
|
||||||
{
|
{
|
||||||
|
char buf[4096];
|
||||||
|
|
||||||
/* Set up module message catalog */
|
/* Set up module message catalog */
|
||||||
bindtextdomain(PACKAGE, LOCALEDIR);
|
snprintf(buf, sizeof(buf), "%s/locale", e_module_dir_get(m));
|
||||||
|
bindtextdomain(PACKAGE, buf);
|
||||||
bind_textdomain_codeset(PACKAGE, "UTF-8");
|
bind_textdomain_codeset(PACKAGE, "UTF-8");
|
||||||
|
|
||||||
moon_config_init(module);
|
moon_config_init(module);
|
||||||
|
|
Loading…
Reference in New Issue