[Commits] bsfilter_gtk.c 1.1.2.3 1.1.2.4 gettext.h 1.1.2.1 1.1.2.2

ticho at claws-mail.org ticho at claws-mail.org
Fri Jan 6 15:17:12 CET 2012


Update of /home/claws-mail/plugins/bsfilter/src
In directory claws-mail:/tmp/cvs-serv7762/src

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

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

Index: bsfilter_gtk.c
===================================================================
RCS file: /home/claws-mail/plugins/bsfilter/src/Attic/bsfilter_gtk.c,v
retrieving revision 1.1.2.3
retrieving revision 1.1.2.4
diff -u -d -r1.1.2.3 -r1.1.2.4
--- bsfilter_gtk.c	2 Jan 2012 18:16:43 -0000	1.1.2.3
+++ bsfilter_gtk.c	6 Jan 2012 14:17:10 -0000	1.1.2.4
@@ -22,15 +22,16 @@
 #  include "config.h"
 #endif
 
+#include "pluginconfig.h"
 #include "defs.h"
 
 #include <glib.h>
-#include <glib/gi18n.h>
 #include <gtk/gtk.h>
 #include "gtk/gtkutils.h"
 
 #include "common/claws.h"
 #include "common/version.h"
+#include "gettext.h"
 #include "plugin.h"
 #include "common/utils.h"
 #include "prefs.h"
@@ -388,7 +389,7 @@
 {
 	static gchar *path[3];
 
-	path[0] = dgettext("claws-mail", "Plugins");
+	path[0] = D_("claws-mail", "Plugins");
 	path[1] = _("Bsfilter");
 	path[2] = NULL;
 

Index: gettext.h
===================================================================
RCS file: /home/claws-mail/plugins/bsfilter/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	19 Mar 2009 16:41:23 -0000	1.1.2.1
+++ gettext.h	6 Jan 2012 14:17:10 -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