From 00cb0d983d9f30d805abfd8c32f8021cd9bab1cd Mon Sep 17 00:00:00 2001 From: papoteur-mga Date: Fri, 1 Nov 2013 08:03:52 +0100 Subject: Take isodumper.glade in the list of string sources --- tools/po-update.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tools') diff --git a/tools/po-update.sh b/tools/po-update.sh index 8828175..a4147b5 100755 --- a/tools/po-update.sh +++ b/tools/po-update.sh @@ -12,6 +12,7 @@ cd "$(readlink -f "$(dirname "$0")/..")" #VERSION=(0.1) DOMAIN=(isodumper) +intltool-extract --type=gettext/glade ../share/isodumper/isodumper.glade SOURCE_FILES=$(/bin/mktemp --tmpdir $DOMAIN-po-update-XXXXXX) find "lib" -name '*.py' >"$SOURCE_FILES" @@ -33,6 +34,8 @@ POT_FILE="$POT_DIR/$DOMAIN.pot" /bin/sed --in-place --expression="s/charset=CHARSET/charset=UTF-8/" "$POT_FILE" +rm -f ../share/isodumper/isodumper.glade.h + update_po() { local LL_CC="$1" local PO_FILE="$POT_DIR/$LL_CC.po" -- cgit v1.2.1