Implement translation of AppData file.

Use the ITS rules file from KDE for itstool:

https://websvn.kde.org/trunk/l10n-kf5/scripts/as-metainfo.its?revision=1395611&view=markup
This commit is contained in:
Nils Philippsen
2015-11-06 16:57:39 +01:00
parent c3398784e7
commit 82f3e6bc3c
3 changed files with 48 additions and 1 deletions

8
tools/as-metainfo.its Normal file
View File

@@ -0,0 +1,8 @@
<its:rules
xmlns:its="http://www.w3.org/2005/11/its"
version="1.0">
<its:translateRule translate="no" selector="/component"/>
<its:translateRule translate="yes"
selector="/component/name | /component/summary |
/component/description | /component/screenshots/screenshot/caption | /component/developer_name"/>
</its:rules>