fix some typo. see #4166

This commit is contained in:
Yann Leboulanger 2008-08-01 10:01:45 +00:00
parent fa2d983354
commit 23d9413687
1 changed files with 4 additions and 4 deletions

View File

@ -464,7 +464,7 @@ class PassphraseRequest:
def create_dialog(self, account): def create_dialog(self, account):
title = _('Passphrase Required') title = _('Passphrase Required')
second = _('Enter GPG key passphrase for key %(keyid)s (account ' second = _('Enter GPG key passphrase for key %(keyid)s (account '
'%(account)s).') % {'kayid': self.keyid, 'account': account} '%(account)s).') % {'keyid': self.keyid, 'account': account}
def _cancel(): def _cancel():
# user cancelled, continue without GPG # user cancelled, continue without GPG
@ -936,11 +936,11 @@ class Interface:
ctrl = self.new_private_chat(gc_c, account, session) ctrl = self.new_private_chat(gc_c, account, session)
ctrl.print_conversation(_('Error %(code)s: %(msg)s') % { ctrl.print_conversation(_('Error %(code)s: %(msg)s') % {
'error': array[1], 'msg': array[2]}, 'status') 'code': array[1], 'msg': array[2]}, 'status')
return return
gc_control.print_conversation(_('Error %(code)s: %(msg)s') % { gc_control.print_conversation(_('Error %(code)s: %(msg)s') % {
'error': array[1], 'msg': array[2]}, 'status') 'code': array[1], 'msg': array[2]}, 'status')
if gc_control.parent_win and gc_control.parent_win.get_active_jid() == jid: if gc_control.parent_win and gc_control.parent_win.get_active_jid() == jid:
gc_control.set_subject(gc_control.subject) gc_control.set_subject(gc_control.subject)
return return
@ -1824,7 +1824,7 @@ class Interface:
jid, tim, session = data jid, tim, session = data
details = _('Unable to decrypt message from ' details = _('Unable to decrypt message from '
'%s\nIt may have been tampered with.') % (jid) '%s\nIt may have been tampered with.') % jid
if session.control: if session.control:
session.control.print_conversation_line(details, session.control.print_conversation_line(details,