From 75a9d0ae2cf9d587555de4129b9d7f3f58ef5021 Mon Sep 17 00:00:00 2001
From: Nikos Kouremenos <kourem@gmail.com>
Date: Sat, 3 Sep 2005 16:38:19 +0000
Subject: [PATCH] fix logic

---
 src/groupchat_window.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/groupchat_window.py b/src/groupchat_window.py
index ff300e3b11..7d5f41c2c0 100644
--- a/src/groupchat_window.py
+++ b/src/groupchat_window.py
@@ -141,10 +141,11 @@ class GroupchatWindow(chat.Chat):
 			rooms_no = len(names)
 			if rooms_no >= 2: # if we are in many rooms
 				pritext = _('Are you sure you want to leave rooms "%s"?') % ', '.join(names)
-				sectext = _('If you close this window, you will be disconnected from this room.')
+				sectext = _('If you close this window, you will be disconnected from these rooms.')
+
 			elif rooms_no == 1: # just in one room
 				pritext = _('Are you sure you want to leave room "%s"?') % names[0]
-				sectext = _('If you close this window, you will be disconnected from these rooms.')
+				sectext = _('If you close this window, you will be disconnected from this room.')
 			
 			if rooms_no > 0:
 				dialog = dialogs.ConfirmationDialogCheck(pritext, sectext,
-- 
GitLab