diff options
author | Nelson Martell <nelson6e65-dev@yahoo.es> | 2015-11-08 21:04:26 -0430 |
---|---|---|
committer | Nelson Martell <nelson6e65-dev@yahoo.es> | 2015-11-08 21:04:26 -0430 |
commit | 69697219418c417728b21856277d5b4242c6ab0d (patch) | |
tree | b1b501b88460cf9f5d77a4719e84ad0a9048f68b /maps/028-1.tmx | |
parent | 15297ebaa6b286358a4b714c95fae3f84c7e3b05 (diff) | |
download | clientdata-github/fork/nelson6e65/itstool-fixes.tar.gz clientdata-github/fork/nelson6e65/itstool-fixes.tar.bz2 clientdata-github/fork/nelson6e65/itstool-fixes.tar.xz clientdata-github/fork/nelson6e65/itstool-fixes.zip |
add: ITS rules for "monsters/*.xml" files.github/fork/nelson6e65/itstool-fixes
This avoid including unnecesary strings to be translated.
Only the NAME of monster must to be translatable.
Usage:
Via "-i" command-line option.
Just run this command:
$ itstool monsters/monster*.xml -o "monsters.pot" -i "monsters/_monsters.its"
Using XLink href attribute in *.xml files.
- Add this line after root node (monsters) to ALL monster files:
<its:rules version="1.0" xmlns:its="http://www.w3.org/2005/11/its" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="_monsters.its" xlink:type="simple"/>
- Then run:
$ itstool monsters/monster*.xml -o "monsters.pot"
Diffstat (limited to 'maps/028-1.tmx')
0 files changed, 0 insertions, 0 deletions