From 3ed32ef5bb3584bcaf9a71ebfe77c2d7788ddf5f Mon Sep 17 00:00:00 2001 From: Panagiotis Papadopoulos Date: Wed, 30 Sep 2009 13:31:59 +0200 Subject: Modified the strings a bit, to let them contain %1 etc. --- src/webpage.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/webpage.cpp') 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 = "

" + reply->errorString() + "

"; - msg += "

" + i18n("When connecting to: ") + reply->url().toString() + "

"; + msg += "

" + i18nc("%1=an URL, e.g.'kde.org'", "When connecting to: %1", reply->url().toString()) + "

"; msg += "

"; msg += "url().path() + "';\" value=\""; msg += i18n("Try Again") + "\" />"; -- cgit v1.2.1