Browse Source

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.
Fix_Hash_Check_Very_Old_Passwd
Alexandre Iooss 7 years ago
parent
commit
29fb5dc848
  1. 2
      .gitignore
  2. 1
      apt_requirements.txt
  3. BIN
      cotisations/locale/fr/LC_MESSAGES/django.mo
  4. 4
      install_re2o.sh
  5. BIN
      logs/locale/fr/LC_MESSAGES/django.mo
  6. BIN
      machines/locale/fr/LC_MESSAGES/django.mo
  7. BIN
      preferences/locale/fr/LC_MESSAGES/django.mo
  8. BIN
      re2o/locale/fr/LC_MESSAGES/django.mo
  9. BIN
      search/locale/fr/LC_MESSAGES/django.mo
  10. BIN
      templates/locale/fr/LC_MESSAGES/django.mo
  11. BIN
      topologie/locale/fr/LC_MESSAGES/django.mo
  12. BIN
      users/locale/fr/LC_MESSAGES/django.mo

2
.gitignore

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

1
apt_requirements.txt

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

BIN
cotisations/locale/fr/LC_MESSAGES/django.mo

Binary file not shown.

4
install_re2o.sh

@ -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"
}

BIN
logs/locale/fr/LC_MESSAGES/django.mo

Binary file not shown.

BIN
machines/locale/fr/LC_MESSAGES/django.mo

Binary file not shown.

BIN
preferences/locale/fr/LC_MESSAGES/django.mo

Binary file not shown.

BIN
re2o/locale/fr/LC_MESSAGES/django.mo

Binary file not shown.

BIN
search/locale/fr/LC_MESSAGES/django.mo

Binary file not shown.

BIN
templates/locale/fr/LC_MESSAGES/django.mo

Binary file not shown.

BIN
topologie/locale/fr/LC_MESSAGES/django.mo

Binary file not shown.

BIN
users/locale/fr/LC_MESSAGES/django.mo

Binary file not shown.
Loading…
Cancel
Save