Fix more strings from #7470
This commit is contained in:
parent
ef4c63ba3e
commit
1f3bb5667d
|
@ -1249,7 +1249,7 @@ class ChatControl(ChatControlBase):
|
||||||
self.print_conversation(_('Ping?'), 'status')
|
self.print_conversation(_('Ping?'), 'status')
|
||||||
elif obj.name == 'ping-reply':
|
elif obj.name == 'ping-reply':
|
||||||
self.print_conversation(
|
self.print_conversation(
|
||||||
_('Pong! (%s s.)') % obj.seconds, 'status')
|
_('Pong! (%s seconds)') % obj.seconds, 'status')
|
||||||
elif obj.name == 'ping-error':
|
elif obj.name == 'ping-error':
|
||||||
self.print_conversation(_('Error.'), 'status')
|
self.print_conversation(_('Error.'), 'status')
|
||||||
|
|
||||||
|
|
|
@ -914,7 +914,7 @@ class SSLErrorDialog(ConfirmationDialogDoubleCheck):
|
||||||
self, pritext, sectext,
|
self, pritext, sectext,
|
||||||
checktext1, checktext2, on_response_ok=on_response_ok,
|
checktext1, checktext2, on_response_ok=on_response_ok,
|
||||||
on_response_cancel=on_response_cancel, is_modal=False)
|
on_response_cancel=on_response_cancel, is_modal=False)
|
||||||
b = Gtk.Button(_('View cert…'))
|
b = Gtk.Button(_('View certificate…'))
|
||||||
b.connect('clicked', self.on_cert_clicked)
|
b.connect('clicked', self.on_cert_clicked)
|
||||||
b.show_all()
|
b.show_all()
|
||||||
area = self.get_action_area()
|
area = self.get_action_area()
|
||||||
|
|
|
@ -52,7 +52,7 @@ def signal_received(connection, sender_name, object_path,
|
||||||
if app.account_is_connected(name):
|
if app.account_is_connected(name):
|
||||||
conn.old_show = app.SHOW_LIST[conn.connected]
|
conn.old_show = app.SHOW_LIST[conn.connected]
|
||||||
st = conn.status
|
st = conn.status
|
||||||
conn.change_status('offline', _('Machine going to sleep'))
|
conn.change_status('offline', _('Machine is going to sleep'))
|
||||||
conn.status = st
|
conn.status = st
|
||||||
conn.time_to_reconnect = 5
|
conn.time_to_reconnect = 5
|
||||||
|
|
||||||
|
|
|
@ -4409,7 +4409,7 @@ class RosterWindow:
|
||||||
app.interface.instances['file_transfers'].send_file(
|
app.interface.instances['file_transfers'].send_file(
|
||||||
account, c, path)
|
account, c, path)
|
||||||
# Popup dialog to confirm sending
|
# Popup dialog to confirm sending
|
||||||
prim_text = 'Send file?'
|
prim_text = _('Send file?')
|
||||||
sec_text = i18n.ngettext('Do you want to send this file to %s:',
|
sec_text = i18n.ngettext('Do you want to send this file to %s:',
|
||||||
'Do you want to send these files to %s:', nb_uri) %\
|
'Do you want to send these files to %s:', nb_uri) %\
|
||||||
c_dest.get_shown_name()
|
c_dest.get_shown_name()
|
||||||
|
|
Loading…
Reference in New Issue