D25984: Load translations
Kai Uwe Broulik
noreply at phabricator.kde.org
Sat Dec 14 10:59:21 GMT 2019
broulik created this revision.
broulik added reviewers: Kirigami, Frameworks, kossebau, aacid.
Herald added a project: Kirigami.
Herald added a subscriber: plasma-devel.
broulik requested review of this revision.
REVISION SUMMARY
The ECM QM Loader uses `Q_COREAPP_STARTUP_FUNCTION` which doesn't work for things loaded as plugins like QML modules.
This copies the logic over to the plugin so the translations are loaded when the QML plugin is loaded.
Not really like it, so I'm open to suggestions how to do that better in ECM or I don't know?
TEST PLAN
- The Search field in Kirigami is translated now
- The AboutPage in Kirigami is translated now
REPOSITORY
R169 Kirigami
REVISION DETAIL
https://phabricator.kde.org/D25984
AFFECTED FILES
src/kirigamiplugin.cpp
src/kirigamiplugin.h
To: broulik, #kirigami, #frameworks, kossebau, aacid
Cc: plasma-devel, fbampaloukas, GB_2, domson, dkardarakos, ngraham, apol, ahiemstra, davidedmundson, mart, hein
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20191214/02916914/attachment-0001.html>
More information about the Kde-frameworks-devel
mailing list