mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-12-23 23:43:47 +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:
parent
d9dc5fc7ce
commit
29fb5dc848
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