projects
/
enc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0cef3cd
)
zh-hans: update Makefile.gen
author
Tom
<hexuxin@foxmail.com>
Thu, 28 Mar 2019 10:30:17 +0000
(18:30 +0800)
committer
Tom
<hexuxin@foxmail.com>
Thu, 28 Mar 2019 10:30:17 +0000
(18:30 +0800)
Makefile.gen
patch
|
blob
|
blame
|
history
diff --git
a/Makefile.gen
b/Makefile.gen
index 644f983e4ebf244233f6b3026c209d330630fdc3..72891ceb9ab2be8635c8a2d76fd3239994d64cc7 100644
(file)
--- 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\
+ <link rel="stylesheet" href="//static.fsf.org/nosvn/enc-dev0/css/main.zh-hans.css" />' $@