tfix #3941 - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit d971a75ef80d2a50a1ba942c60865a3159624ffc DIR parent 51f04d4e7bdb1021c5535c47b676c3d2d084eebf HTML Author: ThomasV <thomasv@electrum.org> Date: Wed, 21 Feb 2018 15:28:00 +0100 fix #3941 Diffstat: M gui/kivy/i18n.py | 2 +- M gui/kivy/uix/ui_screens/network.kv | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) --- DIR diff --git a/gui/kivy/i18n.py b/gui/kivy/i18n.py t@@ -15,7 +15,7 @@ class _(str): @staticmethod def translate(s, *args, **kwargs): - return _.lang(s).format(args, kwargs) + return _.lang(s).format(*args, **kwargs) @staticmethod def bind(label): DIR diff --git a/gui/kivy/uix/ui_screens/network.kv b/gui/kivy/uix/ui_screens/network.kv t@@ -11,7 +11,7 @@ Popup: height: self.minimum_height padding: '10dp' SettingsItem: - value: _("{} connections.").format(app.num_nodes) if app.num_nodes else _("Not connected") + value: _("{} connections.", app.num_nodes) if app.num_nodes else _("Not connected") title: _("Status") + ': ' + self.value description: _("Connections with Electrum servers") action: lambda x: None t@@ -46,7 +46,7 @@ Popup: CardSeparator SettingsItem: - title: _('Fork detected at block {}').format(app.blockchain_checkpoint) if app.num_chains>1 else _('No fork detected') + title: _('Fork detected at block {}', app.blockchain_checkpoint) if app.num_chains>1 else _('No fork detected') fork_description: (_('You are following branch') if app.auto_connect else _("Your server is on branch")) + ' ' + app.blockchain_name description: self.fork_description if app.num_chains>1 else _('Connected nodes are on the same chain') action: app.choose_blockchain_dialog