From 274f05187d95ff8c6de029d6c55115d092857533 Mon Sep 17 00:00:00 2001 From: Vincent Porte Date: Mon, 18 Nov 2024 15:40:52 +0100 Subject: [PATCH] chore: compilation des traductions (#809) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Description 🎸 compiler les traductions lors du déploiement de l'instance `django` sur `clevercloud` ## Type de changement 🚧 technique ### Points d'attention 🦺 mise à jour de `.gitignore` --------- Co-authored-by: François Freitag --- .github/workflows/ci.yml | 4 ++++ .gitignore | 3 +++ clevercloud/python.json | 1 + locale/fr/LC_MESSAGES/django.mo | Bin 15755 -> 0 bytes 4 files changed, 8 insertions(+) delete mode 100644 locale/fr/LC_MESSAGES/django.mo diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a97210ba1..423f8214d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -67,6 +67,10 @@ jobs: run: | python manage.py collectstatic python manage.py compress + - name: 🚧 compile translations + run: | + sudo apt-get install -y gettext + python manage.py compilemessages - name: 🚧 Check pending migrations run: python manage.py makemigrations --check --dry-run --noinput - name: 🚧 Configure bucket diff --git a/.gitignore b/.gitignore index d7e1e1605..8c9ec3308 100644 --- a/.gitignore +++ b/.gitignore @@ -13,6 +13,9 @@ ENV/ # Django stuff: *.log +# Compiled translations +*.mo + # Clever Cloud .clever.json diff --git a/clevercloud/python.json b/clevercloud/python.json index 0cc336bf8..87e97621e 100644 --- a/clevercloud/python.json +++ b/clevercloud/python.json @@ -7,6 +7,7 @@ "managetasks": [ "migrate --no-input", "collectstatic --no-input", + "compilemessages", "compress" ] } diff --git a/locale/fr/LC_MESSAGES/django.mo b/locale/fr/LC_MESSAGES/django.mo deleted file mode 100644 index e159333a8679355c07b231bb5f3ee6b0a91b65da..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 15755 zcmd6t3zS_|dB?XJ9!5hzKtV+hv>}OPCJ#{JH z-o=;S+57CXpWpZGy}#k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