say the same sec text for the same error

This commit is contained in:
Nikos Kouremenos 2005-06-13 12:35:53 +00:00
parent 1bd32677ac
commit 75a598b938
1 changed files with 2 additions and 2 deletions

View File

@ -627,7 +627,7 @@ class Connection:
self.connected = 0
self.dispatch('STATUS', 'offline')
self.dispatch('ERROR', (_('Could not connect to "%s"') % self.name,
''))
_('Check your connection or try again later')))
return None
con.RegisterHandler('message', self._messageCB)
@ -665,7 +665,7 @@ class Connection:
self.connected = 0
self.dispatch('STATUS', 'offline')
self.dispatch('ERROR', (_('Could not connect to "%s"') % self.name,
_('Please check that you have an internet connection available')))
_('Check your connection or try again later')))
return None
if auth:
con.initRoster()