diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2022-09-11 14:48:52 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2022-09-13 09:01:57 +0200 |
commit | 5b72dcfdba1a665c7982eccb24619e7c26c06fde (patch) | |
tree | 82ef1e5d7e45c1e2a13a2e49970213528d7d743b | |
parent | 6309311bbd3cbfb9f4061356b36333ad5d9ff807 (diff) | |
download | ayatana-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-x | update-po.sh | 3 | ||||
-rwxr-xr-x | update-pot.sh | 1 |
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 |