Translation update done using Pootle.
[wammu.git] / admin / new-lang
blobad839a2806fbd6ead9dbc0c1db6ef66a8f7f8406
1 #!/bin/sh
2 # vim: expandtab sw=4 ts=4 sts=4:
4 set -e
6 if [ -z "$1" ] ; then
7 echo "Usage: ./admin/new-lang ll"
8 exit 1
9 fi
11 mkdir locale/$1
13 for loc in wammu docs ; do
14 msginit -i locale/$loc.pot -o locale/$1/$loc.po -l $1 --no-translator
15 done
17 sed -i "s/\(.*po4a_langs.*\)/\1 $1/" admin/po4a.config
19 git add locale/$1