From 43d4fc732abb294a89127ce55b80d7f78fd606c7 Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Fri, 7 Jun 2013 09:54:38 +0200 Subject: 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 --- src/urlbar/adblockwidget.cpp | 2 +- src/urlbar/bookmarkwidget.cpp | 2 +- src/urlbar/listitem.cpp | 2 +- src/urlbar/resourcelinkdialog.cpp | 2 +- src/urlbar/sslwidget.cpp | 4 ++-- src/urlbar/urlbar.cpp | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) (limited to 'src/urlbar') diff --git a/src/urlbar/adblockwidget.cpp b/src/urlbar/adblockwidget.cpp index 063658eb..5fd27fb2 100644 --- a/src/urlbar/adblockwidget.cpp +++ b/src/urlbar/adblockwidget.cpp @@ -75,7 +75,7 @@ AdBlockWidget::AdBlockWidget(const QUrl &url, QWidget *parent) } // Checkbox - _chBox->setText(i18n("Enable adblock for this site")); + _chBox->setText(i18n("Enable AdBlock for this site")); _chBox->setChecked(_isAdblockEnabledHere); layout->addWidget(title); diff --git a/src/urlbar/bookmarkwidget.cpp b/src/urlbar/bookmarkwidget.cpp index 76e1c9ac..5c556672 100644 --- a/src/urlbar/bookmarkwidget.cpp +++ b/src/urlbar/bookmarkwidget.cpp @@ -150,7 +150,7 @@ BookmarkWidget::BookmarkWidget(const KBookmark &bookmark, QWidget *parent) QLabel *tagLabel = new QLabel(this); tagLabel->setText(i18n("Tags:")); tagLabel->setAlignment(Qt::AlignLeft); - m_tagLine->setPlaceholderText(i18n("add tags(comma separated)")); + m_tagLine->setPlaceholderText(i18n("add tags (comma separated)")); QList tagList = Nepomuk2::Tag::allTags(); diff --git a/src/urlbar/listitem.cpp b/src/urlbar/listitem.cpp index 580eea53..4e6795f0 100644 --- a/src/urlbar/listitem.cpp +++ b/src/urlbar/listitem.cpp @@ -439,7 +439,7 @@ SearchListItem::SearchListItem(const UrlSuggestionItem &item, const QString &tex hLayout->addWidget(m_iconLabel); hLayout->addWidget(m_titleLabel); - hLayout->addWidget(new QLabel(i18n("Engines: "), this)); + hLayout->addWidget(new QLabel(i18n("Engines:"), this)); hLayout->addWidget(m_engineBar); hLayout->addWidget(new TypeIconLabel(item.type, this)); diff --git a/src/urlbar/resourcelinkdialog.cpp b/src/urlbar/resourcelinkdialog.cpp index 668dc65e..bafe3d52 100644 --- a/src/urlbar/resourcelinkdialog.cpp +++ b/src/urlbar/resourcelinkdialog.cpp @@ -128,7 +128,7 @@ Nepomuk2::ResourceLinkDialog::ResourceLinkDialog(Nepomuk2::Resource &nfoResource connect(d->m_searchBox, SIGNAL(textChanged(QString)), this, SLOT(dynamicSearchingSlot())); d->m_resourceView = new QListView(mainWidget()); - d->m_resourceView->setToolTip(i18n(" Double click to link resource ")); + d->m_resourceView->setToolTip(i18n("Double click to link resource")); d->m_resourceModel = new Utils::SimpleResourceModel(this); d->m_resourceView->setModel(d->m_resourceModel); diff --git a/src/urlbar/sslwidget.cpp b/src/urlbar/sslwidget.cpp index 59161267..a7d7640d 100644 --- a/src/urlbar/sslwidget.cpp +++ b/src/urlbar/sslwidget.cpp @@ -85,7 +85,7 @@ SSLWidget::SSLWidget(const QUrl &url, const WebSslInfo &info, QWidget *parent) label->setWordWrap(true); if (cert.isNull()) { - label->setText(i18n("Warning: this site is NOT carrying a certificate.")); + label->setText(i18n("Warning: this site is not carrying a certificate.")); imageLabel->setPixmap(KIcon("security-low").pixmap(c_dim)); layout->addWidget(label, rows++, 1); } @@ -138,7 +138,7 @@ SSLWidget::SSLWidget(const QUrl &url, const WebSslInfo &info, QWidget *parent) { label = new QLabel(this); label->setWordWrap(true); - label->setText(i18n("Your connection to %1 is NOT encrypted.\n", m_url.host())); + label->setText(i18n("Your connection to %1 is not encrypted.\n", m_url.host())); layout->addWidget(label, rows++ , 1); imageLabel->setPixmap(KIcon("security-low").pixmap(c_dim)); diff --git a/src/urlbar/urlbar.cpp b/src/urlbar/urlbar.cpp index e12c5842..6775e02c 100644 --- a/src/urlbar/urlbar.cpp +++ b/src/urlbar/urlbar.cpp @@ -576,7 +576,7 @@ IconButton *UrlBar::addRightIcon(UrlBar::icon ic) else { rightIcon->setIcon(KIcon("preferences-web-browser-adblock").pixmap(32, 32, QIcon::Disabled)); - rightIcon->setToolTip(i18n("AdBlock is NOT enabled on this site")); + rightIcon->setToolTip(i18n("AdBlock is not enabled on this site")); } break; } -- cgit v1.2.1