[Commits] archiver_prefs.c 1.1.2.12 1.1.2.13 gettext.h 1.1.2.1 1.1.2.2

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


Update of /home/claws-mail/plugins/archive/src
In directory claws-mail:/tmp/cvs-serv7218/src

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

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

Index: archiver_prefs.c
===================================================================
RCS file: /home/claws-mail/plugins/archive/src/Attic/archiver_prefs.c,v
retrieving revision 1.1.2.12
retrieving revision 1.1.2.13
diff -u -d -r1.1.2.12 -r1.1.2.13
--- archiver_prefs.c	2 Jan 2012 18:14:42 -0000	1.1.2.12
+++ archiver_prefs.c	6 Jan 2012 14:10:15 -0000	1.1.2.13
@@ -86,7 +86,7 @@
 	static gchar *path[3];
 	gchar *rcpath;
 
-	path[0] = dgettext("claws-mail", "Plugins");
+	path[0] = D_("claws-mail", "Plugins");
 	path[1] = _("Mail Archiver");
 	path[2] = NULL;
 

Index: gettext.h
===================================================================
RCS file: /home/claws-mail/plugins/archive/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	25 May 2008 08:32:32 -0000	1.1.2.1
+++ gettext.h	6 Jan 2012 14:10:15 -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