aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-09-11 14:48:52 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-09-13 09:01:57 +0200
commit5b72dcfdba1a665c7982eccb24619e7c26c06fde (patch)
tree82ef1e5d7e45c1e2a13a2e49970213528d7d743b
parent6309311bbd3cbfb9f4061356b36333ad5d9ff807 (diff)
downloadayatana-indicator-notifications-5b72dcfdba1a665c7982eccb24619e7c26c06fde.tar.gz
ayatana-indicator-notifications-5b72dcfdba1a665c7982eccb24619e7c26c06fde.tar.bz2
ayatana-indicator-notifications-5b72dcfdba1a665c7982eccb24619e7c26c06fde.zip
update-po{,t}.sh: Omit ../ at beginning of file names in .po(t) file(s).
-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