Mercurial > pidgin
diff libpurple/protocols/myspace/myspace.c @ 23332:19ab21882b38
"This patch pluralizes a few strings that should be pluralized for
translation."
Fixes #5898
committer: Richard Laager <rlaager@wiktel.com>
author | Laurynas Biveinis <laurynas.biveinis@gmail.com> |
---|---|
date | Mon, 09 Jun 2008 02:22:33 +0000 |
parents | 5b8239453a1e |
children | 3da0957e7821 1406a2fa649d 16734635febf 0efd688ed086 |
line wrap: on
line diff
--- a/libpurple/protocols/myspace/myspace.c Mon Jun 09 02:18:05 2008 +0000 +++ b/libpurple/protocols/myspace/myspace.c Mon Jun 09 02:22:33 2008 +0000 @@ -1328,7 +1328,10 @@ delta = time(NULL) - session->last_comm; /* purple_debug_info("msim", "msim_check_alive: delta=%d\n", delta); */ if (delta >= MSIM_KEEPALIVE_INTERVAL) { - errmsg = g_strdup_printf(_("Connection to server lost (no data received within %d seconds)"), (int)delta); + errmsg = g_strdup_printf(ngettext("Connection to server lost (no data received within %d second)", + "Connection to server lost (no data received within %d seconds)", + (int)delta), + (int)delta); purple_debug_info("msim", "msim_check_alive: %s > interval of %d, presumed dead\n", errmsg, MSIM_KEEPALIVE_INTERVAL); @@ -2946,7 +2949,10 @@ switch (GPOINTER_TO_UINT(user_data)) { case MSIM_CONTACT_LIST_IMPORT_ALL_FRIENDS: - msg = g_strdup_printf(_("%d buddies were added or updated from the server (including buddies already on the server-side list)"), buddy_count); + msg = g_strdup_printf(ngettext("%d buddy was added or updated from the server (including buddies already on the server-side list)", + "%d buddies were added or updated from the server (including buddies already on the server-side list)", + buddy_count), + buddy_count); purple_notify_info(session->account, _("Add contacts from server"), msg, NULL); g_free(msg); break;