Skip to content

Commit

Permalink
Fix pybabel path on update's script
Browse files Browse the repository at this point in the history
  • Loading branch information
20cents committed Jul 24, 2019
1 parent abceac4 commit cacc280
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions update_app.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ if [[ "$response" =~ ^([yY][eE][sS]|[yY])+$ ]]; then
pip install wheel
pip install -r ./backend/requirements.txt

pybabel extract -F "$app_dir_name/backend/babel.cfg" -o "$app_dir_name/backend/i18n/messages.pot" .
pybabel update -i "$app_dir_name/backend/i18n/messages.pot" -d "$app_dir_name/backend/i18n"
pybabel compile -d "$app_dir_name/backend/i18n"
pybabel extract -F ./backend/babel.cfg -o ./backend/i18n/messages.pot ./backend
pybabel update -i ./backend/i18n/messages.pot -d ./backend/i18n
pybabel compile -d ./backend/i18n

deactivate
cd ../
Expand Down

0 comments on commit cacc280

Please sign in to comment.