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,11 +1594,11 @@ _('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'):
|
||||||
self.plugin.windows[account]['join_gc'].window.present()
|
self.plugin.windows[account]['join_gc'].window.present()
|
||||||
else:
|
else:
|
||||||
#FIXME: Why this try/except?
|
#FIXME: Why this try/except?
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue