aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-09-11 13:14:05 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2022-09-11 13:46:38 +0200
commit1768f4976de610be4d97e3dd53ca2410eb402317 (patch)
treeae85c1ecea4f2d77206b2d7ee50d34c5c30bacbc
parentb31f62c10e04153e36f25d4109cb31882c3b7409 (diff)
downloadayatana-indicator-keyboard-1768f4976de610be4d97e3dd53ca2410eb402317.tar.gz
ayatana-indicator-keyboard-1768f4976de610be4d97e3dd53ca2410eb402317.tar.bz2
ayatana-indicator-keyboard-1768f4976de610be4d97e3dd53ca2410eb402317.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 55a3a6e4..2f4377e0 100755
--- a/update-po.sh
+++ b/update-po.sh
@@ -33,6 +33,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 db9c8931..ae7bb10d 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