Review Request 127800: Format number in KLocalizedString::subs

Kai Uwe Broulik kde at privat.broulik.de
Wed Feb 8 14:10:32 UTC 2017


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/127800/
-----------------------------------------------------------

(Updated Feb. 8, 2017, 2:10 nachm.)


Status
------

This change has been discarded.


Review request for KDE Frameworks.


Repository: ki18n


Description
-------

Use %L1 instead of %1 which tells it it's a number.

This way I get decimal indicator and thousands separators according to my locale in eg. KUnitConversion


Diffs
-----

  src/klocalizedstring.cpp fc80135 

Diff: https://git.reviewboard.kde.org/r/127800/diff/


Testing
-------

0,00094697205065430554 Meilen and 1.524 Millimeter
instead of
0.00094697205065430554 Meilen and 1524 Millimeter


Thanks,

Kai Uwe Broulik

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170208/3954bd87/attachment.html>


More information about the Kde-frameworks-devel mailing list