From 80ac80423a0eee5dc5e87dba03ef93efd57778aa Mon Sep 17 00:00:00 2001 From: Tom Date: Thu, 28 Mar 2019 18:30:17 +0800 Subject: [PATCH] zh-hans: update Makefile.gen --- Makefile.gen | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile.gen b/Makefile.gen index 644f983e..72891ceb 100644 --- a/Makefile.gen +++ b/Makefile.gen @@ -105,4 +105,6 @@ sq/%.html: esd-sq.po $(foreach f,$(SRC),en/$f) # zh-han - 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|img/en/|img/zh-hans/|g' $@ + sed -i '/\/css\/main.css/a\ + ' $@ -- 2.25.1