D29878: Add support for multiple tags in XmlMessages.sh
Andrius Štikonas
noreply at phabricator.kde.org
Sun Oct 25 18:34:18 GMT 2020
stikonas created this revision.
stikonas added a reviewer: aacid.
stikonas requested review of this revision.
REVISION SUMMARY
Tags are extracted from XML files and stored in msgctxt entry of pot file.
This will invalidate existing translations but there aren't too many of them (only 20 very small files).
TEST PLAN
Tested extraction with extract-xml script with two tags (message, description).
Created one po file corresponding to pot file.
Injected translation back by running `python fillxmlfrompo.py ~/repositories/kde/kpmcore/src/util/org.kde.kpmcore.externalcommand.policy ~/repositories/kde/kpmcore/src/po kpmcore kpmcore._policy_.po`
REVISION DETAIL
https://phabricator.kde.org/D29878
AFFECTED FILES
extract-xml.sh
fillxmlfrompo.py
To: stikonas, aacid
Cc: kde-i18n-doc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-i18n-doc/attachments/20201025/8bee552b/attachment.htm>
More information about the kde-i18n-doc
mailing list