aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xupdate-pot.sh4
1 files changed, 3 insertions, 1 deletions
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