# 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 \
# 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|<html|<html dir="rtl"|' $@
ja/%.html: esd-ja.po $(foreach f,$(SRC),en/$f)
-po4a-translate $(PO4A_FLAGS) -m en/$*.html -p $< -l $@
+# pt-br - Brazilian Portuguese
+pt-br/%.html: esd-pt-br.po $(foreach f,$(SRC),en/$f)
+ -po4a-translate $(PO4A_FLAGS) -m en/$*.html -p $< -l $@
+ sed -i '/\/donate.png" \/><\/a><\/p>/a\
+ \n<div class="fsf-emphasis"><p>Conheça também a <a\nhref="http://www.fsfla.org/ikiwiki/index.pt.html">FSFLA</a>, organização\nirmã da FSF na América Latina.</p></div>' $@
+
# sq - Albanian
sq/%.html: esd-sq.po $(foreach f,$(SRC),en/$f)
-po4a-translate $(PO4A_FLAGS) -m en/$*.html -p $< -l $@