From 69697219418c417728b21856277d5b4242c6ab0d Mon Sep 17 00:00:00 2001 From: Nelson Martell Date: Sun, 8 Nov 2015 21:04:26 -0430 Subject: add: ITS rules for "monsters/*.xml" files. 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: - Then run: $ itstool monsters/monster*.xml -o "monsters.pot" --- monsters/_monsters.its | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 monsters/_monsters.its diff --git a/monsters/_monsters.its b/monsters/_monsters.its new file mode 100644 index 00000000..324e9852 --- /dev/null +++ b/monsters/_monsters.its @@ -0,0 +1,15 @@ + + + + + + + + + + + + Monster's name + + -- cgit v1.2.3-60-g2f50