diff options
author | Frans Pop <elendil@planet.nl> | 2008-12-02 19:12:12 +0000 |
---|---|---|
committer | Frans Pop <elendil@planet.nl> | 2008-12-02 19:12:12 +0000 |
commit | 87d54cfc51b8d4487b8b355195a83b496c6b6a70 (patch) | |
tree | db31285a523948b1c6b41c101cfc4bdb4d080a91 /scripts | |
parent | f8534d733461eb374baf6b2cf31b7eb4f31786f9 (diff) | |
download | installation-guide-87d54cfc51b8d4487b8b355195a83b496c6b6a70.zip |
Unwrap lines in PO files before filtering
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/check-preseed | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/check-preseed b/scripts/check-preseed index a3eff114d..b826562c8 100755 --- a/scripts/check-preseed +++ b/scripts/check-preseed @@ -48,9 +48,11 @@ tmp_trans=$(mktemp -p /tmp preseed_trans.XXXXXX) if [ -d "po/$lang" ]; then cd po/$lang - sed -n "/^msgid/,/^msgstr/ p" preseed.po | grep -v msgstr | \ + msgattrib --no-wrap preseed.po | \ + sed -n "/^msgid/,/^msgstr/ p" | grep -v msgstr | \ filter_preseed >$tmp_orig - sed -n "/^msgstr/,/^$/ p" preseed.po | \ + msgattrib --no-wrap preseed.po | \ + sed -n "/^msgstr/,/^$/ p" | \ filter_preseed >$tmp_trans else filter_preseed <en/appendix/preseed.xml >$tmp_orig |