Bug 466882 - kmymoney/kmymoneyutils.cpp:564 doubt about i18n string "Do you want to add [...] as payer"
Summary: kmymoney/kmymoneyutils.cpp:564 doubt about i18n string "Do you want to add [....
Status: RESOLVED FIXED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (other bugs)
Version First Reported In: git (master)
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-05 12:01 UTC by Oliver Kellogg
Modified: 2024-08-17 20:02 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.1.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Kellogg 2023-03-05 12:01:55 UTC
Git master kmymoney/kmymoneyutils.cpp function KMyMoneyUtils::newPayee around line 564:

562    if (newnameBase != i18n("New Payee")) {
563        // Ask the user if that is what he intended to do?
564        const auto msg = i18n("<qt>Do you want to add <b>%1</b> as payer/receiver?</qt>", newnameBase);
565
566        if (KMessageBox::questionTwoActions(nullptr, msg, i18n("New payee/receiver"), KMMYesNo::yes(), KMMYesNo::no(), "NewPayee")

The surrounding context is about "New Payee" and "New payee/receiver" but `msg` contains
    "Do you want to add <b>%1</b> as payer"
I suspect "payer" should be "payee".
Please check.
Comment 1 Thomas Baumgart 2023-03-05 13:25:09 UTC
Git commit 5b6eafc7a46583e087a3122baf898e2c40677397 by Thomas Baumgart.
Committed on 05/03/2023 at 13:24.
Pushed by tbaumgart into branch 'master'.

Exchange payer with payee

M  +1    -1    kmymoney/kmymoneyutils.cpp

https://invent.kde.org/office/kmymoney/commit/5b6eafc7a46583e087a3122baf898e2c40677397