ngettext now works

This commit is contained in:
Nikos Kouremenos 2005-08-12 21:17:09 +00:00
parent 8eb530b91c
commit fb2053ecd9
1 changed files with 2 additions and 2 deletions

View File

@ -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))