diff --git a/retroshare-gui/src/gui/PeersDialog.cpp b/retroshare-gui/src/gui/PeersDialog.cpp
index 5d685805c..7286cdd19 100644
--- a/retroshare-gui/src/gui/PeersDialog.cpp
+++ b/retroshare-gui/src/gui/PeersDialog.cpp
@@ -399,7 +399,7 @@ void PeersDialog::peertreeWidgetCostumPopupMenu( QPoint point )
iconLabel->setMaximumSize( iconLabel->frameSize().height() + 24, 24 );
hbox->addWidget(iconLabel);
- textLabel = new QLabel("" + tr("RetroShare") + "", widget );
+ textLabel = new QLabel("RetroShare", widget );
hbox->addWidget(textLabel);
@@ -1275,7 +1275,7 @@ void PeersDialog::removefriend()
if (rsPeers)
{
- if ((QMessageBox::question(this, tr("RetroShare"),tr("Do you want to remove this Friend?"),QMessageBox::Yes|QMessageBox::No, QMessageBox::Yes))== QMessageBox::Yes)
+ if ((QMessageBox::question(this, "RetroShare",tr("Do you want to remove this Friend?"),QMessageBox::Yes|QMessageBox::No, QMessageBox::Yes))== QMessageBox::Yes)
{
rsPeers->removeFriend(getPeerRsCertId(c));
emit friendsUpdated() ;
@@ -1726,8 +1726,10 @@ void PeersDialog::on_actionClear_Chat_History_triggered()
void PeersDialog::on_actionDelete_Chat_History_triggered()
{
- on_actionClear_Chat_History_triggered();
- historyKeeper.clear();
+ if ((QMessageBox::question(this, "RetroShare", tr("Do you really want to physically delete the history?"), QMessageBox::Yes | QMessageBox::No, QMessageBox::Yes)) == QMessageBox::Yes) {
+ on_actionClear_Chat_History_triggered();
+ historyKeeper.clear();
+ }
}
void PeersDialog::smileyWidgetgroupchat()
diff --git a/retroshare-gui/src/gui/chat/PopupChatDialog.cpp b/retroshare-gui/src/gui/chat/PopupChatDialog.cpp
index a7c326b43..a2affc63a 100644
--- a/retroshare-gui/src/gui/chat/PopupChatDialog.cpp
+++ b/retroshare-gui/src/gui/chat/PopupChatDialog.cpp
@@ -833,8 +833,10 @@ void PopupChatDialog::on_actionClear_Chat_History_triggered()
void PopupChatDialog::on_actionDelete_Chat_History_triggered()
{
- on_actionClear_Chat_History_triggered();
- historyKeeper.clear();
+ if ((QMessageBox::question(this, "RetroShare", tr("Do you really want to physically delete the history?"), QMessageBox::Yes | QMessageBox::No, QMessageBox::Yes)) == QMessageBox::Yes) {
+ on_actionClear_Chat_History_triggered();
+ historyKeeper.clear();
+ }
}
void PopupChatDialog::updatePeerAvatar(const std::string& peer_id)
diff --git a/retroshare-gui/src/gui/notifyqt.cpp b/retroshare-gui/src/gui/notifyqt.cpp
index ba22b7bac..2e91e8b58 100644
--- a/retroshare-gui/src/gui/notifyqt.cpp
+++ b/retroshare-gui/src/gui/notifyqt.cpp
@@ -126,16 +126,24 @@ void NotifyQt::notifyOwnAvatarChanged()
std::string NotifyQt::askForPassword(const std::string& key_details,bool prev_is_bad)
{
-
RsAutoUpdatePage::lockAllEvents() ;
- std::string res = QInputDialog::getText(NULL, tr("GPG key passphrase"),
- (prev_is_bad?tr("Wrong password !") + "\n\n" : QString()) +
- tr("Please enter the password to unlock the following GPG key:") + "\n" + QString::fromStdString(key_details), QLineEdit::Password, NULL, NULL).toStdString();
+ QInputDialog dialog;
+ dialog.setWindowTitle(tr("GPG key passphrase"));
+ dialog.setLabelText((prev_is_bad?tr("Wrong password !") + "\n\n" : QString()) +
+ tr("Please enter the password to unlock the following GPG key:") + "\n" + QString::fromStdString(key_details));
+ dialog.setTextEchoMode(QLineEdit::Password);
+ dialog.setWindowIcon(QIcon(":/images/rstray3.png"));
+
+ int ret = dialog.exec();
RsAutoUpdatePage::unlockAllEvents() ;
- return res ;
+ if (ret) {
+ return dialog.textValue().toStdString();
+ }
+
+ return "";
}
void NotifyQt::notifyDiscInfoChanged()
diff --git a/retroshare-gui/src/lang/retroshare_de.qm b/retroshare-gui/src/lang/retroshare_de.qm
index cc6a00680..ea012e7c5 100644
Binary files a/retroshare-gui/src/lang/retroshare_de.qm and b/retroshare-gui/src/lang/retroshare_de.qm differ
diff --git a/retroshare-gui/src/lang/retroshare_de.ts b/retroshare-gui/src/lang/retroshare_de.ts
index 46ea9f35c..7b02adf31 100644
--- a/retroshare-gui/src/lang/retroshare_de.ts
+++ b/retroshare-gui/src/lang/retroshare_de.ts
@@ -1521,7 +1521,7 @@ p, li { white-space: pre-wrap; }
Übernehmen und Schliessen
-
+
RetroShare
@@ -7183,7 +7183,7 @@ p, li { white-space: pre-wrap; }
Bitte geben Sie das Passwort ein um folgenden GPG Schlüssel freizuschalten:
-
+
Examining shared files...
Prüfe freigegebene Dateien...
@@ -7504,7 +7504,12 @@ p, li { white-space: pre-wrap; }
Neuer Gruppenchat
-
+
+ Do you really want to physically delete the history?
+ Willst Du wirklich den Nachrichtenverlauf physisch löschen?
+
+
+
Load File
Lade Datei
@@ -7674,7 +7679,7 @@ p, li { white-space: pre-wrap; }
-
+
Add Friend
Freund hinzufügen
@@ -7728,13 +7733,7 @@ p, li { white-space: pre-wrap; }
Nachrichtenverlauf speichern
-
-
- RetroShare
-
-
-
-
+
Message Group
Gruppe anschreiben
@@ -7754,7 +7753,7 @@ p, li { white-space: pre-wrap; }
Willst du diesen Freund entfernen?
-
+
Save as...
Speichern unter...
@@ -7790,7 +7789,7 @@ p, li { white-space: pre-wrap; }
Aktivitäten
-
+
is typing...
tippt...
@@ -8131,7 +8130,12 @@ p, li { white-space: pre-wrap; }
Avatar zeigen
-
+
+ Do you really want to physically delete the history?
+ Willst Du wirklich den Nachrichtenverlauf physisch löschen?
+
+
+
Load Picture File
Lade Bilddatei
@@ -8260,7 +8264,7 @@ p, li { white-space: pre-wrap; }
Text Datei (*.txt );;Alle Dateien (*)
-
+
Your Friend is offline
Do you want to send them a Message instead
Dein Freund ist Offline willst du ihm stattdessen eine Nachricht senden
@@ -8271,7 +8275,7 @@ Do you want to send them a Message instead
Bild anhängen
-
+
is Idle and may not reply
antwortet möglicherweise nicht, da der Status auf "Untätig" gesetzt wurde
@@ -8291,7 +8295,7 @@ Do you want to send them a Message instead
ist Offline.
-
+
Paste RetroShare Link
RetroShare Link einfügen
@@ -9449,17 +9453,17 @@ p, li { white-space: pre-wrap; }
-
+
Download
Herunterladen
-
+
Enter a keyword here (at least 3 char long)
Gib einen Suchbegriff ein (min. 3 Zeichen)
-
+
Copy retroshare Link
Kopiere RetroShare Link
@@ -9479,7 +9483,7 @@ p, li { white-space: pre-wrap; }
Freunden empfehlen
-
+
Remove
Entfernen
@@ -9550,7 +9554,7 @@ p, li { white-space: pre-wrap; }
Such ID
-
+
Download Notice
Download
@@ -9560,7 +9564,7 @@ p, li { white-space: pre-wrap; }
Überspringe lokale Dateien
-
+
Sorry
Entschuldigung
@@ -11446,7 +11450,7 @@ p, li { white-space: pre-wrap; }
Übertrage
-
+
RetroShare
@@ -11471,7 +11475,7 @@ p, li { white-space: pre-wrap; }
Soll dieser Download wirklich abgebrochen und gelöscht werden?
-
+
Speed / Queue position
Geschwindigkeits- / Warteschlangenposition
@@ -11534,38 +11538,38 @@ p, li { white-space: pre-wrap; }
-
+
Failed
Gescheitert
-
+
-
+
Okay
OK
-
-
+
+
Waiting
Warte
-
+
Downloading
Ladend
-
+
Complete
Vollständig
-
+
Unknown
Unbekannt
@@ -11575,12 +11579,12 @@ p, li { white-space: pre-wrap; }
Version:
-
+
Uploading
Hochladend
-
+
Checking...
Überprüfe...