diff options
author | Pino Toscano <pino@kde.org> | 2013-06-07 09:54:38 +0200 |
---|---|---|
committer | Pino Toscano <pino@kde.org> | 2013-06-07 09:54:38 +0200 |
commit | 43d4fc732abb294a89127ce55b80d7f78fd606c7 (patch) | |
tree | a36eee0653f737df1f8254d2f6a901c72b426cda /src/webtab/webpage.cpp | |
parent | Fix behavior on unloaded sites (diff) | |
download | rekonq-43d4fc732abb294a89127ce55b80d7f78fd606c7.tar.xz |
i18n fixes
- remove string puzzles when possible
- remove exclamation marks
- remove contractions ("don't" -> "do not", etc)
- lowercase "NOT" (do not shout to the user)
- remove extra spaces, or add them where needed
- few style/spelling fixes
Diffstat (limited to 'src/webtab/webpage.cpp')
-rw-r--r-- | src/webtab/webpage.cpp | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/src/webtab/webpage.cpp b/src/webtab/webpage.cpp index 6042cf32..bae10f5a 100644 --- a/src/webtab/webpage.cpp +++ b/src/webtab/webpage.cpp @@ -699,7 +699,7 @@ QString WebPage::errorPage(QNetworkReply *reply) // test to see if networking is enabled on the system if (Solid::Networking::status() != Solid::Networking::Connected) { - msg += QL1S("<h2>") + i18n("Network is NOT available") + QL1S("</h2>"); + msg += QL1S("<h2>") + i18n("Network is not available") + QL1S("</h2>"); QString faceIconPath = QString("file://") + KIconLoader::global()->iconPath("face-surprise" , -KIconLoader::SizeHuge, false); msg += QL1S("<table>"); @@ -743,21 +743,23 @@ QString WebPage::errorPage(QNetworkReply *reply) msg += QL1S("<p>"); if (defaultEngine) { - msg += i18n("Ask your default search engine about:"); - msg += QL1S(" <a href=\"") + SearchEngine::buildQuery(defaultEngine, urlString) + QL1S("\">"); - msg += i18n("search with %1", defaultEngine->name()); - msg += QL1S("</a>!<br />"); + msg += i18n("Ask your default search engine about: " + "<a href=\"%1\">search with %2</a>.<br />", + SearchEngine::buildQuery(defaultEngine, urlString), + defaultEngine->name()); } else { - msg += i18n("You don't have a default search engine set. We won't suggest you one."); + msg += i18n("You do not have a default search engine set. We will not suggest you one."); } msg += QL1S("</p>"); msg += QL1S("<p>"); - msg += i18n("Consult a cached snapshot of the site: "); - 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("Consult a cached snapshot of the site: " + "try checking the <a href=\"%1\">Wayback Machine</a>" + " or the <a href=\"%2\">Google Cache</a>.", + QL1S("http://wayback.archive.org/web/*/") + urlString, + QL1S("http://google.com/search?q=cache:") + urlString); msg += QL1S("</p>"); msg += QL1S("<h5>") + i18n("<a href='%1'>Try Again</a>", urlString) + QL1S("</h5>"); msg += QL1S("</td></tr></table>"); |