Bug 484660 - Decimal formatting is not locale-aware
Summary: Decimal formatting is not locale-aware
Status: RESOLVED FIXED
Alias: None
Product: kontrast
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Carl Schwan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-28 12:10 UTC by Emir SARI
Modified: 2024-03-28 14:53 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Emir SARI 2024-03-28 12:10:38 UTC
All the decimal values use dot as decimal separator. These should be locale-aware, since not every locale uses dot as the separator. It looks like .fixed() is used, this one won't work.
Comment 1 Emir SARI 2024-03-28 12:15:13 UTC
On it.
Comment 2 Bug Janitor Service 2024-03-28 12:26:09 UTC
A possibly relevant merge request was started @ https://invent.kde.org/accessibility/kontrast/-/merge_requests/43
Comment 3 Emir SARI 2024-03-28 14:53:27 UTC
Git commit 2aefcff26005312194b6ec008d451c2e1953f6d4 by Emir SARI.
Committed on 28/03/2024 at 12:25.
Pushed by carlschwan into branch 'master'.

Make floating values locale-aware

M  +7    -7    src/contents/ui/MainPage.qml

https://invent.kde.org/accessibility/kontrast/-/commit/2aefcff26005312194b6ec008d451c2e1953f6d4