From 1156ce186eb984265558d19bbde69e486ed2e9e7 Mon Sep 17 00:00:00 2001 From: Johan Cwiklinski Date: Wed, 5 Mar 2025 09:02:18 +0100 Subject: [PATCH] Use Galette console to extract Twig templates strings to translate refs #1915 --- lang/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lang/Makefile b/lang/Makefile index 468dcd0..0e0ac24 100644 --- a/lang/Makefile +++ b/lang/Makefile @@ -1,4 +1,4 @@ -INSTALLDIR = . +INSTALLDIR = $(shell pwd) LANGUAGES = `find ./ -name "paypal_*.po" -print | sed 's|^\./paypal_\(.*\).po|\1|'` DOMAINS = paypal PHP_SOURCES = $(shell find ../ -maxdepth 1 -name \*.php) \ @@ -8,7 +8,7 @@ PHP_SOURCES = $(shell find ../ -maxdepth 1 -name \*.php) \ all : extract mo twig : - ../bin/twig-cache + cd ../../../../ && bin/console galette:twig-cache $(shell basename $(abspath $(CURDIR)/..)) && cd ${INSTALLDIR} po : @echo "Generating PO files:"