- Timestamp:
- 08/06/07 11:59:14 (17 months ago)
- Files:
-
- 1 modified
-
trunk/src/common/connection_handlers.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/common/connection_handlers.py
r8433 r8453 1699 1699 elif errcode == '403': # we are banned 1700 1700 self.dispatch('ERROR', (_('Unable to join group chat'), 1701 _('You are banned from this group chat.')))1701 _('You are banned from group chat %s.') % room_jid)) 1702 1702 elif errcode == '404': # group chat does not exist 1703 1703 self.dispatch('ERROR', (_('Unable to join group chat'), 1704 _(' Such group chat does not exist.')))1704 _('Group chat %s does not exist.') % room_jid)) 1705 1705 elif errcode == '405': 1706 1706 self.dispatch('ERROR', (_('Unable to join group chat'), … … 1708 1708 elif errcode == '406': 1709 1709 self.dispatch('ERROR', (_('Unable to join group chat'), 1710 _('Your registered nickname must be used.'))) 1710 _('Your registered nickname must be used in group chat %s.') \ 1711 % room_jid)) 1711 1712 elif errcode == '407': 1712 1713 self.dispatch('ERROR', (_('Unable to join group chat'), 1713 _('You are not in the members list.'))) 1714 _('You are not in the members list in groupchat %s.') % \ 1715 room_jid)) 1714 1716 elif errcode == '409': # nick conflict 1715 1717 # the jid_from in this case is FAKE JID: room_jid/nick … … 1719 1721 room_jid = gajim.get_room_from_fjid(who) 1720 1722 self.dispatch('ASK_NEW_NICK', (room_jid, _('Unable to join group chat'), 1721 _('Your desired nickname i s in use or registered by another occupant.\nPlease specify another nickname below:'), proposed_nickname))1723 _('Your desired nickname in group chat %s is in use or registered by another occupant.\nPlease specify another nickname below:') % room_jid, proposed_nickname)) 1722 1724 else: # print in the window the error 1723 1725 self.dispatch('ERROR_ANSWER', ('', jid_stripped,
