Skip to content
Snippets Groups Projects
Commit 75a598b9 authored by nkour's avatar nkour
Browse files

say the same sec text for the same error

parent 1bd32677
No related branches found
No related tags found
No related merge requests found
......@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment