[Commits] cm_gdata_contacts.c 1.1.2.15 1.1.2.16

ticho at claws-mail.org ticho at claws-mail.org
Wed Jan 4 16:51:55 CET 2012


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

Modified Files:
      Tag: gtk2
	cm_gdata_contacts.c 
Log Message:
2012-01-04 [ticho]	0.3cvs5

	* src/cm_gdata_contacts.c
		Added multiple plurals support to the message split in
		previous commit.

Index: cm_gdata_contacts.c
===================================================================
RCS file: /home/claws-mail/plugins/gdata/src/Attic/cm_gdata_contacts.c,v
retrieving revision 1.1.2.15
retrieving revision 1.1.2.16
diff -u -d -r1.1.2.15 -r1.1.2.16
--- cm_gdata_contacts.c	4 Jan 2012 15:35:17 -0000	1.1.2.15
+++ cm_gdata_contacts.c	4 Jan 2012 15:51:53 -0000	1.1.2.16
@@ -198,8 +198,8 @@
   }
   g_object_unref(feed);
   contacts_cache.contacts = g_slist_reverse(contacts_cache.contacts);
-	tmpstr1 = g_strdup_printf(_("Added %d of"), num_contacts_added);
-	tmpstr2 = g_strdup_printf(_("%d contacts to the cache"), num_contacts);
+  tmpstr1 = g_strdup_printf(ngettext("Added %d of", "Added %d of", num_contacts_added), num_contacts_added);
+  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);
 	g_free(tmpstr2);



More information about the Commits mailing list