summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorHolger Wansing <hwansing@mailbox.org>2019-08-09 22:43:24 +0200
committerHolger Wansing <hwansing@mailbox.org>2019-08-09 22:43:24 +0200
commite3fd385bedddc2f313504d3fbee181e9ffd2f638 (patch)
tree97be027afcfcd918599b62e67c0127f7bf2a9f3c /scripts
parente34abaf06984ea951a3fa0aadf4463e024c3266a (diff)
downloadinstallation-guide-e3fd385bedddc2f313504d3fbee181e9ffd2f638.zip
Add msgcat command, to ensure that po files are truncated at 79 char, even if there are no changes in the pot file (the already existing msgmerge command leaves the po files untouched in that case)
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/update_po1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/update_po b/scripts/update_po
index 7871a6060..78a9691f9 100755
--- a/scripts/update_po
+++ b/scripts/update_po
@@ -40,6 +40,7 @@ for POT in `find $PODIR/pot -name "*.pot"` ; do
if [ -z "$PO_USEBUILD" ] ; then
# Update existing PO file
msgmerge -q -U --previous --backup=simple -w 79 $PO $POT
+ msgcat -o $PO $PO
RC=$?
else
# Generate temporary PO file in build directory