mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-22 11:23:10 +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:
parent
3c88b20a6b
commit
b0b1687002
12 changed files with 6 additions and 1 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -5,7 +5,7 @@ __pycache__/
|
|||
*.swp
|
||||
|
||||
# Translations
|
||||
#*.mo TODO
|
||||
*.mo
|
||||
*.pot
|
||||
|
||||
# Django stuff
|
||||
|
|
|
@ -17,3 +17,4 @@ libjs-bootstrap
|
|||
fonts-font-awesome
|
||||
graphviz
|
||||
git
|
||||
gettext
|
||||
|
|
Binary file not shown.
|
@ -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.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in a new issue