[rkward-cvs] SF.net SVN: rkward:[4354] trunk/rkward/rkward/dialogs/rkrecoverdialog.cpp
tfry at users.sourceforge.net
tfry at users.sourceforge.net
Mon Oct 8 15:16:53 UTC 2012
Revision: 4354
http://rkward.svn.sourceforge.net/rkward/?rev=4354&view=rev
Author: tfry
Date: 2012-10-08 15:16:53 +0000 (Mon, 08 Oct 2012)
Log Message:
-----------
Remove problematic i18n string
Modified Paths:
--------------
trunk/rkward/rkward/dialogs/rkrecoverdialog.cpp
Modified: trunk/rkward/rkward/dialogs/rkrecoverdialog.cpp
===================================================================
--- trunk/rkward/rkward/dialogs/rkrecoverdialog.cpp 2012-10-08 09:12:47 UTC (rev 4353)
+++ trunk/rkward/rkward/dialogs/rkrecoverdialog.cpp 2012-10-08 15:16:53 UTC (rev 4354)
@@ -2,7 +2,7 @@
rkrecoverdialog - description
-------------------
begin : Fri Feb 04 2011
- copyright : (C) 2011 by Thomas Friedrichsmeier
+ copyright : (C) 2011, 2012 by Thomas Friedrichsmeier
email : tfry at users.sourceforge.net
***************************************************************************/
@@ -32,14 +32,15 @@
RK_TRACE (DIALOGS);
RK_ASSERT (!recovery_files.isEmpty ());
- setCaption (i18n ("Crash recovery file detected"));
+ const QString caption = i18n ("Crash recovery file detected");
+ setCaption (caption);
setButtons (KDialog::Ok | KDialog::Cancel | KDialog::User1);
setButtonText (KDialog::User1, i18n ("Show in file browser"));
setButtonText (KDialog::Ok, i18n ("Recover"));
connect (this, SIGNAL (user1Clicked()), this, SLOT (showButtonClicked ()));
QLabel *label = new QLabel (this);
- QString text = i18n ("<p><b>Crash recovery file detected</b></p>");
+ QString text = QString ("<p><b>%1</b></p>").arg (caption);
text.append (i18n ("<p>It looks like RKWard has crashed, recently. We are sorry about that! However, not everything is lost, and with a bit of luck, your data has been saved in time.</p>"));
text.append (i18np ("<p>A workspace recovery file exists in <i>%2</i> as <i>%3</i>.</p>", "<p>%1 workspace recovery files exist in <i>%2</i>, the most recent one of which is <i>%3</i>.</p>", recovery_files.count (), RKSettingsModuleGeneral::filesPath (), recovery_files.first ()));
text.append (i18n ("<p>Do you want to open this file, now? <b>Note</b>: You will be prompted again, next time you start RKWard, until you remove/rename the file, manually.</p>"));
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the rkward-tracker
mailing list