diff options
Diffstat (limited to 'lang_client/createpots.sh')
-rwxr-xr-x | lang_client/createpots.sh | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lang_client/createpots.sh b/lang_client/createpots.sh index 5f1bf64..397489f 100755 --- a/lang_client/createpots.sh +++ b/lang_client/createpots.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash function its { itstool -o ../tools/lang_client/pot/$1.pot $1.xml @@ -8,12 +8,17 @@ function its2 { itstool -o ../tools/lang_client/pot/$1.pot -i ../tools/lang_client/its/$1.xml $1.xml } +function its2dict { + itstool -o ../tools/lang_client/dict/$1.pot -i ../tools/lang_client/its/$1.xml $1.xml +} + DIR=`pwd` cd ../../client-data #its2 avatars its2 deadmessages its2 emotes +its2 groups its2 homunculuses its2 itemcolors its2 itemfields @@ -29,6 +34,7 @@ its2 skills its2 skillunits its2 stats its2 status-effects +its2dict texts cd $DIR @@ -40,3 +46,4 @@ itstool -o pot/deadmessages1.pot tmp/deadmessages.xml find ../../client-data/maps -type f -name "*.tmx" -exec ./processtmx.sh {} \; msgcat pot/*.pot > clientdata-beta.pot +msgcat dict/*.pot > clientdata-dict.pot |