From e0fc35c191f762892a6a7229c8882185adad50fd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Th=C3=A9r=C3=A8se=20Godefroy?= Date: Mon, 13 May 2019 16:59:17 +0200 Subject: [PATCH] Add a recipe for tr. --- Makefile.gen | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Makefile.gen b/Makefile.gen index 72891ceb..1fe55102 100644 --- a/Makefile.gen +++ b/Makefile.gen @@ -108,3 +108,11 @@ zh-hans/%.html: esd-zh-hans.po $(foreach f,$(SRC),en/$f) sed -i 's|img/en/|img/zh-hans/|g' $@ sed -i '/\/css\/main.css/a\ ' $@ + +# tr - Turkish +tr/%.html: esd-tr.po $(foreach f,$(SRC),en/$f) + -po4a-translate $(PO4A_FLAGS) --keep 0 -m en/$*.html -p $< -l $@ + sed -i 's|img/en/|img/tr/|g' $@ + sed -i '/\/css\/main.css/a\ + ' $@ + -- 2.25.1