diff options
-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 |