[Commits] gettext.h 1.1.2.2 1.1.2.3 vcal_prefs.c 1.1.2.34 1.1.2.35

ticho at claws-mail.org ticho at claws-mail.org
Fri Jan 6 15:28:35 CET 2012


Update of /home/claws-mail/plugins/vcalendar/src
In directory claws-mail:/tmp/cvs-serv9495/src

Modified Files:
      Tag: gtk2
	gettext.h vcal_prefs.c 
Log Message:
2012-01-06 [ticho]	2.0.12cvs2

	* src/gettext.h
	* src/vcal_prefs.c
		Exclude "Plugins" string from translation, since it will be
		looked up from different gettext domain anyway.

Index: vcal_prefs.c
===================================================================
RCS file: /home/claws-mail/plugins/vcalendar/src/vcal_prefs.c,v
retrieving revision 1.1.2.34
retrieving revision 1.1.2.35
diff -u -d -r1.1.2.34 -r1.1.2.35
--- vcal_prefs.c	2 Jan 2012 18:30:43 -0000	1.1.2.34
+++ vcal_prefs.c	6 Jan 2012 14:28:33 -0000	1.1.2.35
@@ -640,7 +640,7 @@
 	static gchar *path[3];
 	gchar *rcpath;
 
-	path[0] = dgettext("claws-mail", "Plugins");
+	path[0] = D_("claws-mail", "Plugins");
 	path[1] = _("vCalendar");
 	path[2] = NULL;
 

Index: gettext.h
===================================================================
RCS file: /home/claws-mail/plugins/vcalendar/src/Attic/gettext.h,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -u -d -r1.1.2.2 -r1.1.2.3
--- gettext.h	11 Jul 2007 16:52:44 -0000	1.1.2.2
+++ gettext.h	6 Jan 2012 14:28:33 -0000	1.1.2.3
@@ -26,6 +26,7 @@
 # include <libintl.h>
 
 #define _(str)		dgettext(TEXTDOMAIN, str)
+#define D_(domain, str)		dgettext(domain, str)
 
 #else
 



More information about the Commits mailing list