From 05e08e3b9814571e0fbe8f2903c461d42f00f00c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Th=C3=A9r=C3=A8se=20Godefroy?= Date: Sat, 14 Aug 2021 11:03:43 +0200 Subject: [PATCH] Makefile.gen: update the Spanish recipe. --- Makefile.gen | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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) -- 2.25.1