locale should be in the modules dir

SVN revision: 32614
This commit is contained in:
Sebastian Dransfeld 2007-11-12 07:45:15 +00:00
parent 06e4a1d783
commit 9a012bcd44
1 changed files with 4 additions and 1 deletions

View File

@ -95,8 +95,11 @@ EAPI E_Module_Api e_modapi =
EAPI void *
e_modapi_init(E_Module *module)
{
char buf[4096];
/* Set up module message catalog */
bindtextdomain(PACKAGE, LOCALEDIR);
snprintf(buf, sizeof(buf), "%s/locale", e_module_dir_get(m));
bindtextdomain(PACKAGE, buf);
bind_textdomain_codeset(PACKAGE, "UTF-8");
moon_config_init(module);