Mercurial > pidgin
changeset 23534:0e54d1fea7e2
merge of '8ef03a3edef528af90c03195f4225c8ee97214fd'
and 'e56d7c10f8cc1dc7085e856b4028be46df81d9bd'
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sun, 13 Jul 2008 10:09:19 +0000 |
parents | f4b2fecfb557 (diff) 62e2869e8e3d (current diff) |
children | fae54e746bde 91a7d0ad2021 |
files | libpurple/protocols/msn/soap2.c libpurple/protocols/msn/soap2.h |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/finch/gntconv.c Sun Jul 13 07:14:37 2008 +0000 +++ b/finch/gntconv.c Sun Jul 13 10:09:19 2008 +0000 @@ -1059,9 +1059,12 @@ if (!new_arrivals) { /* Print the list of users in the room */ - GString *string = g_string_new(_("List of users:\n")); + GString *string = g_string_new(NULL); GList *iter; + int count = g_list_length(users); + g_string_printf(string, + ngettext("List of %d user:\n", "List of %d users:\n", count), count); for (iter = users; iter; iter = iter->next) { PurpleConvChatBuddy *cbuddy = iter->data;