t(minor) missing space in message when deleting wallet - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit c34273b771323b562159ee50fcc60b2b758c8b2f
DIR parent 9bd082cd825e3bbffe146cbf6534e6e7c1e7c1f0
HTML Author: SomberNight <somber.night@protonmail.com>
Date: Tue, 29 May 2018 13:40:36 +0200
(minor) missing space in message when deleting wallet
Diffstat:
M gui/kivy/main_window.py | 2 +-
M gui/qt/main_window.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
DIR diff --git a/gui/kivy/main_window.py b/gui/kivy/main_window.py
t@@ -918,7 +918,7 @@ class ElectrumWindow(App):
return
self.stop_wallet()
os.unlink(wallet_path)
- self.show_error("Wallet removed:" + basename)
+ self.show_error(_("Wallet removed: {}").format(basename))
d = os.listdir(dirname)
name = 'default_wallet'
new_path = os.path.join(dirname, name)
DIR diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py
t@@ -2080,7 +2080,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
self.gui_object.daemon.stop_wallet(wallet_path)
self.close()
os.unlink(wallet_path)
- self.show_error("Wallet removed:" + basename)
+ self.show_error(_("Wallet removed: {}").format(basename))
@protected
def show_seed_dialog(self, password):