tMerge pull request #6248 from hoganri/network-status - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit f3c4b8698d83239de1985e2b480722b25e4fd171 DIR parent 85841ba20de7cb6459066538474d3f13e010031e HTML Author: ThomasV <thomasv@electrum.org> Date: Mon, 22 Jun 2020 10:39:56 +0200 Merge pull request #6248 from hoganri/network-status Fixes network status "node" vs "nodes" count Diffstat: M electrum/gui/qt/network_dialog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/electrum/gui/qt/network_dialog.py b/electrum/gui/qt/network_dialog.py t@@ -333,7 +333,7 @@ class NetworkChoiceLayout(object): height_str = "%d "%(self.network.get_local_height()) + _('blocks') self.height_label.setText(height_str) n = len(self.network.get_interfaces()) - status = _("Connected to {0} nodes.").format(n) if n else _("Not connected") + status = _("Connected to {0} nodes.").format(n) if n > 1 else _("Connected to {0} node.").format(n) if n == 1 else _("Not connected") self.status_label.setText(status) chains = self.network.get_blockchains() if len(chains) > 1: