mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-28 08:59:37 -05:00
improved passphrase window
This commit is contained in:
parent
b81764893a
commit
391ef3e4c6
@ -6,8 +6,8 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>291</width>
|
<width>430</width>
|
||||||
<height>433</height>
|
<height>552</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
@ -220,7 +220,7 @@
|
|||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="label_3">
|
<widget class="QLabel" name="label_3">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Name (PGP Id) - location:</string>
|
<string>Profile - Location</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
@ -269,7 +269,7 @@ bool NotifyQt::askForPassword(const std::string& title, const std::string& key_d
|
|||||||
|
|
||||||
QInputDialog dialog;
|
QInputDialog dialog;
|
||||||
if (title == "") {
|
if (title == "") {
|
||||||
dialog.setWindowTitle(tr("PGP key passphrase"));
|
dialog.setWindowTitle(tr("Passphrase required"));
|
||||||
} else if (title == "AuthSSLimpl::SignX509ReqWithGPG()") {
|
} else if (title == "AuthSSLimpl::SignX509ReqWithGPG()") {
|
||||||
dialog.setWindowTitle(tr("You need to sign your node's certificate."));
|
dialog.setWindowTitle(tr("You need to sign your node's certificate."));
|
||||||
} else if (title == "p3IdService::service_CreateGroup()") {
|
} else if (title == "p3IdService::service_CreateGroup()") {
|
||||||
@ -278,7 +278,7 @@ bool NotifyQt::askForPassword(const std::string& title, const std::string& key_d
|
|||||||
dialog.setWindowTitle(QString::fromStdString(title));
|
dialog.setWindowTitle(QString::fromStdString(title));
|
||||||
}
|
}
|
||||||
|
|
||||||
dialog.setLabelText((prev_is_bad ? QString("%1\n\n").arg(tr("Wrong password !")) : QString()) + QString("%1:\n\n (%2)\n\n").arg(tr("Please enter your Retroshare password"), QString::fromUtf8(key_details.c_str())));
|
dialog.setLabelText((prev_is_bad ? QString("%1\n\n").arg(tr("Wrong password !")) : QString()) + QString("<b>%1</b><br/>Profile: <i>%2</i>\n").arg(tr("Please enter your Retroshare passphrase"), QString::fromUtf8(key_details.c_str())));
|
||||||
dialog.setTextEchoMode(QLineEdit::Password);
|
dialog.setTextEchoMode(QLineEdit::Password);
|
||||||
dialog.setModal(true);
|
dialog.setModal(true);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user