Skip to content

Commit

Permalink
Use Galette console to extract Twig templates strings to translate
Browse files Browse the repository at this point in the history
refs #1915
  • Loading branch information
trasher committed Mar 5, 2025
1 parent 53e9241 commit 1156ce1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lang/Makefile
Original file line number Diff line number Diff line change
@@ -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) \
Expand All @@ -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:"
Expand Down

0 comments on commit 1156ce1

Please sign in to comment.