From 42b07fea6ae87e5093664a68dc47dff3881fc093 Mon Sep 17 00:00:00 2001 From: pvincent Date: Tue, 23 Aug 2022 21:49:19 +0400 Subject: [PATCH] lang owend by www-data --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index c7d0a16..9b45533 100644 --- a/Makefile +++ b/Makefile @@ -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)