[Commits] attachwarner_prefs.c 1.1.2.10 1.1.2.11 gettext.h 1.1.2.2 1.1.2.3

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


Update of /home/claws-mail/plugins/attachwarner/src
In directory claws-mail:/tmp/cvs-serv7495/src

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

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

Index: attachwarner_prefs.c
===================================================================
RCS file: /home/claws-mail/plugins/attachwarner/src/Attic/attachwarner_prefs.c,v
retrieving revision 1.1.2.10
retrieving revision 1.1.2.11
diff -u -d -r1.1.2.10 -r1.1.2.11
--- attachwarner_prefs.c	2 Jan 2012 18:15:45 -0000	1.1.2.10
+++ attachwarner_prefs.c	6 Jan 2012 14:11:45 -0000	1.1.2.11
@@ -178,7 +178,7 @@
 	gchar *rcpath;
 	gchar *tmp;
 	
-	path[0] = dgettext("claws-mail", "Plugins");
+	path[0] = D_("claws-mail", "Plugins");
 	path[1] = _("Attach Warner");
 	path[2] = NULL;
 

Index: gettext.h
===================================================================
RCS file: /home/claws-mail/plugins/attachwarner/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	24 Jul 2007 14:12:22 -0000	1.1.2.2
+++ gettext.h	6 Jan 2012 14:11:45 -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