[kmymoney] [Bug 421915] Can't reposition the currency symbol

Thomas Baumgart bugzilla_noreply at kde.org
Fri Aug 28 12:14:52 BST 2020


https://bugs.kde.org/show_bug.cgi?id=421915

--- Comment #1 from Thomas Baumgart <thb at net-bembel.de> ---
Git commit 7c3d78a5e3a356a80309b5673cd746ddabc37f56 by Thomas Baumgart.
Committed on 28/08/2020 at 11:13.
Pushed by tbaumgart into branch 'master'.

Provide mechanism to pick monetary format from locale info

The display of monetary values varies in different locales but only
parts of the parameters were interpreted by the KMyMoney formatting
function.

This change extracts all necessary information from the current locale
and formats the values accordingly. It is only available on GNU Linux
systems. Windows and MacOS have still to be modified to provide the
necessary information.

Additional unit tests are provided to make sure the formatting works as
expected.

M  +36   -5    kmymoney/main.cpp
M  +5    -5    kmymoney/mymoney/mymoneyenums.h
M  +30   -19   kmymoney/mymoney/mymoneymoney.cpp
M  +7    -4    kmymoney/mymoney/mymoneymoney.h
M  +94   -48   kmymoney/mymoney/tests/mymoneymoney-test.cpp
M  +1    -1    kmymoney/plugins/gnc/import/mymoneygncreader.cpp
M  +2    -2    kmymoney/plugins/qif/config/mymoneyqifprofile.cpp

https://invent.kde.org/office/kmymoney/commit/7c3d78a5e3a356a80309b5673cd746ddabc37f56

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list