Use module dir for nls, make modules relocateable.
SVN revision: 32599
This commit is contained in:
parent
32f0211730
commit
e74c7b2975
|
@ -417,7 +417,10 @@ EAPI E_Module_Api e_modapi = {
|
||||||
EAPI void *
|
EAPI void *
|
||||||
e_modapi_init (E_Module * m)
|
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");
|
bind_textdomain_codeset (PACKAGE, "UTF-8");
|
||||||
|
|
||||||
conf_box_edd = E_CONFIG_DD_NEW ("Mail_Box_Config", Config_Box);
|
conf_box_edd = E_CONFIG_DD_NEW ("Mail_Box_Config", Config_Box);
|
||||||
|
|
Loading…
Reference in New Issue