From de319a7f92a0a74a38e15c2ab6f54144fe25bda9 Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Sun, 14 Aug 2022 19:54:16 +0200 Subject: Update translation scripts --- update-pot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'update-pot.sh') diff --git a/update-pot.sh b/update-pot.sh index e7e38f5..610f87d 100755 --- a/update-pot.sh +++ b/update-pot.sh @@ -14,7 +14,7 @@ # 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 -- cgit v1.2.3