[rkward-cvs] [rkward] Improve wording / button label in recovery file deletion confirmation dialog.

Thomas Friedrichsmeier thomas.friedrichsmeier at ruhr-uni-bochum.de
Mon Nov 17 19:21:09 UTC 2014


NOTE: This is a manual resend of a commit notification that was missing due to 
commit hooks not yet activated.

---

commit 95e032f7e81ae09e5cb963951d0d44e9feea2caa
Commit:     Thomas Friedrichsmeier <thomas.friedrichsmeier at ruhr-uni-bochum.de>
CommitDate: Sun Nov 16 21:13:16 2014 +0100

    Improve wording / button label in recovery file deletion confirmation 
dialog.

diff --git a/rkward/dialogs/rkrecoverdialog.cpp 
b/rkward/dialogs/rkrecoverdialog.cpp
index 7172500..e637ecf 100644
--- a/rkward/dialogs/rkrecoverdialog.cpp
+++ b/rkward/dialogs/rkrecoverdialog.cpp
@@ -65,7 +65,7 @@ RKRecoverDialog::~RKRecoverDialog () {
 void RKRecoverDialog::deleteButtonClicked () {
 	RK_TRACE (DIALOGS);
 
-	if (KMessageBox::warningContinueCancel (this, i18np ("You are about to 
delete the recovery file %2. There will be no way to bring it back. 
Continue?", "You are about to delete %1 recovery files (the most recent one is 
%2). There will be no way to bring them back. Continue?", files.count (), 
files.first ())) != KMessageBox::Continue) return;
+	if (KMessageBox::warningContinueCancel (this, i18np ("You are about to 
delete the recovery file %2. There will be no way to bring it back. Really 
delete it?", "You are about to delete %1 recovery files (the most recent one 
is %2). There will be no way to bring them back. Really delete them?", 
files.count (), files.first ()), i18n ("Really delete recovery file(s)?"), 
KStandardGuiItem::del()) != KMessageBox::Continue) return;
 
 	for (int i = 0; i < files.count (); ++i) {
 		QFile (files[i]).remove ();	// TODO: error handling?




More information about the rkward-tracker mailing list