From 9d9c21606b98e42e669aad8db41203e006266571 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Wed, 14 Sep 2022 08:32:02 +0200 Subject: update-pot.sh: Also catch multi-file source file references. --- update-pot.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/update-pot.sh b/update-pot.sh index bdff0c6..d1a2aae 100755 --- a/update-pot.sh +++ b/update-pot.sh @@ -27,5 +27,7 @@ mv data/usr/share/applications/ayatana-webmail.desktop.keep data/usr/share/ rm ./build -Rf rm ./data/usr/share/locale/ -Rf -sed -e 's@#: \.\./@#: @g' \ +sed -E \ + -e 's@^#: \.\./@#: @g' \ + -e 's@(:[0-9]+) \.\./@\1 @g' \ -i po/${GETTEXT_DOMAIN}.pot -- cgit v1.2.3