[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kmymoney] kmymoney/plugins/ofx/import/dialogs: Present account name when asking for password
From:       Thomas Baumgart <null () kde ! org>
Date:       2017-12-31 14:06:44
Message-ID: E1eVeGC-0006IR-2A () code ! kde ! org
[Download RAW message or body]

Git commit f70311d1bbbf1c637d659f200d184c22902b6c4e by Thomas Baumgart.
Committed on 31/12/2017 at 14:05.
Pushed by tbaumgart into branch 'master'.

Present account name when asking for password

Fix usage of i18n() to make this work again

BUG: 341663
FIXED-IN: 5.0

M  +1    -1    kmymoney/plugins/ofx/import/dialogs/mymoneyofxconnector.cpp

https://commits.kde.org/kmymoney/f70311d1bbbf1c637d659f200d184c22902b6c4e

diff --git a/kmymoney/plugins/ofx/import/dialogs/mymoneyofxconnector.cpp \
b/kmymoney/plugins/ofx/import/dialogs/mymoneyofxconnector.cpp index \
                71df15f0..c56201e3 100644
--- a/kmymoney/plugins/ofx/import/dialogs/mymoneyofxconnector.cpp
+++ b/kmymoney/plugins/ofx/import/dialogs/mymoneyofxconnector.cpp
@@ -225,7 +225,7 @@ QString MyMoneyOfxConnector::password() const
 
   if (pwd.isEmpty()) {
     QPointer<KPasswordDialog> dlg = new KPasswordDialog(0);
-    dlg->setPrompt(i18n("Enter your password for account <b>%1</b>", \
m_account.name())); +    dlg->setPrompt(i18n("Enter your password for account \
<b>%1</b>").arg(m_account.name()));  if (dlg->exec())
       pwd = dlg->password();
     delete dlg;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic