projects
/
enc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a285ef
)
Makefile.gen: update tr recipe.
author
Thérèse Godefroy
<godef.th@free.fr>
Wed, 21 Sep 2022 16:56:44 +0000
(18:56 +0200)
committer
Thérèse Godefroy
<godef.th@free.fr>
Wed, 21 Sep 2022 18:42:13 +0000
(20:42 +0200)
Makefile.gen
patch
|
blob
|
blame
|
history
diff --git
a/Makefile.gen
b/Makefile.gen
index 4c151bc04f4682f1f19ee9bfb82033f108ab2360..be2b044f8f80502a61ee854f4395ef4943cb1711 100644
(file)
--- a/
Makefile.gen
+++ b/
Makefile.gen
@@
-121,8
+121,7
@@
zh-hans/%.html: esd-zh-hans.po $(foreach f,$(SRC),en/$f)
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 '/alt="Bağış"/ i\
- style="width:160px"' $@
+ sed -i 's,\(alt="Bağış[^"]*"\),style="width:160px" \1,' $@
# fr - French
fr/%.html: esd-fr.po $(foreach f,$(SRC),en/$f)