Skip to content

Commit 3d722a9

Browse files
committed
Use Galette console to extract Twig templates strings to translate
refs #1915
1 parent 012c97a commit 3d722a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lang/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
INSTALLDIR = .
1+
INSTALLDIR = $(shell pwd)
22
LANGUAGES = `find ./ -name "auto_*.po" -print | sed 's|^\./auto_\(.*\).po|\1|'`
33
DOMAINS = auto
44
PHP_SOURCES = $(shell find ../ -maxdepth 1 -name \*.php) \
@@ -8,7 +8,7 @@ PHP_SOURCES = $(shell find ../ -maxdepth 1 -name \*.php) \
88
all : extract mo
99

1010
twig :
11-
../bin/twig-cache
11+
pushd ../../../../ && bin/console galette:twig-cache $(shell basename $(abspath $(CURDIR)/..))
1212

1313
po :
1414
@echo "Generating PO files:"

0 commit comments

Comments
 (0)