From: Thérèse Godefroy Date: Sat, 14 Aug 2021 09:03:43 +0000 (+0200) Subject: Makefile.gen: update the Spanish recipe. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=05e08e3b9814571e0fbe8f2903c461d42f00f00c;p=enc.git Makefile.gen: update the Spanish recipe. --- diff --git a/Makefile.gen b/Makefile.gen index 68b6202c..82f77516 100644 --- a/Makefile.gen +++ b/Makefile.gen @@ -71,16 +71,16 @@ es/%.html: esd-es.po $(foreach f,$(SRC),en/$f) -po4a-translate $(PO4A_FLAGS) -m en/$*.html -p $< -l $@ sed -i '/\/css\/main.css/a\ ' $@ - 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\ ' $@ - 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)