<table><tr><td style="">stikonas created this revision.<br />stikonas added a reviewer: aacid.<br />stikonas requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D29878">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Tags are extracted from XML files and stored in msgctxt entry of pot file.</p>

<p>This will invalidate existing translations but there aren't too many of them (only 20 very small files).</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Tested extraction with extract-xml script with two  tags (message, description).<br />
Created one po file corresponding to pot file.<br />
Injected translation back by running <tt style="background: #ebebeb; font-size: 13px;">python fillxmlfrompo.py ~/repositories/kde/kpmcore/src/util/org.kde.kpmcore.externalcommand.policy ~/repositories/kde/kpmcore/src/po kpmcore kpmcore._policy_.po</tt></p></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D29878">https://phabricator.kde.org/D29878</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>extract-xml.sh<br />
fillxmlfrompo.py</div></div></div><br /><div><strong>To: </strong>stikonas, aacid<br /><strong>Cc: </strong>kde-i18n-doc<br /></div>