[Commits] acpi_notifier.c 1.1.2.37 1.1.2.38 gettext.h 1.1.2.2 1.1.2.3

ticho at claws-mail.org ticho at claws-mail.org
Fri Jan 6 15:05:39 CET 2012


Update of /home/claws-mail/plugins/acpi_notifier/src
In directory claws-mail:/tmp/cvs-serv6656/src

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

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

Index: acpi_notifier.c
===================================================================
RCS file: /home/claws-mail/plugins/acpi_notifier/src/Attic/acpi_notifier.c,v
retrieving revision 1.1.2.37
retrieving revision 1.1.2.38
diff -u -d -r1.1.2.37 -r1.1.2.38
--- acpi_notifier.c	2 Jan 2012 18:09:53 -0000	1.1.2.37
+++ acpi_notifier.c	6 Jan 2012 14:05:37 -0000	1.1.2.38
@@ -782,7 +782,7 @@
 	static gchar *path[3];
 	gchar *rcpath;
 
-	path[0] = dgettext("claws-mail", "Plugins");
+	path[0] = D_("claws-mail", "Plugins");
 	path[1] = PLUGIN_NAME;
 	path[2] = NULL;
 

Index: gettext.h
===================================================================
RCS file: /home/claws-mail/plugins/acpi_notifier/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:37:45 -0000	1.1.2.2
+++ gettext.h	6 Jan 2012 14:05:37 -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