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

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


--- Comment #2 from Thomas Baumgart <thb at net-bembel.de> ---
Git commit 89a462ce4d97caa20263e759373993049c6b8a72 by Thomas Baumgart.
Committed on 28/08/2020 at 11:28.
Pushed by tbaumgart into branch '5.1'.

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

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
(cherry picked from commit 7c3d78a5e3a356a80309b5673cd746ddabc37f56)

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


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

More information about the KMyMoney-devel mailing list