* Translations: Move country names to a new resource bundle

This commit is contained in:
zzz
2013-10-14 15:29:12 +00:00
parent 0c0a25b038
commit 3ec602865d
54 changed files with 15811 additions and 22706 deletions

View File

@ -32,19 +32,6 @@ fi
# Fast mode - update ondemond
# set LG2 to the language you need in envrionment varibales to enable this
#
# generate strings/Countries.java from ../../../installer/resources/countries.txt
#
CFILE=../../../installer/resources/countries.txt
# add ../java/ so the refs will work in the po file
JFILE=../java/build/Countries.java
if [ $CFILE -nt $JFILE -o ! -s $JFILE ]
then
mkdir -p build
echo '// Automatically generated pseudo-java for xgettext - do not edit' > $JFILE
echo '// Translators may wish to translate a few of these, do not bother to translate all of them!!' >> $JFILE
sed -e '/^#/d' -e 's/..,\(..*\)/_("\1");/' $CFILE >> $JFILE
fi
# list specific files in core/ and router/ here, so we don't scan the whole tree
ROUTERFILES="\
@ -65,7 +52,7 @@ ROUTERFILES="\
../../../router/java/src/net/i2p/router/transport/UPnPManager.java"
# add ../java/ so the refs will work in the po file
JPATHS="../java/src ../jsp/WEB-INF ../java/strings $JFILE $ROUTERFILES"
JPATHS="../java/src ../jsp/WEB-INF ../java/strings $ROUTERFILES"
for i in ../locale/messages_*.po
do
# get language