From: Tom Date: Thu, 28 Mar 2019 10:30:17 +0000 (+0800) Subject: zh-hans: update Makefile.gen X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=80ac80423a0eee5dc5e87dba03ef93efd57778aa;p=enc.git zh-hans: update Makefile.gen --- 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\ + ' $@