From ddef485a7d13b5a2a0774e6f0f784a498f47a556 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Th=C3=A9r=C3=A8se=20Godefroy?= Date: Sun, 1 Oct 2017 11:11:22 +0200 Subject: [PATCH] Makefile.gen: add a recipe for pt-br. --- Makefile.gen | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Makefile.gen b/Makefile.gen index f5f9618f..c9066c9d 100644 --- a/Makefile.gen +++ b/Makefile.gen @@ -21,7 +21,7 @@ # In LANG add the code(s) of the language(s) you intend to translate -LANG=es +LANG=pt-br # flags for the po4a-getextize PO4A_FLAGS=-M utf-8 -f xhtml --keep 30 -o porefs=none \ @@ -47,7 +47,7 @@ all: $(foreach l,$(LANG),$(foreach f,$(SRC),$l/$f)) # NOTES # 1. You can use another recipe as a model, but be careful with global image -# localization; make sure that _all_ the images are in the static/LANG/img +# localization; make sure that _all_ images are in the static/LANG/img # subdirectory. # 2. The following modifications are essential in right to left languages: # sed -i 's|<\/a><\/p>/a\ + \n

Conheça também a FSFLA, organização\nirmã da FSF na América Latina.

' $@ + # sq - Albanian sq/%.html: esd-sq.po $(foreach f,$(SRC),en/$f) -po4a-translate $(PO4A_FLAGS) -m en/$*.html -p $< -l $@ -- 2.25.1