Merge branch 'trans' into 'master'

Fix string for a better translation

See merge request gajim/gajim!185
This commit is contained in:
Yann Leboulanger 2018-01-08 08:03:12 +01:00
commit 07e251831e
1 changed files with 2 additions and 1 deletions

View File

@ -127,7 +127,8 @@ class ServerInfoDialog(Gtk.Dialog):
hours = 0 hours = 0
if seconds >= 3600: if seconds >= 3600:
hours = delta.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) self.update(self.get_infos, self.info_listbox)
def _nec_version_result_received(self, obj): def _nec_version_result_received(self, obj):