generate_pofiles.sh 262 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#!/bin/bash

set -e
set -x

IGNORE_DIRS='virtenv build'

ignore=''

for d in ${IGNORE_DIRS}; do
    ignore="${ignore} --ignore=${d}"
done

./manage.py makemessages -l de ${ignore}
./manage.py makemessages -l fr ${ignore}
./manage.py makemessages -l en ${ignore}