8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-24 20:33:11 +00:00

Remove generated locales from git tree

Now compiled locale files (.mo) are generated on the server side.
This cleans up the git tree and make translation contributions much
easier to merge.

Please note that you will need to generate those files after each pull,
so remember to execute install_re2o.sh.
This commit is contained in:
Alexandre Iooss 2018-12-10 13:14:56 +01:00
parent d9dc5fc7ce
commit 29fb5dc848
12 changed files with 6 additions and 1 deletions

2
.gitignore vendored
View file

@ -5,7 +5,7 @@ __pycache__/
*.swp *.swp
# Translations # Translations
#*.mo TODO *.mo
*.pot *.pot
# Django stuff # Django stuff

View file

@ -17,3 +17,4 @@ libjs-bootstrap
fonts-font-awesome fonts-font-awesome
graphviz graphviz
git git
gettext

View file

@ -316,6 +316,10 @@ update_django() {
echo "Collecting web frontend statics ..." echo "Collecting web frontend statics ..."
python3 manage.py collectstatic --noinput python3 manage.py collectstatic --noinput
echo "Collecting web frontend statics: Done" echo "Collecting web frontend statics: Done"
echo "Generating locales ..."
python3 manage.py compilemessages
echo "Generating locales: Done"
} }

Binary file not shown.

Binary file not shown.