summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrans Pop <elendil@planet.nl>2009-10-27 14:47:11 +0000
committerFrans Pop <elendil@planet.nl>2009-10-27 14:47:11 +0000
commitb305316c7f78e353c60833e9bf8376e717a5a6ff (patch)
tree799e246c6a75d67fc082a1f7337c1d4527932bfd
parenta46458474920663818fff492b288c16b1aa4bddc (diff)
downloadinstallation-guide-b305316c7f78e353c60833e9bf8376e717a5a6ff.zip
Use standard width for PO files
When updating PO files, set them to a standard width of 79 characters (same as used for l10n-sync for D-I master PO files).
-rw-r--r--debian/changelog2
-rwxr-xr-xscripts/update_po4
2 files changed, 4 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index d6db2fa5c..6b6559d0b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,6 +11,8 @@ installation-guide (2009xxxx) UNRELEASED; urgency=low
for "normal" 64-bit Intel systems.
* Disable the variant for the alpha architecture: it is being dropped as a
release architecture for Squeeze.
+ * When updating PO files, set them to a standard width of 79 (same as used
+ for l10n-sync for D-I master PO files).
-- Frans Pop <fjp@debian.org> Tue, 01 Sep 2009 19:01:59 +0200
diff --git a/scripts/update_po b/scripts/update_po
index 0a8fdd7c4..7871a6060 100755
--- a/scripts/update_po
+++ b/scripts/update_po
@@ -39,11 +39,11 @@ for POT in `find $PODIR/pot -name "*.pot"` ; do
echo "- updating $BASENAME.po"
if [ -z "$PO_USEBUILD" ] ; then
# Update existing PO file
- msgmerge -q -U --previous --backup=simple $PO $POT
+ msgmerge -q -U --previous --backup=simple -w 79 $PO $POT
RC=$?
else
# Generate temporary PO file in build directory
- msgmerge -q $SPO $POT -o $PO
+ msgmerge -q -w 79 $SPO $POT -o $PO
RC=$?
fi
if [ $RC -ne 0 ] ; then