NLS related fixes in main()
This commit is contained in:
parent
8cc5755817
commit
b7d248e91e
@ -63,10 +63,11 @@ main(int argc, char *argv[])
|
|||||||
AgApp *app;
|
AgApp *app;
|
||||||
GError *err = NULL;
|
GError *err = NULL;
|
||||||
|
|
||||||
setlocale(LC_ALL, "");
|
#ifdef ENABLE_NLS
|
||||||
bindtextdomain(GETTEXT_PACKAGE, LOCALEDIR);
|
bindtextdomain(GETTEXT_PACKAGE, LOCALEDIR);
|
||||||
bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8");
|
bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8");
|
||||||
textdomain(GETTEXT_PACKAGE);
|
textdomain(GETTEXT_PACKAGE);
|
||||||
|
#endif
|
||||||
|
|
||||||
gswe_init();
|
gswe_init();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user