summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-11-06 22:14:42 +0100
committerAndrea Diamantini <adjam7@gmail.com>2009-11-06 22:14:42 +0100
commit58d65f8e795eaec2809db54d2bec7fb0568d86a9 (patch)
tree871a8638374a3dd49fe562201dea3ec87af4bc5a /src/mainwindow.cpp
parentThis should fix bookmarks toolbar crash on adding a new bookmark. (diff)
downloadrekonq-58d65f8e795eaec2809db54d2bec7fb0568d86a9.tar.xz
String changes
From ChussLove "ilic"
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp15
1 files changed, 8 insertions, 7 deletions
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 = "<b>" + title + i18n("</b><br><br>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("<b>%1</b>"
+ "<p>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.</p>", title);
int button = KMessageBox::questionYesNo(this, text, title);
if (button == KMessageBox::Yes)