[evolution-patches] Patch for alarm-notify UTF-8 gettext



Hi, 

I've found by chance a missing bind_textdomain_codeset in alarm-notify
daemon, to get UTF-8 strings when locale is not using UTF-8.

Patch is for 1.4 branch.
-- 
Frederic Crozat <fcrozat mandrakesoft com>
Mandrakesoft
? evolution-1.4.4-alarmutf8.patch
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/calendar/ChangeLog,v
retrieving revision 1.1802.2.28
diff -u -r1.1802.2.28 ChangeLog
--- ChangeLog	20 Aug 2003 22:53:52 -0000	1.1802.2.28
+++ ChangeLog	21 Aug 2003 17:52:33 -0000
@@ -1,3 +1,8 @@
+2003-08-21  Frederic Crozat  <fcrozat mandrakesoft com>
+
+	* gui/alarm-notify/notify-main.c: (main):
+	Ensure we get UTF-8 strings from gettext.
+
 2002-08-20  Hans Petter Jansson  <hpj ximian com>
 
 	* gui/e-itip-control.c (start_defalt_server): Rename to
Index: gui/alarm-notify/notify-main.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/alarm-notify/notify-main.c,v
retrieving revision 1.25.4.1
diff -u -r1.25.4.1 notify-main.c
--- gui/alarm-notify/notify-main.c	29 Jul 2003 13:39:55 -0000	1.25.4.1
+++ gui/alarm-notify/notify-main.c	21 Aug 2003 17:52:33 -0000
@@ -163,6 +163,7 @@
 main (int argc, char **argv)
 {
 	bindtextdomain (GETTEXT_PACKAGE, EVOLUTION_LOCALEDIR);
+	bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
 	textdomain (GETTEXT_PACKAGE);
 
 	gnome_program_init ("evolution-alarm-notify", VERSION, LIBGNOMEUI_MODULE, argc, argv, NULL);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]