diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2022-09-11 13:34:25 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2022-09-11 13:39:00 +0200 |
commit | e70cba40c507cf31c4d3ea3539746c5da04a1e5b (patch) | |
tree | dd13ee6247a9f3be455a6532592309b6b99a7eef | |
parent | 9f193262e37518b76ea8ee77f572fbd8f3f98a22 (diff) | |
download | ayatana-indicator-datetime-e70cba40c507cf31c4d3ea3539746c5da04a1e5b.tar.gz ayatana-indicator-datetime-e70cba40c507cf31c4d3ea3539746c5da04a1e5b.tar.bz2 ayatana-indicator-datetime-e70cba40c507cf31c4d3ea3539746c5da04a1e5b.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 | 3 |
2 files changed, 2 insertions, 2 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 5216a03..8a27234 100755 --- a/update-pot.sh +++ b/update-pot.sh @@ -35,10 +35,9 @@ rm data/org.ayatana.indicator.datetime.gschema.xml # And undo the renamings again. cd src/ && for file in *.cpp *.c; do sed -e "s/ T _/ T_/g" -i $file; done && cd - 1>/dev/null - - 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 |