Mercurial > pidgin
diff libpurple/protocols/irc/msgs.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 | 106a912f1ef5 |
children | 7139ce8a6ece |
line wrap: on
line diff
--- a/libpurple/protocols/irc/msgs.c Mon Jun 09 02:18:05 2008 +0000 +++ b/libpurple/protocols/irc/msgs.c Mon Jun 09 02:22:33 2008 +0000 @@ -215,7 +215,9 @@ /* This is an extended syntax, not in RFC 1459 */ int t1 = atoi(args[4]); time_t t2 = time(NULL); - msg = g_strdup_printf(_("Ban on %s by %s, set %ld seconds ago"), + msg = g_strdup_printf(ngettext("Ban on %s by %s, set %ld second ago", + "Ban on %s by %s, set %ld seconds ago", + t2 - t1), args[2], args[3], t2 - t1); } else { msg = g_strdup_printf(_("Ban on %s"), args[2]);