Use module dir for nls, make modules relocateable.

SVN revision: 32599
This commit is contained in:
Sebastian Dransfeld 2007-11-12 04:15:53 +00:00
parent 30bd189b73
commit 015b3ab064
1 changed files with 2 additions and 1 deletions

View File

@ -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);