aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-09-11 13:31:03 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-09-11 13:41:09 +0200
commit24033c31adef6e1196b0aa59df12aee99ddedb40 (patch)
tree1a09962dee8b5a20270b15ce8d08d4a9a275e5fe
parent5fee084a7d28758ad4277d44b4c42b11f003e9a6 (diff)
downloadayatana-indicator-bluetooth-24033c31adef6e1196b0aa59df12aee99ddedb40.tar.gz
ayatana-indicator-bluetooth-24033c31adef6e1196b0aa59df12aee99ddedb40.tar.bz2
ayatana-indicator-bluetooth-24033c31adef6e1196b0aa59df12aee99ddedb40.zip
update-po{,t}.sh: Omit ../ at beginning of file names in .pot file.
-rwxr-xr-xupdate-po.sh1
-rwxr-xr-xupdate-pot.sh1
2 files changed, 2 insertions, 0 deletions
diff --git a/update-po.sh b/update-po.sh
index dff6f3a..b066610 100755
--- a/update-po.sh
+++ b/update-po.sh
@@ -32,6 +32,7 @@ cat LINGUAS | while read lingua; do
-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 43a8d06..cb538a2 100755
--- a/update-pot.sh
+++ b/update-pot.sh
@@ -22,4 +22,5 @@ sed -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 po/${GETTEXT_DOMAIN}.pot