8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-10-05 18:42:12 +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 :
`python3 manage.py compilemessages`
This commit is contained in:
Alexandre Iooss 2018-09-22 15:00:21 +02:00
parent 3c88b20a6b
commit b0b1687002
12 changed files with 6 additions and 1 deletions

2
.gitignore vendored
View file

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

View file

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

View file

@ -316,6 +316,10 @@ update_django() {
echo "Collecting web frontend statics ..."
python3 manage.py collectstatic --noinput
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.