summaryrefslogtreecommitdiff
path: root/lang_client/createpots.sh
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-04-05 19:18:09 +0300
committerAndrei Karas <akaras@inbox.ru>2017-04-05 19:18:09 +0300
commitea6663e625ab1028128ee609c793f76b53d6b6ff (patch)
tree52f90f4e7c37f078624bc1de3db72baaf25e4a0f /lang_client/createpots.sh
parente0ce0198071cdf2441a7af9bc497f6018445b126 (diff)
downloadevol-tools-ea6663e625ab1028128ee609c793f76b53d6b6ff.tar.gz
evol-tools-ea6663e625ab1028128ee609c793f76b53d6b6ff.tar.bz2
evol-tools-ea6663e625ab1028128ee609c793f76b53d6b6ff.tar.xz
evol-tools-ea6663e625ab1028128ee609c793f76b53d6b6ff.zip
lang_client: add clientdata-dict.pot and scripts for update it.
Diffstat (limited to 'lang_client/createpots.sh')
-rwxr-xr-xlang_client/createpots.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/lang_client/createpots.sh b/lang_client/createpots.sh
index 5f1bf64..204168b 100755
--- a/lang_client/createpots.sh
+++ b/lang_client/createpots.sh
@@ -8,6 +8,10 @@ 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
@@ -29,6 +33,7 @@ its2 skills
its2 skillunits
its2 stats
its2 status-effects
+its2dict texts
cd $DIR
@@ -40,3 +45,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