improve string for translators

This commit is contained in:
Yann Leboulanger 2018-08-30 14:57:33 +02:00 committed by Philipp Hörist
parent 3305ad7710
commit 093ab598b8
1 changed files with 2 additions and 1 deletions

View File

@ -1586,7 +1586,8 @@ class GroupchatControl(ChatControlBase):
self.print_conversation(_('Ping? (%s)') % nick) self.print_conversation(_('Ping? (%s)') % nick)
elif obj.name == 'ping-reply': elif obj.name == 'ping-reply':
self.print_conversation( self.print_conversation(
_('Pong! (%s %s s.)') % (nick, obj.seconds)) _('Pong! (%(nick)s %(delay)s s.)') % {'nick': nick,
'delay': obj.seconds})
elif obj.name == 'ping-error': elif obj.name == 'ping-error':
self.print_conversation(_('Error.')) self.print_conversation(_('Error.'))