X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=gui%2Fqt%2Fnetwork_dialog.py;h=c664993becca8bb16cfaeeaaa34d6afc5bd43183;hb=3cbe11a42473af52e7c5e002c36aaaf32646f627;hp=7b09a81766a416c26eeb6db6afc88b6c9466d0d7;hpb=116b10cc11addb497a4e0be76459412c85127784;p=electrum-nvc.git diff --git a/gui/qt/network_dialog.py b/gui/qt/network_dialog.py index 7b09a81..c664993 100644 --- a/gui/qt/network_dialog.py +++ b/gui/qt/network_dialog.py @@ -17,13 +17,13 @@ # along with this program. If not, see . import sys, time, datetime, re, threading -from electrum.i18n import _ -from electrum.util import print_error, print_msg +from electrum_nvc.i18n import _ +from electrum_nvc.util import print_error, print_msg import os.path, json, ast, traceback from PyQt4.QtGui import * from PyQt4.QtCore import * -from electrum import DEFAULT_SERVERS, DEFAULT_PORTS +from electrum_nvc import DEFAULT_SERVERS, DEFAULT_PORTS from util import * @@ -50,7 +50,7 @@ class NetworkDialog(QDialog): status = _("Not connected") if network.is_connected(): - status += "\n" + _("Server:") + " %s"%(network.interface.host) + status += "\n" + _("Server") + ": %s"%(network.interface.host) else: status += "\n" + _("Disconnected from server") @@ -104,7 +104,7 @@ class NetworkDialog(QDialog): self.autocycle_cb.setChecked(self.config.get('auto_cycle', True)) grid.addWidget(self.autocycle_cb, 0, 1) if not self.config.is_modifiable('auto_cycle'): self.autocycle_cb.setEnabled(False) - msg = _("If auto-connect is enabled, Electrum will always use a server that is on the the longest blockchain.") + " " \ + msg = _("If auto-connect is enabled, Electrum will always use a server that is on the longest blockchain.") + " " \ + _("If it is disabled, Electrum will warn you if your server is lagging.") grid.addWidget(HelpButton(msg), 0, 4)