Package: devscripts
Version: 2.10.68
Severity: normal
Tags: patch l10n

Hi,

Thanks for having fixed #597782 so quickly.

While building the package with the updated PO file, I noticed that the
translated devscripts(1) manual page doesn't provide the list of
scripts. The attached patch fix this issue, and also provides a
translated “Debian Utilities” string for POD-based manual pages.

Since this fix adds some new untranslated string, I need some more time
to finish the update of the PO file, I'll provide it in within two
weeks.

Cheers

David
diff --git a/po4a/Makefile b/po4a/Makefile
index 290ce5f..32ebb86 100644
--- a/po4a/Makefile
+++ b/po4a/Makefile
@@ -4,15 +4,17 @@ GEN_TR_MAN1S := $(patsubst %.1,fr/%.fr.1,$(GEN_MAN1S))
 all: translate $(GEN_TR_MAN1S)
 
 translate:
+	$(MAKE) -C ../scripts/ devscripts.1
 	po4a --previous --no-backups devscripts-po4a.conf
 	touch translate
 clean:
+	$(MAKE) -C ../scripts/ devscripts.1
 	po4a --previous --rm-translations --no-backups devscripts-po4a.conf
-	rm -f $(GEN_TR_MAN1S) translate
+	rm -f $(GEN_TR_MAN1S) ../scripts/devscripts.1 translate
 
 fr/%.fr.1: fr/%.fr.pl translate
 	podchecker $<
-	pod2man --center=" " --release="Debian Utilities" $< > $@
+	pod2man --center=" " --release="Utilitaires Debian" $< > $@
 fr/%.fr.1: fr/%.fr.dbk translate
 	xsltproc --nonet -o $@ \
 	  /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl $<
diff --git a/po4a/devscripts-po4a.conf b/po4a/devscripts-po4a.conf
index 27eae1d..eae9d1e 100644
--- a/po4a/devscripts-po4a.conf
+++ b/po4a/devscripts-po4a.conf
@@ -62,7 +62,7 @@
 	fr:fr/debuild.fr.1 add_fr:add_fr/translator_man.add
 [type:pod] ../scripts/desktop2menu.pl \
 	fr:fr/desktop2menu.fr.pl add_fr:add_fr/translator_pod.add
-[type:man] ../scripts/devscripts.1.in \
+[type:man] ../scripts/devscripts.1 \
 	fr:fr/devscripts.fr.1 add_fr:add_fr/translator_man.add
 [type:pod] ../scripts/dget.pl \
 	fr:fr/dget.fr.pl add_fr:add_fr/translator_pod.add

Reply via email to