aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xupdate-po.sh3
-rwxr-xr-xupdate-pot.sh1
2 files changed, 3 insertions, 1 deletions
diff --git a/update-po.sh b/update-po.sh
index 59ad5c4..2f4377e 100755
--- a/update-po.sh
+++ b/update-po.sh
@@ -29,10 +29,11 @@ cat LINGUAS | while read lingua; do
fi
sed -e 's/\.xml\.in\.in\.h:/.xml.in.in:/g' \
- -e 's/\.xml\.in\.h:/.xml.in:/g' \
+ -e 's/\.xml\.in\.h:/.xml.in:/g' \
-e 's/\.ini\.in\.h:/.ini.in:/g' \
-e 's/\.xml\.h:/.xml:/g' \
-e 's/\.ini\.h:/.ini:/g' \
+ -e 's@#: \.\./@#: @g' \
-i ${lingua}.po
done
diff --git a/update-pot.sh b/update-pot.sh
index db9c893..ae7bb10 100755
--- a/update-pot.sh
+++ b/update-pot.sh
@@ -23,4 +23,5 @@ sed -e 's/\.xml\.in\.in.\h:/.xml.in.in:/g' \
-e 's/\.ini\.in\.h:/.ini.in:/g' \
-e 's/\.xml\.h:/.xml:/g' \
-e 's/\.ini\.h:/.ini:/g' \
+ -e 's@#: \.\./@#: @g' \
-i po/${GETTEXT_DOMAIN}.pot