weblate/scripts/add-lang
Michal Čihař cfb4ef9cb0 Fix path to locales
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-01-08 17:43:51 +01:00

8 lines
258 B
Bash
Executable file

#!/bin/sh
set -e
./manage.py makemessages --keep-pot -l $1 -i 'repos/*' -i 'docs/*' -i 'examples/*'
./manage.py makemessages --keep-pot -l $1 -i 'repos/*' -i 'docs/*' -i 'examples/*' -d djangojs
git add weblate/locale/$1/
git commit -m "Added $1 language"