lang owend by www-data

This commit is contained in:
pvincent
2022-08-23 21:49:19 +04:00
parent 04a526e728
commit 42b07fea6a
+4 -2
View File
@@ -69,12 +69,14 @@ i18n:
#compile templates in each language, required for production env.
templates:
mkdir -p lang/master/tmp
haxe cagette.hxml -D i18n_generation
@make LANG=fr ctemplates
msgfmt www/lang/texts_fr.po -o www/lang/texts_fr.mo
mkdir -p lang/master/tmp
chown www-data:www-data -R www
chown www-data:www-data -R lang/fr
chown www-data:www-data -R lang
ctemplates:
(cd lang/$(LANG)/tpl; temploc2 -macros macros.mtt -output ../tmp/ *.mtt */*.mtt */*/*.mtt)