tfix #4164 - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit d146c369bff58a9b0f37dd46224b771a5f96cbce DIR parent cd19f788ccedd7ac050141cdd15c9905011c951e HTML Author: SomberNight <somber.night@protonmail.com> Date: Thu, 22 Mar 2018 21:48:51 +0100 fix #4164 Diffstat: M lib/plugins.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) --- DIR diff --git a/lib/plugins.py b/lib/plugins.py t@@ -482,9 +482,14 @@ class DeviceMgr(ThreadJob, PrintError): infos = self.unpaired_device_infos(handler, plugin, devices) if infos: break - msg = _('Please insert your {}. Verify the cable is ' - 'connected and that no other application is using it.\n\n' - 'Try to connect again?').format(plugin.device) + msg = _('Please insert your {}').format(plugin.device) + if keystore.label: + msg += ' ({})'.format(keystore.label) + msg += '. {}\n\n{}'.format( + _('Verify the cable is connected and that ' + 'no other application is using it.'), + _('Try to connect again?') + ) if not handler.yes_no_question(msg): raise UserCancelled() devices = None