[Commits] cm_gdata_contacts.c 1.1.2.16 1.1.2.17 cm_gdata_prefs.c 1.1.2.7 1.1.2.8 gettext.h 1.1.2.1 1.1.2.2

ticho at claws-mail.org ticho at claws-mail.org
Wed Jan 4 20:34:26 CET 2012


Update of /home/claws-mail/plugins/gdata/src
In directory claws-mail:/tmp/cvs-serv13931/src

Modified Files:
      Tag: gtk2
	cm_gdata_contacts.c cm_gdata_prefs.c gettext.h 
Log Message:
2012-01-04 [ticho]	0.3cvs6

	* po/Makevars
	* src/cm_gdata_contacts.c
	* src/cm_gdata_prefs.c
	* src/gettext.h
		Use "claws-mail" i18n domain for preference section path.
		Add comments for translators to help translating the string
		split in 0.3cvs4.

Index: cm_gdata_contacts.c
===================================================================
RCS file: /home/claws-mail/plugins/gdata/src/Attic/cm_gdata_contacts.c,v
retrieving revision 1.1.2.16
retrieving revision 1.1.2.17
diff -u -d -r1.1.2.16 -r1.1.2.17
--- cm_gdata_contacts.c	4 Jan 2012 15:51:53 -0000	1.1.2.16
+++ cm_gdata_contacts.c	4 Jan 2012 19:34:24 -0000	1.1.2.17
@@ -198,7 +198,9 @@
   }
   g_object_unref(feed);
   contacts_cache.contacts = g_slist_reverse(contacts_cache.contacts);
+	/* i18n: First part of "Added X of Y contacts to cache" */
   tmpstr1 = g_strdup_printf(ngettext("Added %d of", "Added %d of", num_contacts_added), num_contacts_added);
+	/* i18n: Second part of "Added X of Y contacts to cache" */
   tmpstr2 = g_strdup_printf(ngettext("1 contact to the cache", "%d contacts to the cache", num_contacts), num_contacts);
   log_message(LOG_PROTOCOL, "%s %s\n", tmpstr1, tmpstr2);
 	g_free(tmpstr1);

Index: cm_gdata_prefs.c
===================================================================
RCS file: /home/claws-mail/plugins/gdata/src/Attic/cm_gdata_prefs.c,v
retrieving revision 1.1.2.7
retrieving revision 1.1.2.8
diff -u -d -r1.1.2.7 -r1.1.2.8
--- cm_gdata_prefs.c	31 Dec 2011 00:44:58 -0000	1.1.2.7
+++ cm_gdata_prefs.c	4 Jan 2012 19:34:24 -0000	1.1.2.8
@@ -136,7 +136,7 @@
 {
   static gchar *path[3];
 
-  path[0] = _("Plugins");
+  path[0] = D_("claws-mail", "Plugins");
   path[1] = _("GData");
   path[2] = NULL;
 

Index: gettext.h
===================================================================
RCS file: /home/claws-mail/plugins/gdata/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	20 Aug 2011 21:20:18 -0000	1.1.2.1
+++ gettext.h	4 Jan 2012 19:34:24 -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