Review Request 127800: Format number in KLocalizedString::subs

Kai Uwe Broulik kde at privat.broulik.de
Sat Apr 30 22:47:31 UTC 2016


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

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/20160430/fbd135b2/attachment.html>


More information about the Kde-frameworks-devel mailing list