From 0ddff9c2a947f9a9c6ae999a6f32cf5baf8c10b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Apitzsch?= Date: Mon, 8 Jan 2018 00:24:17 +0100 Subject: [PATCH] Fix string for a better translation --- gajim/server_info.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gajim/server_info.py b/gajim/server_info.py index a856550e2..16c1ec5ca 100644 --- a/gajim/server_info.py +++ b/gajim/server_info.py @@ -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):