Bug 501567 - Unit representation issue in OptionDelegate.qml
Summary: Unit representation issue in OptionDelegate.qml
Status: REPORTED
Alias: None
Product: Skanpage
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Alexander Stippich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-16 11:15 UTC by Emir SARI
Modified: 2025-03-16 11:15 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 2025-03-16 11:15:35 UTC
In getUnitString, the units are added to the value as suffix, but this is not i18n friendly for some languages. The value and the unit should be represented in the %1 %2 fashion, so that the unit can be prepended as needed. This is especially problematic for percent values, since my language prepends it instead of appending.