Bug 495185 - Decimal separators need to be locale-aware
Summary: Decimal separators need to be locale-aware
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Usability-i18n (show other bugs)
Version: 8.5.0
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-22 13:16 UTC by Emir SARI
Modified: 2024-10-22 20:24 UTC (History)
1 user (show)

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


Attachments
screenshot (42.51 KB, image/png)
2024-10-22 13:16 UTC, Emir SARI
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Emir SARI 2024-10-22 13:16:57 UTC
Created attachment 175109 [details]
screenshot

Latest digiKam master.

I have noticed some floating point values are not locale-aware, i. e. they only use dot as the decimal separator. It might be a good idea to check all the user-facing floating point values to be locale aware using QLocale.

For instance, see screenshot attached. My language uses comma as the separator, but there it’s displayed using a dot.
Comment 1 Maik Qualmann 2024-10-22 20:24:20 UTC
Git commit 190bd6965a31dc5af6426256c868240464bfc085 by Maik Qualmann.
Committed on 22/10/2024 at 20:23.
Pushed by mqualmann into branch 'master'.

use locale decimal separators in file sizes strings
FIXED-IN: 8.5.0

M  +1    -1    NEWS
M  +2    -2    core/libs/properties/itempropertiestab_helpers.cpp

https://invent.kde.org/graphics/digikam/-/commit/190bd6965a31dc5af6426256c868240464bfc085