fixed title on 3 dialog boxes (they were showing "python" as title)

This commit is contained in:
Darrin Daigle 2014-03-25 17:08:23 -05:00
parent 5fb8036dd5
commit dec5e351c0
2 changed files with 3 additions and 0 deletions

View File

@ -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)

View File

@ -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')