From 0c3e83a34bb8dc32eba563aa0abf88f54581bfd0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Th=C3=A9r=C3=A8se=20Godefroy?= Date: Tue, 26 Sep 2017 13:30:01 +0200 Subject: [PATCH] Makefile.gen: update - Remove "current" class adjustment (now in PO). - Remove img localization for es, ja and sq (workshop-section1.png doesn't exist in static/[lang]/img/screenshots/). --- Makefile.gen | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/Makefile.gen b/Makefile.gen index 8b4f4ab3..1e95614d 100644 --- a/Makefile.gen +++ b/Makefile.gen @@ -57,47 +57,33 @@ all: $(foreach l,$(LANG),$(foreach f,$(SRC),$l/$f)) #
  • English - v4.0
  • |' $@ cs/%.html: esd-cs.po $(foreach f,$(SRC),en/$f) -po4a-translate $(PO4A_FLAGS) -m en/$*.html -p $< -l $@ - sed -i 's|
  • English - v4.0
  • |
  • English - v4.0
  • |' $@ sed -i 's|img/en/|img/cs/|g' $@ # Persian fa/%.html: esd-fa.po $(foreach f,$(SRC),en/$f) -po4a-translate $(PO4A_FLAGS) -m en/$*.html -p $< -l $@ sed -i 's|English - v4.0|
  • English - v4.0
  • |' $@ - sed -i 's|
  • فارسی - v4.0
  • |
  • فارسی - v4.0
  • |' $@ sed -i '/\/css\/main.css/a\ ' $@ # Japanese ja/%.html: esd-ja.po $(foreach f,$(SRC),en/$f) -po4a-translate $(PO4A_FLAGS) -m en/$*.html -p $< -l $@ -# This replacement is already in the PO. -# sed -i 's|
  • English - v4.0
  • |
  • English - v4.0
  • |' $@ -# sed -i 's|
  • فارسی - v4.0
  • |
  • فارسی - v4.0
  • |' $@ - sed -i 's|img/en/|img/ja/|g' $@ # Spanish es/%.html: esd-es.po $(foreach f,$(SRC),en/$f) -po4a-translate $(PO4A_FLAGS) -m en/$*.html -p $< -l $@ -# This replacement is already in the PO. -# sed -i 's|
  • English - v4.0
  • |
  • English - v4.0
  • |' $@ -# sed -i 's|
  • فارسی - v4.0
  • |
  • فارسی - v4.0
  • |' $@ - sed -i 's|img/en/|img/es/|g' $@ + sed -i '/\/css\/main.css/a\ + ' $@ # Chinese (Han) zh-hans/%.html: esd-zh-hans.po $(foreach f,$(SRC),en/$f) -po4a-translate $(PO4A_FLAGS) --keep 0 -m en/$*.html -p $< -l $@ sed -i 's|
  • English - v4.0
  • |
  • English - v4.0
  • |' $@ sed -i 's|
  • 简体中文 - v4.0
  • |
  • 简体中文 - v4.0
  • |' $@ -# sed -i 's|img/en/|img/zh-hans/|g' $@ # (copy the recipe for your language if you migrate to PO) # Albanian sq/%.html: esd-sq.po $(foreach f,$(SRC),en/$f) -po4a-translate $(PO4A_FLAGS) -m en/$*.html -p $< -l $@ -# This replacement is already in the PO. -# sed -i 's|
  • English - v4.0
  • |
  • English - v4.0
  • |' $@ -# sed -i 's|
  • Shqip - v4.0
  • |
  • Shqip - v4.0
  • |' $@ - sed -i 's|img/en/|img/sq/|g' $@ -- 2.25.1