diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2022-09-11 13:48:25 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2022-09-11 13:48:34 +0200 |
commit | cd371332411641ed12ff7449943006f87a77bdf7 (patch) | |
tree | 082cbdd67b47503a827ccb0d59f7c685860282af | |
parent | 7e0f2871c005e81ea169513da47c6f46ebd369f5 (diff) | |
download | ayatana-indicator-messages-cd371332411641ed12ff7449943006f87a77bdf7.tar.gz ayatana-indicator-messages-cd371332411641ed12ff7449943006f87a77bdf7.tar.bz2 ayatana-indicator-messages-cd371332411641ed12ff7449943006f87a77bdf7.zip |
update-po{,t}.sh: Omit ../ at beginning of file names in .pot file.
-rwxr-xr-x | update-po.sh | 1 | ||||
-rwxr-xr-x | update-pot.sh | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/update-po.sh b/update-po.sh index 2043358..b9c4c9d 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 |