[Commits] gettext.h 1.1.2.2 1.1.2.3 spam_report_prefs.c 1.1.2.8 1.1.2.9

ticho at claws-mail.org ticho at claws-mail.org
Fri Jan 6 15:26:48 CET 2012


Update of /home/claws-mail/plugins/spam_report/src
In directory claws-mail:/tmp/cvs-serv9235/src

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

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

Index: spam_report_prefs.c
===================================================================
RCS file: /home/claws-mail/plugins/spam_report/src/Attic/spam_report_prefs.c,v
retrieving revision 1.1.2.8
retrieving revision 1.1.2.9
diff -u -d -r1.1.2.8 -r1.1.2.9
--- spam_report_prefs.c	2 Jan 2012 18:25:57 -0000	1.1.2.8
+++ spam_report_prefs.c	6 Jan 2012 14:26:46 -0000	1.1.2.9
@@ -75,7 +75,7 @@
 	static gchar *path[3];
 	gchar *rcpath;
 
-	path[0] = dgettext("claws-mail", "Plugins");
+	path[0] = D_("claws-mail", "Plugins");
 	path[1] = _("SpamReport");
 	path[2] = NULL;
 

Index: gettext.h
===================================================================
RCS file: /home/claws-mail/plugins/spam_report/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:50:48 -0000	1.1.2.2
+++ gettext.h	6 Jan 2012 14:26:46 -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