From 1768f4976de610be4d97e3dd53ca2410eb402317 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Sun, 11 Sep 2022 13:14:05 +0200 Subject: update-po{,t}.sh: Omit ../ at beginning of file names in .pot file. --- update-po.sh | 1 + update-pot.sh | 1 + 2 files changed, 2 insertions(+) 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 -- cgit v1.2.3