summaryrefslogtreecommitdiff
path: root/scripts/update_pot
diff options
context:
space:
mode:
authorFrans Pop <elendil@planet.nl>2006-02-01 00:14:39 +0000
committerFrans Pop <elendil@planet.nl>2006-02-01 00:14:39 +0000
commit79ec723bc14c17646c78df7eb2830167a02846a6 (patch)
tree5fb89f392d980cffef5053f1dffe7033773c7c59 /scripts/update_pot
parentb56af618d98d0119d275cbcb9438229ef68756d5 (diff)
downloadinstallation-guide-79ec723bc14c17646c78df7eb2830167a02846a6.zip
Deal with changes in poxml 3.5.0
Diffstat (limited to 'scripts/update_pot')
-rwxr-xr-xscripts/update_pot5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/update_pot b/scripts/update_pot
index c72daac0a..686ee228b 100755
--- a/scripts/update_pot
+++ b/scripts/update_pot
@@ -34,7 +34,12 @@ for XML in `find $SOURCEDIR -name "*.xml"` ; do
POT=$(basename $XML .xml).pot
# Let's also set a proper POT-Creation-Date
+ # The hack to set the POT creation date is no longer needed for poxml 3.5.0
+ # But the authors of poxml also decided to set some nice KDE defaults we
+ # don't want...
xml2pot $XML | \
+ sed "s/^.*Report-Msgid-Bugs-To:.*$/\"Report-Msgid-Bugs-To: debian-boot@lists.debian.org\\\n\"/" | \
+ sed "s/^.*Language-Team:.*$/\"Language-Team: LANGUAGE <LL@li.org>\\\n\"/" | \
sed "s/^.*POT-Creation-Date:.*$/\"POT-Creation-Date: $(date -u "+%F %R%z")\\\n\"/" \
>$PODIR/pot/$POT.new
RC=$?