]> granicus.if.org Git - shadow/commitdiff
Add --expand-all-entities to the call to xml2po to avoid translating the
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Mon, 26 Nov 2007 22:13:16 +0000 (22:13 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Mon, 26 Nov 2007 22:13:16 +0000 (22:13 +0000)
external entities separately.

ChangeLog
man/generate_translations.mak
man/po/Makefile.in.in

index e7b69c5e2cbe412982133261ed3ba4b731a1082e..881988bfb43ea8dbd59653e8ba6ef9cc5adffc4a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-11-26  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * man/generate_translations.mak, man/po/Makefile.in.in: Add
+       --expand-all-entities to the call to xml2po to avoid translating
+       the external entities separately.
+
 2007-11-26  Nicolas François  <nicolas.francois@centraliens.net>
 
        * man/login.defs.d/, man/login.defs.d/CHFN_RESTRICT.xml,
index 84c91dbb3ef510d57e8eb4569fa7c05a81ec3e91..c4dbc2e9b54d0da0190dffe4b29b40865aa7e0b0 100644 (file)
@@ -3,7 +3,7 @@ if ENABLE_REGENERATE_MAN
 LANG=$(notdir $(CURDIR))
 
 %.xml: ../%.xml ../po/$(LANG).po
-       xml2po -l $(LANG) -p ../po/$(LANG).po -o $@ ../$@
+       xml2po --expand-all-entities -l $(LANG) -p ../po/$(LANG).po -o $@ ../$@
        sed -i 's:\(^<refentry .*\)>:\1 lang="$(LANG)">:' $@
 
 include ../generate_mans.mak
index 0ed5f6f4d6213b395ee3dee97387a8192154aca3..07e713a072b7ebab67de104fb39c09021299bc19 100644 (file)
@@ -90,9 +90,9 @@ stamp-po: $(srcdir)/$(DOMAIN).pot
 $(DOMAIN).pot-update: $(POTFILES) $(srcdir)/POTFILES.in remove-potcdate.sed
        @tmpdir=`pwd`; \
        echo -n "cd $(top_srcdir)/man && "; \
-       echo "xml2po -o $(tmpdir)/$(DOMAIN).po $(notdir $(POTFILES))"; \
+       echo "xml2po --expand-all-entities -o $(tmpdir)/$(DOMAIN).po $(notdir $(POTFILES))"; \
        cd $(top_srcdir)/man; \
-       xml2po -o $$tmpdir/$(DOMAIN).po $(notdir $(POTFILES)); \
+       xml2po --expand-all-entities -o $$tmpdir/$(DOMAIN).po $(notdir $(POTFILES)); \
        cd $$tmpdir
        test ! -f $(DOMAIN).po || { \
          if test -f $(srcdir)/$(DOMAIN).pot; then \