Review Request 127002: Add KLocalizedString::getLanguages()

Pino Toscano pino at kde.org
Sun Feb 7 08:28:56 UTC 2016


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

Review request for KDE Frameworks and Chusslove Illich.


Repository: ki18n


Description
-------

Easy way to get the ordered list of languages where translations are looked into.

This makes it possible to lookup other kind of translated resources using the same list of priorities of languages.

(Note: I'm not sure about which name fits better, i.e. `languages()` or `getLanguages()`; I chose the latter as the former could be mistaken as non-static method of `KLocalizedString`.)


Diffs
-----

  src/klocalizedstring.h 87030a443d36c3e9ca57e1e61ba1cba13f39bbee 
  src/klocalizedstring.cpp 20b2bd46d6748b540e4a0bc9b3c3168e55cf47f3 

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


Testing
-------

Builds, tests pass.


Thanks,

Pino Toscano

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20160207/02c376b6/attachment.html>


More information about the Kde-frameworks-devel mailing list