Review Request 118678: [ki18n] Allow querying for translations of a specific domain
Sebastian Kügler
sebas at kde.org
Wed Jun 11 23:24:25 UTC 2014
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/118678/
-----------------------------------------------------------
(Updated June 11, 2014, 11:24 p.m.)
Status
------
This change has been discarded.
Review request for Plasma, Chusslove Illich and John Layt.
Repository: ki18n
Description
-------
Allow querying for translations of a specific domain
In the new translations KCM, we want to list available languages for the
workspace. This might, or might not be the same application domain as
the one set (current translation is different from installed
translations). In order to list the installed translations, we need to
specify that domain, independently from the one set in
KLocalizedString's global static.
With this patch, I can successfully list installed languages in the new KCM.
I'm not super-familiar with how this stuff works, there might be a better way,
in which case I'm sure you guys will enlighten me. :)
Diffs
-----
src/kcatalog.cpp 7711e9b261fc30d8faa355af9014d320275463a5
src/klocalizedstring.h 1a9fce8abcafcc8be0a2601c9062c33509dd403e
src/klocalizedstring.cpp e12d6dfa9c147ffb127f462dc5db236be0d2ff75
Diff: https://git.reviewboard.kde.org/r/118678/diff/
Testing
-------
Tested new translations KCM, languages show up.
Thanks,
Sebastian Kügler
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20140611/c504c5e0/attachment.html>
More information about the Plasma-devel
mailing list