From ad9f46de5f4ec060b531b6281e3816656c71a7a0 Mon Sep 17 00:00:00 2001 From: Gediminas Paulauskas Date: Mon, 18 Feb 2002 00:54:24 +0000 Subject: [PATCH] fix i18n 2002-02-18 Gediminas Paulauskas * main.c: fix i18n 2002-02-18 Gediminas Paulauskas * ChangeLog: added * main.c: correct i18n --- capplets/font/ChangeLog | 5 +++++ capplets/font/main.c | 6 +++++- capplets/theme-switcher/ChangeLog | 4 ++++ capplets/theme-switcher/main.c | 7 ++++++- 4 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 capplets/font/ChangeLog diff --git a/capplets/font/ChangeLog b/capplets/font/ChangeLog new file mode 100644 index 000000000..ceec89678 --- /dev/null +++ b/capplets/font/ChangeLog @@ -0,0 +1,5 @@ +2002-02-18 Gediminas Paulauskas + + * ChangeLog: added + * main.c: correct i18n + diff --git a/capplets/font/main.c b/capplets/font/main.c index c6d5be88e..45a159574 100644 --- a/capplets/font/main.c +++ b/capplets/font/main.c @@ -1,6 +1,6 @@ +#include #include #include -#include #include "gconf-property-editor.h" @@ -51,6 +51,10 @@ setup_dialog (void) int main (int argc, char **argv) { + bindtextdomain (PACKAGE, GNOMELOCALEDIR); + bind_textdomain_codeset (PACKAGE, "UTF-8"); + textdomain (PACKAGE); + gnome_program_init ("gnome2-font-properties", VERSION, LIBGNOMEUI_MODULE, argc, argv, NULL); diff --git a/capplets/theme-switcher/ChangeLog b/capplets/theme-switcher/ChangeLog index e8bd0e61a..d56d06f0e 100644 --- a/capplets/theme-switcher/ChangeLog +++ b/capplets/theme-switcher/ChangeLog @@ -1,3 +1,7 @@ +2002-02-18 Gediminas Paulauskas + + * main.c: fix i18n + 2002-02-11 Seth Nickell * gtk-theme-selector.glade: diff --git a/capplets/theme-switcher/main.c b/capplets/theme-switcher/main.c index d0dd0060e..a731590f8 100644 --- a/capplets/theme-switcher/main.c +++ b/capplets/theme-switcher/main.c @@ -1,8 +1,9 @@ +#include + #include #include #include #include -#include #include #include @@ -243,6 +244,10 @@ setup_list (void) int main (int argc, char **argv) { + bindtextdomain (PACKAGE, GNOMELOCALEDIR); + bind_textdomain_codeset (PACKAGE, "UTF-8"); + textdomain (PACKAGE); + gnome_program_init ("gtk-theme-selector", VERSION, LIBGNOMEUI_MODULE, argc, argv, NULL);