Skip to content
Snippets Groups Projects
Commit 3d233206 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

[Petr Menšík] correct 2 typos

parent 49d32e84
No related branches found
No related tags found
No related merge requests found
...@@ -675,9 +675,9 @@ class ConnectionDisco: ...@@ -675,9 +675,9 @@ class ConnectionDisco:
def _agent_registered_cb(self, con, resp, agent): def _agent_registered_cb(self, con, resp, agent):
if resp.getType() == 'result': if resp.getType() == 'result':
self.dispatch('INFORMATION', (_('Registration succeeded'), self.dispatch('INFORMATION', (_('Registration succeeded'),
_('Resgitration with agent %s succeeded') % agent)) _('Registration with agent %s succeeded') % agent))
if resp.getType() == 'error': if resp.getType() == 'error':
self.dispatch('ERROR', (_('Registration failed'), _('Resgitration with' self.dispatch('ERROR', (_('Registration failed'), _('Registration with'
' agent %(agent)s failed with error %(error)s: %(error_msg)s') % { ' agent %(agent)s failed with error %(error)s: %(error_msg)s') % {
'agent': agent, 'error': resp.getError(), 'agent': agent, 'error': resp.getError(),
'error_msg': resp.getErrorMsg()})) 'error_msg': resp.getErrorMsg()}))
......
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