]> pere.pagekite.me Git - text-madewithcc.git/commitdiff
Make life easier for translators when translating image references.
authorPetter Reinholdtsen <pere@hungry.com>
Mon, 12 Mar 2018 07:41:43 +0000 (07:41 +0000)
committerPetter Reinholdtsen <pere@hungry.com>
Mon, 12 Mar 2018 07:41:43 +0000 (07:41 +0000)
Makefile

index ebedadfbb96d490c96db3d2b8bbd94c5d5df5218..c179a3c17856fed6237a8e3c925160a1ef17ee43 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -54,7 +54,11 @@ $(SOURCE).md: $(SOURCE).odt fixup.rb
 pot: po/mwcc.pot po/*/mwcc.po
 po/mwcc.pot: $(SOURCE).xml
        TEMP=`tempfile -p mwcc` && \
-       po4a-gettextize -f docbook -m $(SOURCE).xml -p $$TEMP -M utf-8 --package-name 'Made with Creative Commons' --package-version $(VERSION) && \
+       po4a-gettextize -f docbook -m $(SOURCE).xml -p $$TEMP -M utf-8 \
+               -o nodefault="<imageobject>" \
+               -o untranslated="<imageobject>" \
+               --package-name 'Made with Creative Commons' \
+               --package-version $(VERSION) && \
        echo '# MADE WITH CREATIVE COMMONS' > $@ && \
        echo '# Copyright (C) 2017 by Creative Commons.' >> $@ && \
        echo '# This file is published under a Creative Commons Attribution-ShareAlike license (CC BY-SA), version 4.0' >> $@ && \