-po4a-translate $(PO4A_FLAGS) -m en/$*.html -p $< -l $@
sed -i '/\/css\/main.css/a\
<link rel="stylesheet" href="//static.fsf.org/nosvn/enc-dev0/css/main.es.css" />' $@
- sed -i 's,static.fsf.org/nosvn/enc-dev0/img/en,static.fsf.org/nosvn/enc-dev0/img/es,g' $@
- sed -i 's,emailselfdefense.fsf.org/en/infographic.html,emailselfdefense.fsf.org/es/infographic.html,' $@
+ sed -i 's,static/img/en/\([^/]\+.png\),static/img/es/\1,g' $@
+ sed -i 's,static/img/en\(/screenshots/section.\+.png\),static/img/es\1,g' $@
+ sed -i 's,static/img/en\(/screenshots/step1a.\+.png\),static/img/es\1,g' $@
# gl - Galician
gl/%.html: esd-gl.po $(foreach f,$(SRC),en/$f)
-po4a-translate $(PO4A_FLAGS) -m en/$*.html -p $< -l $@
sed -i '/\/css\/main.css/a\
<link rel="stylesheet" href="//static.fsf.org/nosvn/enc-dev0/css/main.es.css" />' $@
- sed -i 's,static.fsf.org/nosvn/enc-dev0/img/en,static.fsf.org/nosvn/enc-dev0/img/gl,g' $@
- sed -i 's,emailselfdefense.fsf.org/en/infographic.html,emailselfdefense.fsf.org/gl/infographic.html,' $@
+ sed -i 's,static/img/en,static/img/gl,g' $@
# de - German
de/%.html: esd-de.po $(foreach f,$(SRC),en/$f)