Skip to content

Commit

Permalink
Fix invocation of compilemessages (#197)
Browse files Browse the repository at this point in the history
* Fix invocation of compilemessages

Broken in bfefe9c
  • Loading branch information
pguyot committed May 4, 2021
1 parent 18591b7 commit 05ad1c8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

set -xuo pipefail
trap 's=$?; echo "$0: Error on line "$LINENO": $BASH_COMMAND"; exit $s' ERR
IFS=$'\n\t'

# makerfaire2018: Paris Maker Faire 2018 card, only fits Nabaztag V1.
# (default): Ulule 2019 card, fits Nabaztag V1 and Nabaztag V2. Features a microphone. Button is on GPIO 17.
Expand Down Expand Up @@ -279,7 +278,7 @@ if [ $upgrade -eq 1 ]; then
fi
venv/bin/python manage.py migrate

all_locales="--locale=fr_FR --locale=de_DE --locale=en_US --locale=en_GB --locale=it_IT --locale=es_ES --locale=ja_jp --locale=pt_BR"
all_locales="-l fr_FR -l de_DE -l en_US -l en_GB -l it_IT -l es_ES -l ja_jp -l pt_BR -l de -l en -l es -l fr -l it -l ja -l pt"

if [ $upgrade -eq 0 ]; then
venv/bin/django-admin compilemessages ${all_locales}
Expand Down

0 comments on commit 05ad1c8

Please sign in to comment.