Re: libgnomeui i18n fix
- From: Gediminas Paulauskas <menesis centras lt>
- To: Gediminas Paulauskas <menesis delfi lt>
- Cc: gnome-libs-devel gnome org, anersca gnu org
- Subject: Re: libgnomeui i18n fix
- Date: 28 Nov 2001 03:01:44 +0200
Tr, 2001-11-28 02:59, Gediminas Paulauskas rašė:
> This patch initializes gettext so that messages get translated.
>
> May I commit?
THIS patch
--
Gediminas
____________________________________________
8-285-38560 :: http://menesis.lietuvybe.org/
Index: libgnomeui/gnome-ui-init.c
===================================================================
RCS file: /cvs/gnome/libgnomeui/libgnomeui/gnome-ui-init.c,v
retrieving revision 1.164
diff -u -p -r1.164 gnome-ui-init.c
--- libgnomeui/gnome-ui-init.c 2001/10/29 17:17:41 1.164
+++ libgnomeui/gnome-ui-init.c 2001/11/28 00:51:45
@@ -314,6 +314,9 @@ libgnomeui_post_args_parse(GnomeProgram
priv->constructed = TRUE;
_gnome_stock_icons_init ();
+
+ bindtextdomain (GETTEXT_PACKAGE, GNOMEUILOCALEDIR);
+ bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
}
static void
Index: libgnomeui/ChangeLog
===================================================================
RCS file: /cvs/gnome/libgnomeui/libgnomeui/ChangeLog,v
retrieving revision 1.1725
diff -u -p -r1.1725 ChangeLog
--- libgnomeui/ChangeLog 2001/11/27 22:52:07 1.1725
+++ libgnomeui/ChangeLog 2001/11/28 00:52:07
@@ -1,3 +1,8 @@
+2001-11-28 Gediminas Paulauskas <menesis delfi lt>
+
+ * Makefile.am: fix GNOMEUILOCALEDIR to point to correct location.
+ * gnome-app-init.c: find translations and get them in UTF-8.
+
Tue Nov 27 17:41:30 2001 Owen Taylor <otaylor redhat com>
* Makefile.am: Install the schema file.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]