move "Do not ask me again" accelerator to D. Fixes #5755
This commit is contained in:
parent
e9e54f2c9f
commit
b7d6441846
|
@ -1723,7 +1723,7 @@ class GroupchatControl(ChatControlBase):
|
|||
'from this group chat.')
|
||||
|
||||
dialogs.ConfirmationDialogCheck(pritext, sectext,
|
||||
_('Do _not ask me again'), on_response_ok=on_ok,
|
||||
_('_Do not ask me again'), on_response_ok=on_ok,
|
||||
on_response_cancel=on_cancel)
|
||||
return
|
||||
|
||||
|
|
|
@ -1211,7 +1211,7 @@ class Interface:
|
|||
|
||||
dialogs.YesNoDialog(_('GPG key not trusted'), _('The GPG key used to '
|
||||
'encrypt this chat is not trusted. Do you really want to encrypt '
|
||||
'this message?'), checktext=_('Do _not ask me again'),
|
||||
'this message?'), checktext=_('_Do not ask me again'),
|
||||
on_response_yes=on_yes, on_response_no=on_no)
|
||||
|
||||
def handle_event_password_required(self, account, array):
|
||||
|
@ -1983,7 +1983,7 @@ class Interface:
|
|||
'connection. This means all your conversations will be '
|
||||
'exchanged unencrypted. Are you sure you want to do that?')
|
||||
checktext1 = _('Yes, I really want to connect insecurely')
|
||||
checktext2 = _('Do _not ask me again')
|
||||
checktext2 = _('_Do not ask me again')
|
||||
if 'plain_connection' in self.instances[account]['online_dialog']:
|
||||
self.instances[account]['online_dialog']['plain_connection'].\
|
||||
destroy()
|
||||
|
@ -2020,7 +2020,7 @@ class Interface:
|
|||
'connection. You should install PyOpenSSL to prevent that. Are you '
|
||||
'sure you want to do that?')
|
||||
checktext1 = _('Yes, I really want to connect insecurely')
|
||||
checktext2 = _('Do _not ask me again')
|
||||
checktext2 = _('_Do not ask me again')
|
||||
if 'insecure_ssl' in self.instances[account]['online_dialog']:
|
||||
self.instances[account]['online_dialog']['insecure_ssl'].destroy()
|
||||
self.instances[account]['online_dialog']['insecure_ssl'] = \
|
||||
|
@ -2055,7 +2055,7 @@ class Interface:
|
|||
sectext = _('You are about to send your password unencrypted on an '
|
||||
'insecure connection. Are you sure you want to do that?')
|
||||
checktext1 = _('Yes, I really want to connect insecurely')
|
||||
checktext2 = _('Do _not ask me again')
|
||||
checktext2 = _('_Do not ask me again')
|
||||
if 'insecure_password' in self.instances[account]['online_dialog']:
|
||||
self.instances[account]['online_dialog']['insecure_password'].\
|
||||
destroy()
|
||||
|
|
|
@ -219,7 +219,7 @@ class MessageWindow(object):
|
|||
dialogs.YesNoDialog(
|
||||
_('You are going to close several tabs'),
|
||||
_('Do you really want to close them all?'),
|
||||
checktext=_('Do _not ask me again'), on_response_yes=on_yes1)
|
||||
checktext=_('_Do not ask me again'), on_response_yes=on_yes1)
|
||||
return True
|
||||
|
||||
def on_yes(ctrl):
|
||||
|
|
|
@ -2733,7 +2733,7 @@ class RosterWindow:
|
|||
sectext = _('This contact will see you offline and you will not '
|
||||
'receive messages he will send you.')
|
||||
dialogs.ConfirmationDialogCheck(pritext, sectext,
|
||||
_('Do _not ask me again'), on_response_ok=_block_it)
|
||||
_('_Do not ask me again'), on_response_ok=_block_it)
|
||||
|
||||
def on_unblock(self, widget, list_, group=None):
|
||||
"""
|
||||
|
@ -3393,7 +3393,7 @@ class RosterWindow:
|
|||
'but only until you change your status. Then he or she will see '
|
||||
'your global status.') % {'status': show}
|
||||
dialogs.ConfirmationDialogCheck(pritext, sectext,
|
||||
_('Do _not ask me again'), on_response_ok=send_it)
|
||||
_('_Do not ask me again'), on_response_ok=send_it)
|
||||
|
||||
def on_status_combobox_changed(self, widget):
|
||||
"""
|
||||
|
@ -4117,7 +4117,7 @@ class RosterWindow:
|
|||
'line. Generally it is used when the same person has several '
|
||||
'Jabber accounts or transport accounts.')
|
||||
dlg = dialogs.ConfirmationDialogCheck(pritext, sectext,
|
||||
_('Do _not ask me again'), on_response_ok=merge_contacts)
|
||||
_('_Do not ask me again'), on_response_ok=merge_contacts)
|
||||
if not confirm_metacontacts: # First time we see this window
|
||||
dlg.checkbutton.set_active(True)
|
||||
|
||||
|
|
Loading…
Reference in New Issue