[Commits] address_keeper_prefs.c 1.1.2.5 1.1.2.6 gettext.h 1.1.2.1 1.1.2.2

ticho at claws-mail.org ticho at claws-mail.org
Fri Jan 6 15:07:20 CET 2012


Update of /home/claws-mail/plugins/address_keeper/src
In directory claws-mail:/tmp/cvs-serv6939/src

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

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

Index: address_keeper_prefs.c
===================================================================
RCS file: /home/claws-mail/plugins/address_keeper/src/Attic/address_keeper_prefs.c,v
retrieving revision 1.1.2.5
retrieving revision 1.1.2.6
diff -u -d -r1.1.2.5 -r1.1.2.6
--- address_keeper_prefs.c	2 Jan 2012 18:12:52 -0000	1.1.2.5
+++ address_keeper_prefs.c	6 Jan 2012 14:07:18 -0000	1.1.2.6
@@ -192,7 +192,7 @@
 	static gchar *path[3];
 	gchar *rcpath;
 	
-	path[0] = dgettext("claws-mail", "Plugins");
+	path[0] = D_("claws-mail", "Plugins");
 	path[1] = _("Address Keeper");
 	path[2] = NULL;
 

Index: gettext.h
===================================================================
RCS file: /home/claws-mail/plugins/address_keeper/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 Nov 2010 22:15:30 -0000	1.1.2.1
+++ gettext.h	6 Jan 2012 14:07:18 -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