projects
/
enc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10b9265
)
Add a recipe for tr.
author
Thérèse Godefroy
<godef.th@free.fr>
Mon, 13 May 2019 14:59:17 +0000
(16:59 +0200)
committer
Thérèse Godefroy
<godef.th@free.fr>
Mon, 13 May 2019 15:01:47 +0000
(17:01 +0200)
Makefile.gen
patch
|
blob
|
blame
|
history
diff --git
a/Makefile.gen
b/Makefile.gen
index 72891ceb9ab2be8635c8a2d76fd3239994d64cc7..1fe551029aad97991a4bc1a71afebffb0a37d99c 100644
(file)
--- a/
Makefile.gen
+++ b/
Makefile.gen
@@
-108,3
+108,11
@@
zh-hans/%.html: esd-zh-hans.po $(foreach f,$(SRC),en/$f)
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" />' $@
+
+# tr - Turkish
+tr/%.html: esd-tr.po $(foreach f,$(SRC),en/$f)
+ -po4a-translate $(PO4A_FLAGS) --keep 0 -m en/$*.html -p $< -l $@
+ sed -i 's|img/en/|img/tr/|g' $@
+ sed -i '/\/css\/main.css/a\
+ <link rel="stylesheet" href="//static.fsf.org/nosvn/enc-dev0/css/main.tr.css" />' $@
+