From 58d65f8e795eaec2809db54d2bec7fb0568d86a9 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Fri, 6 Nov 2009 22:14:42 +0100 Subject: String changes From ChussLove "ilic" --- src/mainwindow.cpp | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'src/mainwindow.cpp') diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 796c2bad..194b141a 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -629,13 +629,14 @@ void MainWindow::slotPrivateBrowsing(bool enable) if (enable && !settings->testAttribute(QWebSettings::PrivateBrowsingEnabled)) { QString title = i18n("Are you sure you want to turn on private browsing?"); - QString text = "" + title + i18n("

When private browsing is turned on," - " web pages are not added to the history," - " new cookies are not stored, current cookies cannot be accessed," \ - " site icons will not be stored, the session will not be saved, " \ - " and searches are not added to the pop-up menu in the Google search box." \ - " Until you close the window, you can still click the Back and Forward buttons" \ - " to return to the web pages you have opened."); + QString text = i18n("%1" + "

When private browsing is turned on," + " web pages are not added to the history," + " new cookies are not stored, current cookies cannot be accessed," + " site icons will not be stored, the session will not be saved, " + " and searches are not added to the pop-up menu in the Google search box." + " Until you close the window, you can still click the Back and Forward buttons" + " to return to the web pages you have opened.

", title); int button = KMessageBox::questionYesNo(this, text, title); if (button == KMessageBox::Yes) -- cgit v1.2.1