Bug 495185

Summary: Decimal separators need to be locale-aware
Product: [Applications] digikam Reporter: Emir SARI <emir_sari>
Component: Usability-i18nAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version First Reported In: 8.5.0   
Target Milestone: ---   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed/Implemented In: 8.5.0
Sentry Crash Report:
Attachments: screenshot

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