From a6f7c070529d1a8d24e2aaa3c0b51d228fcbebc3 Mon Sep 17 00:00:00 2001 From: Quentin BEY Date: Wed, 12 Mar 2025 13:50:09 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B(i18n)=20fix=20`i18n-generate`=20ma?= =?UTF-8?q?ke=20command?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The `i18n-generate` make command was not downloading the pot from crowdin before the Django `makemessages` resulting in a pot file never updated. --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 984d1eb..71c7395 100644 --- a/Makefile +++ b/Makefile @@ -212,6 +212,7 @@ back-i18n-compile: ## compile the gettext files .PHONY: back-i18n-compile back-i18n-generate: ## create the .pot files used for i18n +back-i18n-generate: crowdin-download-sources @$(MANAGE) makemessages -a --keep-pot .PHONY: back-i18n-generate @@ -269,6 +270,7 @@ i18n-compile: \ i18n-generate: ## create the .pot files and extract frontend messages i18n-generate: \ + crowdin-download-sources \ back-i18n-generate \ frontend-i18n-generate .PHONY: i18n-generate