diff options
-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 |