diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2022-09-14 08:24:29 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2022-09-14 08:24:29 +0200 |
commit | cf8f5749a0eba39ba8a47e0eb7a63d701a2112a6 (patch) | |
tree | 117a02fc0d4d17bf78ec2112fc939e5fe51527ae | |
parent | ee1af17cec033f39185bb40af7a1bff5df73d4e0 (diff) | |
download | ayatana-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-x | update-po.sh | 4 |
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 |