mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-17 13:30:36 -04:00
fixed wording for asking passwd so that it works ok for both login in and signing
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5852 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
b2e97407b5
commit
6f1c165763
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ bool NotifyQt::askForPassword(const std::string& key_details, bool prev_is_bad,
|
||||||
QInputDialog dialog;
|
QInputDialog dialog;
|
||||||
dialog.setWindowTitle(tr("GPG key passphrase"));
|
dialog.setWindowTitle(tr("GPG key passphrase"));
|
||||||
dialog.setLabelText((prev_is_bad?tr("Wrong password !") + "\n\n" : QString()) +
|
dialog.setLabelText((prev_is_bad?tr("Wrong password !") + "\n\n" : QString()) +
|
||||||
tr("To sign, please enter the password that unlocks your PGP key:") + "\n" + QString::fromUtf8(key_details.c_str()));
|
tr("Please enter the password to unlock your PGP key:") + "\n" + QString::fromUtf8(key_details.c_str()));
|
||||||
dialog.setTextEchoMode(QLineEdit::Password);
|
dialog.setTextEchoMode(QLineEdit::Password);
|
||||||
dialog.setWindowIcon(QIcon(":/images/rstray3.png"));
|
dialog.setWindowIcon(QIcon(":/images/rstray3.png"));
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue