Use module dir for nls, make modules relocateable.
SVN revision: 32599
This commit is contained in:
parent
30bd189b73
commit
015b3ab064
|
@ -47,7 +47,8 @@ e_modapi_init(E_Module *m)
|
|||
char buf[4096];
|
||||
|
||||
/* Set up module's message catalogue */
|
||||
bindtextdomain(PACKAGE, LOCALEDIR);
|
||||
snprintf(buf, sizeof(buf), "%s/locale", e_module_dir_get(m));
|
||||
bindtextdomain(PACKAGE, buf);
|
||||
bind_textdomain_codeset(PACKAGE, "UTF-8");
|
||||
|
||||
pop = _population_init(m);
|
||||
|
|
Loading…
Reference in New Issue