From: Darrin Daigle Date: Tue, 25 Mar 2014 22:08:23 +0000 (-0500) Subject: fixed title on 3 dialog boxes (they were showing "python" as title) X-Git-Url: https://git.novaco.in/?a=commitdiff_plain;h=dec5e351c0bcf521572d62c330b4f476991ba7e8;p=electrum-nvc.git fixed title on 3 dialog boxes (they were showing "python" as title) --- diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py index 82ca5fb..97871e8 100644 --- a/gui/qt/main_window.py +++ b/gui/qt/main_window.py @@ -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')+':')) @@ -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) diff --git a/gui/qt/password_dialog.py b/gui/qt/password_dialog.py index 95479be..61df771 100644 --- a/gui/qt/password_dialog.py +++ b/gui/qt/password_dialog.py @@ -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')