maposmatic/scripts/update-translations.sh

17 wiersze
204 B
Bash
Executable File

#! /bin/bash
basedir=$(realpath $(dirname $0)/../)
echo "Updating translations in '$basedir'"
cd $basedir
./manage.py makemessages --all --keep-pot -e html,txt,js,py
./manage.py compilemessages