From b85daf94830a3ca39d59237fdb07bc33ede1c450 Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Sun, 24 Jan 2021 03:38:44 +0100 Subject: 100% re-write of the keyboard indicator in plain C. --- update-pot.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'update-pot.sh') diff --git a/update-pot.sh b/update-pot.sh index b0cb9b5c..db9c8931 100755 --- a/update-pot.sh +++ b/update-pot.sh @@ -14,12 +14,13 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see -GETTEXT_DOMAIN=$(cat configure.ac | grep -E "^GETTEXT_PACKAGE=" | sed -e 's/GETTEXT_PACKAGE=//') +GETTEXT_DOMAIN=$(cat CMakeLists.txt | grep 'set.*(.*GETTEXT_PACKAGE' | sed -r -e 's/.*\"([^"]+)\"\)/\1/') cd po/ && intltool-update --gettext-package ${GETTEXT_DOMAIN} --pot && 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' \ +sed -e 's/\.xml\.in\.in.\h:/.xml.in.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' \ -i po/${GETTEXT_DOMAIN}.pot -- cgit v1.2.3