Use module dir for nls, make modules relocateable.
SVN revision: 32599
This commit is contained in:
parent
4ea1a24e4f
commit
0c12db6980
|
@ -15,7 +15,10 @@ EAPI E_Module_Api e_modapi =
|
|||
EAPI void *
|
||||
e_modapi_init(E_Module *m)
|
||||
{
|
||||
bindtextdomain(PACKAGE, LOCALEDIR);
|
||||
char buf[4096];
|
||||
|
||||
snprintf(buf, sizeof(buf), "%s/locale", e_module_dir_get(m));
|
||||
bindtextdomain(PACKAGE, buf);
|
||||
bind_textdomain_codeset(PACKAGE, "UTF-8");
|
||||
|
||||
item_edd = E_CONFIG_DD_NEW("Config_Item", Config_Item);
|
||||
|
|
Loading…
Reference in New Issue