summaryrefslogtreecommitdiff
path: root/src/walletwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/walletwidget.cpp')
-rw-r--r--src/walletwidget.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/walletwidget.cpp b/src/walletwidget.cpp
index 90410d4d..69b5c497 100644
--- a/src/walletwidget.cpp
+++ b/src/walletwidget.cpp
@@ -48,9 +48,9 @@ WalletWidget::WalletWidget(QWidget *parent)
closeButton->setAutoRaise(true);
closeButton->setIcon(KIcon("dialog-close"));
- QPushButton *rememberButton = new QPushButton(KIcon("document-save"), i18n("remember"), this);
- QPushButton *neverHereButton = new QPushButton(KIcon("process-stop"), i18n("never for this site"), this);
- QPushButton *notNowButton = new QPushButton(KIcon("dialog-cancel"), i18n("not now"), this);
+ QPushButton *rememberButton = new QPushButton(KIcon("document-save"), i18n("Remember"), this);
+ QPushButton *neverHereButton = new QPushButton(KIcon("process-stop"), i18n("Never for This Site"), this);
+ QPushButton *notNowButton = new QPushButton(KIcon("dialog-cancel"), i18n("Not Now"), this);
connect(closeButton, SIGNAL(clicked()), this, SLOT(notNowRememberData()));
connect(rememberButton, SIGNAL(clicked()), this, SLOT(rememberData()));
@@ -97,7 +97,8 @@ void WalletWidget::notNowRememberData()
void WalletWidget::onSaveFormData(const QString &key, const QUrl &url)
{
- m_label->setText( i18n("Do you want rekonq to remember the password for ").append(key).append(i18n(" on ")).append(url.host()).append(i18n("?")) );
+ m_label->setText( i18n("Do you want rekonq to remember the password for ").append(url.userName()).append(i18n(" on ")).append(url.host()).append(i18n("?")) );
+
m_key = key;
m_url = url;
}