aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/po-update.sh3
1 files changed, 3 insertions, 0 deletions
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"