aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-09-11 13:53:41 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-09-11 13:53:48 +0200
commit4e1ed14b9fab0deed93b45f8ff65cef6921e11ea (patch)
treea861c2334965d43149f88df6b2a071e8fd3e6753
parentd5fd034fc3b592e6dc2f014131655d6bd50db810 (diff)
downloadayatana-indicator-power-4e1ed14b9fab0deed93b45f8ff65cef6921e11ea.tar.gz
ayatana-indicator-power-4e1ed14b9fab0deed93b45f8ff65cef6921e11ea.tar.bz2
ayatana-indicator-power-4e1ed14b9fab0deed93b45f8ff65cef6921e11ea.zip
update-po{,t}.sh: Omit ../ at beginning of file names in .po(t) file(s).
-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