1 # get translated strings from images
2 # see description in the Makefile of the root directory of ESD
4 PO4A_FLAGS
=-M utf-8
-f xml
-o porefs
=none \
5 --package-name emailselfdefense-svg
--package-version
$version
7 PO4A_TRANSLATE_FLAGS
=-M utf-8
-f xhtml
--keep
30
13 section5-02-use-it-well.svg\
14 step1a-install-wizard.svg\
15 step1b-01-tools-addons.svg\
17 step1b-03-install.svg\
18 step2a-01-make-keypair.svg\
21 #esd-svg-temp.pot: $(foreach f,$(SRC),svg/en/$f) gnupg-infographic.svg
22 # po4a-gettextize $(PO4A_FLAGS) $(foreach f,$+,-m $f) -p $@
24 # list of languages that use the PO files (add yours if you migrate to PO)
28 all: $(foreach l
,$(LANG
),$(foreach f
,$(SRC
),svg
/$l/$f)) gnupg-infographic-
$(LANG
).svg
30 # recipes for the individual pages in each language
32 svg
/$(LANG
)/%.svg
: esd-svg-
$(LANG
).po
$(foreach f
,$(SRC
),svg
/en
/$f)
33 po4a-translate
$(PO4A_TRANSLATE_FLAGS
) -m svg
/en
/$*.svg
-p
$< -l
$@
35 gnupg-infographic-
$(LANG
).svg
: esd-svg-
$(LANG
).po gnupg-infographic.svg
36 po4a-translate
$(PO4A_TRANSLATE_FLAGS
) -m gnupg-infographic.svg
-p
$< -l
$@
38 # gnupg-infographic.svg: gnupg-infographic.zip