From e936cdc6c3bc9271485ec6fc765d7bdaa22b8cd8 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Wed, 25 May 2016 21:25:41 +0000 Subject: Make create_xml use original english text for fuzzy entries. --- debian/changelog | 4 ++++ scripts/create_xml | 14 +++++++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 04d18965f..acec8829f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -10,6 +10,10 @@ installation-guide (20160408) UNRELEASED unstable; urgency=medium * Improve package description of MIPS and PowerPC manuals. Thanks Mathieu Malaterre. + [ Ryuunosuke Ayanokouzi ] + * Make create_xml use original english text for fuzzy entries. Closes: + #825270. + installation-guide (20160121) unstable; urgency=medium [ Martin Michlmayr ] diff --git a/scripts/create_xml b/scripts/create_xml index 5a4ce3721..dda6705c2 100755 --- a/scripts/create_xml +++ b/scripts/create_xml @@ -59,7 +59,19 @@ for ORIGXML in `find $SOURCEDIR -name "*.xml"` ; do echo "Error: error $RC while executing msgconv" continue fi - po2xml $ORIGXML /tmp/tmp.po.$$ > $XML + msgattrib \ + --translated \ + --no-fuzzy \ + --output-file="/tmp/tmp.po2.$$" \ + "/tmp/tmp.po.$$" \ + ; + RC=$? + if [ $RC -ne 0 ] ; then + RET=$RC + echo "Error: error $RC while executing msgattrib" + continue + fi + po2xml $ORIGXML /tmp/tmp.po2.$$ > $XML RC=$? if [ $RC -ne 0 ] ; then RET=$RC -- cgit debian/1.2.3+git2.25.1-1-2-gaceb0