aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-09-14 08:24:29 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-09-14 08:24:29 +0200
commitcf8f5749a0eba39ba8a47e0eb7a63d701a2112a6 (patch)
tree117a02fc0d4d17bf78ec2112fc939e5fe51527ae
parentee1af17cec033f39185bb40af7a1bff5df73d4e0 (diff)
downloadayatana-webmail-cf8f5749a0eba39ba8a47e0eb7a63d701a2112a6.tar.gz
ayatana-webmail-cf8f5749a0eba39ba8a47e0eb7a63d701a2112a6.tar.bz2
ayatana-webmail-cf8f5749a0eba39ba8a47e0eb7a63d701a2112a6.zip
update-po.sh: Also catch multi-file source file references.
-rwxr-xr-xupdate-po.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/update-po.sh b/update-po.sh
index 6a6ced8..097ea81 100755
--- a/update-po.sh
+++ b/update-po.sh
@@ -28,7 +28,9 @@ cat LINGUAS | while read lingua; do
intltool-update --gettext-package ${GETTEXT_DOMAIN} $(basename ${lingua})
fi
- sed -e 's@\.\.@@g' \
+ sed -E \
+ -e 's@^#: \.\./@#: @g' \
+ -e 's@(:[0-9]+) \.\./@\1 @g' \
-i ${lingua}.po
done