Fixed i18n of help messages.

This commit is contained in:
Mike Newman 2003-08-22 08:30:15 +00:00
parent 6707bd928f
commit 32cb0ef0f5
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2003-08-22 Mike Newman <mikegtn@gnome.org>
* src/main.c: added call to setlocale to fix i18n of --help
2003-08-18 Dmitry G. Mastrukov <dmitry@taurussoft.org> 2003-08-18 Dmitry G. Mastrukov <dmitry@taurussoft.org>
* configure.in: Added Russian to ALL_LINGUAS. * configure.in: Added Russian to ALL_LINGUAS.

View File

@ -1012,6 +1012,7 @@ main (gint argc, gchar **argv) {
poptContext ctx; poptContext ctx;
gint nextopt, retval; gint nextopt, retval;
setlocale(LC_ALL,"");
bindtextdomain(GETTEXT_PACKAGE, GNOMELOCALEDIR); bindtextdomain(GETTEXT_PACKAGE, GNOMELOCALEDIR);
bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8"); bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8");
textdomain(GETTEXT_PACKAGE); textdomain(GETTEXT_PACKAGE);