D15829: make units and prefixes of formatValue translatable
Safa Alfulaij
noreply at phabricator.kde.org
Sun Oct 7 14:44:33 BST 2018
safaalfulaij added inline comments.
INLINE COMMENTS
> kformatprivate.cpp:124
> + { KFormat::UnitPrefix::Milli, 1e-3, bpow(-10), tr("m", "SI prefix for 10^⁻3") , QString() },
> + { KFormat::UnitPrefix::Unity, 1.0, 1.0 , QString() , QString()},
> + { KFormat::UnitPrefix::Kilo, 1e3, bpow(10) , tr("k", "SI prefix for 10^3") , tr("Ki", "IEC binary prefix for 2^10")},
Space before `}`?
> kformatprivate.cpp:125
> + { KFormat::UnitPrefix::Unity, 1.0, 1.0 , QString() , QString()},
> + { KFormat::UnitPrefix::Kilo, 1e3, bpow(10) , tr("k", "SI prefix for 10^3") , tr("Ki", "IEC binary prefix for 2^10")},
> + { KFormat::UnitPrefix::Mega, 1e6, bpow(20) , tr("M", "SI prefix for 10^6") , tr("Mi", "IEC binary prefix for 2^20") },
Space before `}`?
> kformatprivate.cpp:127
> + { KFormat::UnitPrefix::Mega, 1e6, bpow(20) , tr("M", "SI prefix for 10^6") , tr("Mi", "IEC binary prefix for 2^20") },
> + { KFormat::UnitPrefix::Giga, 1e9, bpow(30) , tr("G", "SI prefix for 10^9") , tr("Gi", "IEC binary prefix for 2^30") },
> + { KFormat::UnitPrefix::Tera, 1e12, bpow(40) , tr("T", "SI prefix for 10^12") , tr("Ti", "IEC binary prefix for 2^40") },
Extra space after `}`?
REPOSITORY
R244 KCoreAddons
BRANCH
translate_units
REVISION DETAIL
https://phabricator.kde.org/D15829
To: astippich, bruns, safaalfulaij
Cc: kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20181007/d56195dc/attachment-0001.html>
More information about the Kde-frameworks-devel
mailing list