From 6b58477e8be0668fb1144fb0e0fc959d495d9591 Mon Sep 17 00:00:00 2001 From: Panagiotis Papadopoulos Date: Sun, 9 Aug 2009 01:43:17 +0200 Subject: KDE HIG fixes --- src/cleardata.ui | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cleardata.ui b/src/cleardata.ui index 94a39c69..b27a8f63 100644 --- a/src/cleardata.ui +++ b/src/cleardata.ui @@ -24,7 +24,7 @@ - history + History true @@ -54,7 +54,7 @@ - Website Icons + Website icons true -- cgit v1.2.1 From b1abd7b5e1417c462cd24f174362df9452d0054b Mon Sep 17 00:00:00 2001 From: Panagiotis Papadopoulos Date: Sun, 9 Aug 2009 01:43:35 +0200 Subject: Removed an unneeded space --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 092c03c8..2bf926ab 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -87,7 +87,7 @@ int main(int argc, char **argv) ""); about.addCredit(ki18n("Abuus"), - ki18n("Webview mouse event support"), + ki18n("Webview mouse event support"), "buusmail@gmail.com", ""); -- cgit v1.2.1 From e39fb095aed235c1e5c9d391ed509cae1dfe18e0 Mon Sep 17 00:00:00 2001 From: Panagiotis Papadopoulos Date: Sun, 9 Aug 2009 01:44:30 +0200 Subject: Removed unneeded space --- src/panelhistory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/panelhistory.cpp b/src/panelhistory.cpp index f9ac9da0..d6367669 100644 --- a/src/panelhistory.cpp +++ b/src/panelhistory.cpp @@ -51,7 +51,7 @@ PanelHistory::PanelHistory(QWidget *parent) // add search bar QHBoxLayout *hBoxLayout = new QHBoxLayout; hBoxLayout->setContentsMargins(5, 0, 0, 0); - QLabel *searchLabel = new QLabel(i18n("Search: ")); + QLabel *searchLabel = new QLabel(i18n("Search:")); hBoxLayout->addWidget(searchLabel); KLineEdit *search = new KLineEdit; hBoxLayout->addWidget(search); -- cgit v1.2.1 From 1448a51d72d803fe03449f5f615b38f867411c2b Mon Sep 17 00:00:00 2001 From: Panagiotis Papadopoulos Date: Sun, 9 Aug 2009 03:14:40 +0200 Subject: Added colons to strings --- src/application.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/application.cpp b/src/application.cpp index 3817098d..df47a119 100644 --- a/src/application.cpp +++ b/src/application.cpp @@ -262,7 +262,7 @@ void Application::loadUrl(const KUrl& url, const Rekonq::OpenType& type) if ( !url.isValid() ) { - KMessageBox::error(0, i18n("Malformed URL\n%1", url.url())); + KMessageBox::error(0, i18n("Malformed URL:\n%1", url.url())); return; } @@ -301,7 +301,7 @@ void Application::loadUrl(const KUrl& url, const Rekonq::OpenType& type) if ( !KProtocolInfo::isKnownProtocol( loadingUrl ) ) { - KMessageBox::error(0, i18n("Protocol not supported\n%1", url.protocol())); + KMessageBox::error(0, i18n("Protocol not supported:\n%1", url.protocol())); return; } -- cgit v1.2.1 From 077ffac8155a5f767bd4f5da74d20d5ad9001c54 Mon Sep 17 00:00:00 2001 From: Panagiotis Papadopoulos Date: Sun, 9 Aug 2009 03:32:08 +0200 Subject: Added some FIXME notes about some strings --- src/networkaccessmanager.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/networkaccessmanager.cpp b/src/networkaccessmanager.cpp index 32bc15b5..eefa0d8e 100644 --- a/src/networkaccessmanager.cpp +++ b/src/networkaccessmanager.cpp @@ -141,8 +141,8 @@ void NetworkAccessManager::authenticationRequired(QNetworkReply *reply, QAuthent passwordWidget.iconLabel->setText(QString()); passwordWidget.iconLabel->setPixmap(mainWindow->style()->standardIcon(QStyle::SP_MessageBoxQuestion, 0, mainWindow).pixmap(32, 32)); - - QString introMessage = i18n("Enter username and password for %1 at %2", + //FIXME Replace the text below with an explanation of what exactly %1 and %2 stand for + QString introMessage = i18nc("%1=stuff %2=stuff2", "Enter username and password for %1 at %2", Qt::escape(reply->url().toString()), Qt::escape(reply->url().toString()) ); passwordWidget.introLabel->setText(introMessage); @@ -172,7 +172,7 @@ void NetworkAccessManager::proxyAuthenticationRequired(const QNetworkProxy &prox proxyWdg.iconLabel->setText(QString()); proxyWdg.iconLabel->setPixmap(mainWindow->style()->standardIcon(QStyle::SP_MessageBoxQuestion, 0, mainWindow).pixmap(32, 32)); - + //FIXME Connect to proxy %1 using what? Best solution would be adding a %2 after the "using:" part and explain %1 and %2 in an i18nc call QString introMessage = i18n("Connect to proxy %1 using:", Qt::escape(proxy.hostName()) ); proxyWdg.introLabel->setText(introMessage); proxyWdg.introLabel->setWordWrap(true); -- cgit v1.2.1