user should see cannot/does not and can't doesn't
This commit is contained in:
parent
3ba5e9ba78
commit
9eb9112de9
|
@ -253,7 +253,7 @@ class RosterWindow:
|
||||||
return
|
return
|
||||||
invisible_show = gajim.SHOW_LIST.index('invisible')
|
invisible_show = gajim.SHOW_LIST.index('invisible')
|
||||||
if gajim.connections[account].connected == invisible_show:
|
if gajim.connections[account].connected == invisible_show:
|
||||||
dialogs.ErrorDialog(_("You can't join a room while you are invisible")
|
dialogs.ErrorDialog(_('You cannot join a room while you are invisible')
|
||||||
).get_response()
|
).get_response()
|
||||||
return
|
return
|
||||||
room, server = room_jid.split('@')
|
room, server = room_jid.split('@')
|
||||||
|
@ -1594,7 +1594,7 @@ _('If "%s" accepts this request you will know his status.') %jid)
|
||||||
def on_join_gc_activate(self, widget, account):
|
def on_join_gc_activate(self, widget, account):
|
||||||
invisible_show = gajim.SHOW_LIST.index('invisible')
|
invisible_show = gajim.SHOW_LIST.index('invisible')
|
||||||
if gajim.connections[account].connected == invisible_show:
|
if gajim.connections[account].connected == invisible_show:
|
||||||
dialogs.ErrorDialog(_("You can't join a room while you are invisible")
|
dialogs.ErrorDialog(_('You cannot join a room while you are invisible')
|
||||||
).get_response()
|
).get_response()
|
||||||
return
|
return
|
||||||
if self.plugin.windows[account].has_key('join_gc'):
|
if self.plugin.windows[account].has_key('join_gc'):
|
||||||
|
|
Loading…
Reference in New Issue