diff --git a/src/groupchat_window.py b/src/groupchat_window.py index a29db6b341028d40366e5dc3aa92756f30402361..e6616ee1a61fb84af7ed15acff1fffd1d244f505 100644 --- a/src/groupchat_window.py +++ b/src/groupchat_window.py @@ -682,14 +682,14 @@ class GroupchatWindow(chat.Chat): splitted_text_after_ban_command = text_after_ban_command.split() if len(splitted_text_after_ban_command) == 1: # reason is optional so accept just nick - nick_to_ban = splitted_text_after_msg_command[0] + nick_to_ban = splitted_text_after_ban_command[0] if nick_to_ban in nicks: fjid = gajim.construct_fjid(room_jid, nick_to_ban) gajim.connections[self.account].gc_set_affiliation(room_jid, fjid, 'outcast') elif len(splitted_text_after_ban_command) >= 2: # a reason was given - nick_to_ban = splitted_text_after_msg_command[0] + nick_to_ban = splitted_text_after_ban_command[0] if nick_to_ban in nicks: reason = splitted_text_after_msg_command[1:] fjid = gajim.construct_fjid(room_jid, nick_to_ban) diff --git a/src/gtkgui.glade b/src/gtkgui.glade index 4fce6c335745a246e41720db27d554f79ca57185..c1153f76c7c29c0dc5030da36b7352f7dcf43285 100644 --- a/src/gtkgui.glade +++ b/src/gtkgui.glade @@ -4341,7 +4341,7 @@ <child> <widget class="GtkLabel" id="label240"> <property name="visible">True</property> - <property name="label" translatable="yes"><b>Notifications</b></property> + <property name="label" translatable="yes"><b>Visual Notifications</b></property> <property name="use_underline">False</property> <property name="use_markup">True</property> <property name="justify">GTK_JUSTIFY_LEFT</property>