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