locale should be in the modules dir

SVN revision: 32614
master
Sebastian Dransfeld 16 years ago
parent 06e4a1d783
commit 9a012bcd44
  1. 5
      src/e_mod_main.c

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

Loading…
Cancel
Save