summaryrefslogtreecommitdiff
path: root/src/webtab
diff options
context:
space:
mode:
Diffstat (limited to 'src/webtab')
-rw-r--r--src/webtab/searchenginebar.cpp2
-rw-r--r--src/webtab/sslinfodialog.cpp4
-rw-r--r--src/webtab/webpage.cpp20
-rw-r--r--src/webtab/webtab.cpp10
-rw-r--r--src/webtab/webview.cpp2
5 files changed, 20 insertions, 18 deletions
diff --git a/src/webtab/searchenginebar.cpp b/src/webtab/searchenginebar.cpp
index 441facf7..e463ba27 100644
--- a/src/webtab/searchenginebar.cpp
+++ b/src/webtab/searchenginebar.cpp
@@ -58,7 +58,7 @@ SearchEngineBar::SearchEngineBar(QWidget *parent)
setCloseButtonVisible(false);
- setText(i18n("You don't have a default search engine set. Without it, rekonq will not show proper url suggestions."));
+ setText(i18n("You do not have a default search engine set. Without it, rekonq will not show proper URL suggestions."));
KAction *acceptAction = new KAction(i18n("Set it"), this);
connect(acceptAction, SIGNAL(triggered(bool)), this, SIGNAL(accepted()));
diff --git a/src/webtab/sslinfodialog.cpp b/src/webtab/sslinfodialog.cpp
index 8572febc..1465bfae 100644
--- a/src/webtab/sslinfodialog.cpp
+++ b/src/webtab/sslinfodialog.cpp
@@ -119,12 +119,12 @@ void SslInfoDialog::displayFromChain(int i)
if (cert.isValid() && errors.isEmpty())
{
QStringList certInfo;
- certInfo << i18n("The Certificate is Valid!");
+ certInfo << i18n("The certificate is valid");
showCertificateInfo(cert, certInfo);
}
else
{
- errors.prepend(i18n("The certificate for this site is NOT valid for the following reasons:"));
+ errors.prepend(i18n("The certificate for this site is not valid for the following reasons:"));
showCertificateInfo(cert, errors);
}
}
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>");
diff --git a/src/webtab/webtab.cpp b/src/webtab/webtab.cpp
index fba824a1..d589692a 100644
--- a/src/webtab/webtab.cpp
+++ b/src/webtab/webtab.cpp
@@ -423,7 +423,7 @@ void WebTab::zoomIn()
{
if (m_zoomFactor == 50)
{
- emit infoToShow(i18n("Max zoom reached: ") + QString::number(m_zoomFactor * 10) + QL1S("%"));
+ emit infoToShow(i18n("Max zoom reached: %1%", QString::number(m_zoomFactor * 10)));
return;
}
@@ -439,7 +439,7 @@ void WebTab::zoomIn()
KConfigGroup group(config, "Zoom");
group.writeEntry(url().host(), m_zoomFactor);
- emit infoToShow(i18n("Zooming: ") + QString::number(m_zoomFactor * 10) + QL1S("%"));
+ emit infoToShow(i18n("Zooming: %1%", QString::number(m_zoomFactor * 10)));
}
@@ -447,7 +447,7 @@ void WebTab::zoomOut()
{
if (m_zoomFactor == 1)
{
- emit infoToShow(i18n("Min zoom reached: ") + QString::number(m_zoomFactor * 10) + QL1S("%"));
+ emit infoToShow(i18n("Min zoom reached: %1%", QString::number(m_zoomFactor * 10)));
return;
}
@@ -459,7 +459,7 @@ void WebTab::zoomOut()
KConfigGroup group(config, "Zoom");
group.writeEntry(url().host(), m_zoomFactor);
- emit infoToShow(i18n("Zooming: ") + QString::number(m_zoomFactor * 10) + QL1S("%"));
+ emit infoToShow(i18n("Zooming: %1%", QString::number(m_zoomFactor * 10)));
}
@@ -473,7 +473,7 @@ void WebTab::zoomDefault()
KConfigGroup group(config, "Zoom");
group.writeEntry(url().host(), m_zoomFactor);
- emit infoToShow(i18n("Default zoom: ") + QString::number(m_zoomFactor * 10) + QL1S("%"));
+ emit infoToShow(i18n("Default zoom: %1%", QString::number(m_zoomFactor * 10)));
}
diff --git a/src/webtab/webview.cpp b/src/webtab/webview.cpp
index e9d48f29..56ac1e7a 100644
--- a/src/webtab/webview.cpp
+++ b/src/webtab/webview.cpp
@@ -337,7 +337,7 @@ void WebView::contextMenuEvent(QContextMenuEvent *event)
{
// send by mail: page url
sendByMailAction->setData(page()->currentFrame()->url());
- sendByMailAction->setText(i18n("Share page url"));
+ sendByMailAction->setText(i18n("Share page URL"));
// navigation
QWebHistory *history = page()->history();