D25405: Fix Step infobrowser and examples localization
Yuri Chornoivan
noreply at phabricator.kde.org
Tue Nov 19 15:36:39 GMT 2019
yurchor created this revision.
yurchor added reviewers: KDE Edu, Localization.
Herald added a project: KDE Edu.
Herald added a subscriber: kde-edu.
yurchor requested review of this revision.
REVISION SUMMARY
Currently (version 19.12), all object info and examples localizations are useless. This patch fixes current way of extracting and using Step translations.
TEST PLAN
1. Extraction works. However, I'm uncertain if it is worth to have separate catalogs for object infos and examples (please, give an advice).
2. Translation (when put into the common /po dir) compiles (with an additional CMake flag -DSTEP_BUILD_TRANSLATIONS=true) and works. Translations are installed into the objinfo/<locale> dir to avoid conflicts with current lag packs. It is tested that Step can display the compiled localized HTML files.
REPOSITORY
R341 Step
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D25405
AFFECTED FILES
step/CMakeLists.txt
step/data/CMakeLists.txt
step/data/Messages.sh
step/data/examples/CMakeLists.txt
step/data/objectinfo/CMakeLists.txt
step/data/resources.qrc
step/data/tutorials/CMakeLists.txt
step/infobrowser.cc
To: yurchor, #kde_edu, #localization
Cc: kde-edu, narvaez, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20191119/00b83bb1/attachment.html>
More information about the kde-edu
mailing list