[Kmymoney-devel] [kmymoney] kmymoney/dialogs: Do not use translation puzzles

aga agander93 at gmail.com
Sat Mar 21 12:15:12 UTC 2015


I think this was a follow-up to bug 343106, which has now been 
cherry-picked to 4.7.

Will you be doing the same for this, or should I, or what?

Allan


On 20/03/15 06:47, Yuri Chornoivan wrote:
> Git commit e9306fd4f8688db6c5273f9673a7e31eab6b9e54 by Yuri Chornoivan.
> Committed on 20/03/2015 at 06:47.
> Pushed by yurchor into branch 'master'.
>
> Do not use translation puzzles
>
> M  +2    -2    kmymoney/dialogs/transactioneditor.cpp
>
> http://commits.kde.org/kmymoney/e9306fd4f8688db6c5273f9673a7e31eab6b9e54
>
> diff --git a/kmymoney/dialogs/transactioneditor.cpp b/kmymoney/dialogs/transactioneditor.cpp
> index 1c51e27..a215e3f 100644
> --- a/kmymoney/dialogs/transactioneditor.cpp
> +++ b/kmymoney/dialogs/transactioneditor.cpp
> @@ -264,7 +264,7 @@ void TransactionEditor::slotNumberChanged(const QString& txt)
>     kMyMoneyLineEdit* number = dynamic_cast<kMyMoneyLineEdit*>(haveWidget("number"));
>     QString schedInfo;
>     if (!m_scheduleInfo.isEmpty()) {
> -    schedInfo = i18n("<center>Processing schedule for ") + m_scheduleInfo + ".</center>";
> +    schedInfo = i18n("<center>Processing schedule for %1.</center>", m_scheduleInfo);
>     }
>
>     while (MyMoneyFile::instance()->checkNoUsed(m_account.id(), next)) {
> @@ -454,7 +454,7 @@ void TransactionEditor::assignNextNumber(void)
>       int rc = KMessageBox::No;
>       QString schedInfo;
>       if (!m_scheduleInfo.isEmpty()) {
> -      schedInfo = i18n("<center>Processing schedule for") + m_scheduleInfo +".</center>";
> +      schedInfo = i18n("<center>Processing schedule for %1.</center>", m_scheduleInfo);
>       }
>       while (MyMoneyFile::instance()->checkNoUsed(m_account.id(), num)) {
>         if (showMessage) {
>


More information about the KMyMoney-devel mailing list