fix substitution in some strings

This commit is contained in:
Yann Leboulanger 2007-06-13 19:07:25 +00:00
parent 510184a6b2
commit 2aeeeaa896
1 changed files with 6 additions and 5 deletions

View File

@ -1215,13 +1215,14 @@ class ChatControl(ChatControlBase):
self.print_conversation(_('Commands: %s') % ChatControl.CHAT_CMDS, self.print_conversation(_('Commands: %s') % ChatControl.CHAT_CMDS,
'info') 'info')
elif command == 'clear': elif command == 'clear':
self.print_conversation(_('Usage: /%s, clears the text window.'), self.print_conversation(_('Usage: /%s, clears the text window.') % \
'info') command, 'info')
elif command == 'compact': elif command == 'compact':
self.print_conversation(_('Usage: /%s, hide the chat buttons.'), self.print_conversation(_('Usage: /%s, hide the chat buttons.') % \
'info') command, 'info')
elif command == 'ping': elif command == 'ping':
self.print_conversation(_(''), 'info') self.print_conversation(_('Usage: /%s, sends a ping to the contact') %\
command, 'info')
else: else:
self.print_conversation(_('No help info for /%s') % command, 'info') self.print_conversation(_('No help info for /%s') % command, 'info')