[Commits] gettext.h 1.1.2.1 1.1.2.2 rssyl_prefs.c 1.1.2.13 1.1.2.14

ticho at claws-mail.org ticho at claws-mail.org
Wed Jan 4 15:28:50 CET 2012


Update of /home/claws-mail/plugins/rssyl/src
In directory claws-mail:/tmp/cvs-serv14598/src

Modified Files:
      Tag: gtk2
	gettext.h rssyl_prefs.c 
Log Message:
2012-01-04 [ticho]	0.32.0cvs3

	* po/Makefile.in.in
	* src/gettext.h
	* src/rssyl_prefs.c
		Instead of mangling resulting .pot file, use different macro
		for dgettext() calls for different text domain, so that
		xgettext doesn't include the strings in the .pot file. 

Index: rssyl_prefs.c
===================================================================
RCS file: /home/claws-mail/plugins/rssyl/src/Attic/rssyl_prefs.c,v
retrieving revision 1.1.2.13
retrieving revision 1.1.2.14
diff -u -d -r1.1.2.13 -r1.1.2.14
--- rssyl_prefs.c	2 Jan 2012 18:07:28 -0000	1.1.2.13
+++ rssyl_prefs.c	4 Jan 2012 14:28:48 -0000	1.1.2.14
@@ -58,7 +58,7 @@
 	static gchar *path[3];
 	gchar *rcpath;
 
-	path[0] = dgettext("claws-mail", "Plugins");
+	path[0] = D_("claws-mail", "Plugins");
 	path[1] = "RSSyl";		/* We don't need this translated */
 	path[2] = NULL;
 

Index: gettext.h
===================================================================
RCS file: /home/claws-mail/plugins/rssyl/src/Attic/gettext.h,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -d -r1.1.2.1 -r1.1.2.2
--- gettext.h	15 Dec 2005 21:18:49 -0000	1.1.2.1
+++ gettext.h	4 Jan 2012 14:28:48 -0000	1.1.2.2
@@ -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