summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-07-10 22:15:44 +0200
committerAndrea Diamantini <adjam7@gmail.com>2012-07-10 22:40:40 +0200
commit2f259b5187b57f7526ffcfead2dff4324ae4bd21 (patch)
tree9b36dab6dac6c9fb58cd674a24a7c7976dc9697f /src
parentrekonq has a Help action, a documentation, but this documentation (diff)
downloadrekonq-2f259b5187b57f7526ffcfead2dff4324ae4bd21.tar.xz
Last string fixed. Promised :)
(anyway, it was a translator suggestion to remove p tags from i18n...)
Diffstat (limited to 'src')
-rw-r--r--src/webpage.cpp18
1 files changed, 11 insertions, 7 deletions
diff --git a/src/webpage.cpp b/src/webpage.cpp
index 49345ad0..59262862 100644
--- a/src/webpage.cpp
+++ b/src/webpage.cpp
@@ -610,12 +610,14 @@ QString WebPage::errorPage(QNetworkReply *reply)
msg += QL1S("<table>");
msg += QL1S("<tr><td>");
- msg += i18n("<p>");
+ msg += QL1S("<p>");
+
msg += i18n("We tried to load url: %1.<br />", urlString);
msg += i18n("Check your address for errors like <em>ww.kde.org</em> instead of <em>www.kde.org</em>.<br />");
msg += i18n("If you spelled right, just try to <a href=\"%1\">reload it</a>.<br />", urlString);
msg += i18n("Otherwise, just be careful the next time around.");
- msg += i18n("</p>");
+
+ msg += QL1S("</p>");
QString laughIconPath = QString("file://") + KIconLoader::global()->iconPath("face-laugh" , -KIconLoader::SizeHuge, false);
msg += QL1S("</td><td>");
@@ -631,13 +633,15 @@ QString WebPage::errorPage(QNetworkReply *reply)
msg += QL1S("<img src=\"") + faceIconPath + QL1S("\" />");
msg += QL1S("</td><td>");
- msg += i18n("<p>");
+ msg += QL1S("<p>");
+
msg += i18n("Maybe you are having problems with your network.<br />");
msg += i18n("Try checking your <a href=\"%1\">network connections</a>", QL1S("about:settings/network"));
msg += i18n(", your <a href=\"%1\">proxy settings</a> ", QL1S("about:settings/proxy"));
msg += i18n("and your <a href=\"%1\">firewall</a>.<br />", QL1S("about:settings/firewall"));
msg += i18n("Then try again.<br />");
- msg += i18n("</p>");
+
+ msg += QL1S("</p>");
msg += QL1S("</td></tr></table>");
@@ -647,7 +651,7 @@ QString WebPage::errorPage(QNetworkReply *reply)
msg += QL1S("<table>");
msg += QL1S("<tr><td>");
- msg += i18n("<p>");
+ msg += QL1S("<p>");
// Default SearchEngine
KService::Ptr defaultEngine = SearchEngine::defaultEngine();
@@ -667,14 +671,14 @@ QString WebPage::errorPage(QNetworkReply *reply)
msg += i18n("At least, you can consult a cached snapshot of the site: <br />");
msg += i18n("Try checking the <a href=\"%1\">Wayback Machine</a>", QL1S("http://wayback.archive.org/web/*/") + urlString);
msg += i18n(" or the <a href=\"%1\">Google Cache</a>.", QL1S("http://google.com/search?q=cache:") + urlString);
- msg += i18n("</p>");
+
+ msg += QL1S("</p>");
QString winkIconPath = QString("file://") + KIconLoader::global()->iconPath("face-wink" , -KIconLoader::SizeHuge, false);
msg += QL1S("</td><td>");
msg += QL1S("<img src=\"") + winkIconPath + QL1S("\" />");
msg += QL1S("</td></tr></table>");
-
// done. Replace variables and show it
QString html = QL1S(file.readAll());