5 # - to update all locales
7 # - to update one the LL locale
11 MSGMERGE=${MSGMERGE:-msgmerge}
14 for i in . .. ../..; do
15 if [ -d "$i/tortoisesvn/Languages" ]; then
20 if [ -z "$tsvn_base" ]; then
21 echo "E: You must run po-update.sh from within a TortoiseSVN source tree." >&2
27 (cd $tsvn_base/tortoisesvn/Languages &&
30 msgmerge --no-wrap -o tmp.po $i Tortoise.pot
39 while [ $# -ge 1 ]; do
43 if [ -e $tsvn_base/tortoisesvn/Languages/Tortoise_$1.po ]; then
44 langs="$langs Tortoise_$1"
46 echo "E: No such .po file 'Tortoise_$1.po'" >&2
52 for lang in $langs; do