Skip to content
Snippets Groups Projects
Commit 07e25183 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

Merge branch 'trans' into 'master'

Fix string for a better translation

See merge request gajim/gajim!185
parents 71e16133 0ddff9c2
No related branches found
No related tags found
No related merge requests found
......@@ -127,7 +127,8 @@ class ServerInfoDialog(Gtk.Dialog):
hours = 0
if seconds >= 3600:
hours = delta.seconds // 3600
self.uptime = _('%s days, %s hours') % (delta.days, hours)
self.uptime = _('%(days)s days, %(hours)s hours') % {
'days': delta.days, 'hours': hours}
self.update(self.get_infos, self.info_listbox)
def _nec_version_result_received(self, obj):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment