NLS related fixes in main()

This commit is contained in:
Gergely Polonkai 2013-09-17 09:32:16 +02:00
parent 8cc5755817
commit b7d248e91e

View File

@ -63,10 +63,11 @@ main(int argc, char *argv[])
AgApp *app;
GError *err = NULL;
setlocale(LC_ALL, "");
#ifdef ENABLE_NLS
bindtextdomain(GETTEXT_PACKAGE, LOCALEDIR);
bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8");
textdomain(GETTEXT_PACKAGE);
#endif
gswe_init();