projects
/
enc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57240da
)
Makefile.gen: update the French recipe.
author
Thérèse Godefroy
<godef.th@free.fr>
Fri, 13 Aug 2021 12:45:31 +0000
(14:45 +0200)
committer
Thérèse Godefroy
<godef.th@free.fr>
Fri, 13 Aug 2021 13:38:00 +0000
(15:38 +0200)
Makefile.gen
patch
|
blob
|
blame
|
history
diff --git
a/Makefile.gen
b/Makefile.gen
index 4a48acabd0adb7a3904bb57148712225f0db7f03..68b6202cf50dc1feff7f433828f57c49c0c330eb 100644
(file)
--- a/
Makefile.gen
+++ b/
Makefile.gen
@@
-129,6
+129,4
@@
fr/%.html: esd-fr.po $(foreach f,$(SRC),en/$f)
-po4a-translate $(PO4A_FLAGS) --keep 0 -m en/$*.html -p $< -l $@
sed -i '/\/css\/main.css/a\
<link rel="stylesheet" ../static/css/main.fr.css" />' $@
- sed -i 's|img/en/\([^/]\+\.png\)|img/fr/\1|g' $@
- sed -i 's|img/en/\(screenshots/section.*\.png\)|img/fr/\1|g' $@
- sed -i 's|img/en/\(screenshots/workshops.*\.png\)|img/fr/\1|g' $@
+ sed -i 's|img/en/|img/fr/|g' $@