8
0
Fork 0
mirror of https://gitlab.federez.net/re2o/re2o synced 2024-05-16 07:36:21 +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
# 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.