From fb2053ecd95031abf6853a69c1a8cd2608cb6abf Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Fri, 12 Aug 2005 21:17:09 +0000 Subject: [PATCH] ngettext now works --- src/groupchat_window.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/groupchat_window.py b/src/groupchat_window.py index d011a3392..c81540c43 100644 --- a/src/groupchat_window.py +++ b/src/groupchat_window.py @@ -137,11 +137,11 @@ class GroupchatWindow(chat.Chat): if len(names): #if one or more rooms connected joined_names = ', '.join(names) - pritext = ngettext('Are you sure you want to leave room "%s"?' % \ + pritext = i18n._translation.ngettext('Are you sure you want to leave room "%s"?' % \ names[0], 'Are you sure you want to leave rooms "%s"?' % \ joined_names, len(names)) - sectext = ngettext( + sectext = i18n._translation.ngettext( 'If you close this window, you will be disconnected from this room.', 'If you close this window, you will be disconnected from these rooms.', len(names))