summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPanagiotis Papadopoulos <pano_90@gmx.net>2009-09-30 13:31:59 +0200
committerPanagiotis Papadopoulos <pano_90@gmx.net>2009-09-30 13:31:59 +0200
commit3ed32ef5bb3584bcaf9a71ebfe77c2d7788ddf5f (patch)
treef7282a0975fcfbd4cc4e14c1473f84de86bd83d5
parentChanged two strings a bit (diff)
downloadrekonq-3ed32ef5bb3584bcaf9a71ebfe77c2d7788ddf5f.tar.xz
Modified the strings a bit, to let them contain %1 etc.
-rw-r--r--src/webpage.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/webpage.cpp b/src/webpage.cpp
index 49896892..b1fc0da2 100644
--- a/src/webpage.cpp
+++ b/src/webpage.cpp
@@ -231,17 +231,17 @@ QString WebPage::errorPage(QNetworkReply *reply)
return QString("");
}
- QString title = i18n("Error loading: ") + reply->url().path();
+ QString title = i18n("Error loading: %1", reply->url().path());
QString imagesPath = QString("file://") + KGlobal::dirs()->findResourceDir("data", "rekonq/pics/bg.png") + QString("rekonq/pics");
QString msg = "<h1>" + reply->errorString() + "</h1>";
- msg += "<h2>" + i18n("When connecting to: ") + reply->url().toString() + "</h2>";
+ msg += "<h2>" + i18nc("%1=an URL, e.g.'kde.org'", "When connecting to: %1", reply->url().toString()) + "</h2>";
msg += "<ul><li>" + i18n("Check the address for errors such as <b>ww</b>.kde.org instead of <b>www</b>.kde.org");
msg += "</li><li>" + i18n("If the address is correct, try to check the network connection.") + "</li><li>" ;
msg += i18n("If your computer or network is protected by a firewall or proxy, make sure that rekonq is permitted to access the network.");
- msg += "</li><li>" + i18n("Of course, if rekonq doesn't work properly, you can always say it's a programmer error ;)");
+ msg += "</li><li>" + i18n("Of course, if rekonq does not work properly, you can always say it is a programmer error ;)");
msg += "</li></ul><br/><br/>";
msg += "<input type=\"button\" id=\"reloadButton\" onClick=\"document.location.href='" + reply->url().path() + "';\" value=\"";
msg += i18n("Try Again") + "\" />";