tMerge pull request #625 from dpdtex/DialogTitles - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit be7d0445a6ae84e5f96d79befe933d77e4dace12 DIR parent 8eeb5503ada64dd7873561c45a40c6315b2fddcd HTML Author: ThomasV <thomasv1@gmx.de> Date: Wed, 26 Mar 2014 18:52:13 +0100 Merge pull request #625 from dpdtex/DialogTitles fixed title on 3 dialog boxes (they were showing "python" as title) Diffstat: M gui/qt/main_window.py | 2 ++ M gui/qt/password_dialog.py | 1 + 2 files changed, 3 insertions(+), 0 deletions(-) --- DIR diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py t@@ -1398,6 +1398,7 @@ class ElectrumWindow(QMainWindow): def new_contact_dialog(self): d = QDialog(self) + d.setWindowTitle(_("New Contact")) vbox = QVBoxLayout(d) vbox.addWidget(QLabel(_('New Contact')+':')) t@@ -1787,6 +1788,7 @@ class ElectrumWindow(QMainWindow): def password_dialog(self ): d = QDialog(self) d.setModal(1) + d.setWindowTitle(_("Enter Password")) pw = QLineEdit() pw.setEchoMode(2) DIR diff --git a/gui/qt/password_dialog.py b/gui/qt/password_dialog.py t@@ -103,6 +103,7 @@ class PasswordDialog(QDialog): self.setModal(1) self.wallet = wallet self.parent = parent + self.setWindowTitle(_("Set Password")) msg = (_('Your wallet is encrypted. Use this dialog to change your password.') + ' '\ +_('To disable wallet encryption, enter an empty new password.')) \ if wallet.use_encryption else _('Your wallet keys are not encrypted')