Fix more strings from #7470

This commit is contained in:
Daniel Brötzmann 2018-09-28 16:23:07 +02:00 committed by Philipp Hörist
parent fcc2e3a8cf
commit a9af4518a5
4 changed files with 4 additions and 4 deletions

View File

@ -1249,7 +1249,7 @@ class ChatControl(ChatControlBase):
self.print_conversation(_('Ping?'), 'status')
elif obj.name == 'ping-reply':
self.print_conversation(
_('Pong! (%s s.)') % obj.seconds, 'status')
_('Pong! (%s seconds)') % obj.seconds, 'status')
elif obj.name == 'ping-error':
self.print_conversation(_('Error.'), 'status')

View File

@ -914,7 +914,7 @@ class SSLErrorDialog(ConfirmationDialogDoubleCheck):
self, pritext, sectext,
checktext1, checktext2, on_response_ok=on_response_ok,
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.show_all()
area = self.get_action_area()

View File

@ -52,7 +52,7 @@ def signal_received(connection, sender_name, object_path,
if app.account_is_connected(name):
conn.old_show = app.SHOW_LIST[conn.connected]
st = conn.status
conn.change_status('offline', _('Machine going to sleep'))
conn.change_status('offline', _('Machine is going to sleep'))
conn.status = st
conn.time_to_reconnect = 5

View File

@ -4409,7 +4409,7 @@ class RosterWindow:
app.interface.instances['file_transfers'].send_file(
account, c, path)
# 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:',
'Do you want to send these files to %s:', nb_uri) %\
c_dest.get_shown_name()