aboutsummaryrefslogtreecommitdiffstats
path: root/tools/po-update.sh
diff options
context:
space:
mode:
authorpapoteur-mga <yves.brungard_git@gadz.org>2013-11-01 08:03:52 +0100
committerpapoteur-mga <yves.brungard_git@gadz.org>2013-11-01 08:03:52 +0100
commit00cb0d983d9f30d805abfd8c32f8021cd9bab1cd (patch)
tree1efde84536d74986fa4c4fb69e6254629ae93da9 /tools/po-update.sh
parent708485b5cfd4f994ae0ebf7903542f8bc3c2e72d (diff)
downloadisodumper-00cb0d983d9f30d805abfd8c32f8021cd9bab1cd.tar
isodumper-00cb0d983d9f30d805abfd8c32f8021cd9bab1cd.tar.gz
isodumper-00cb0d983d9f30d805abfd8c32f8021cd9bab1cd.tar.bz2
isodumper-00cb0d983d9f30d805abfd8c32f8021cd9bab1cd.tar.xz
isodumper-00cb0d983d9f30d805abfd8c32f8021cd9bab1cd.zip
Take isodumper.glade in the list of string sources
Diffstat (limited to 'tools/po-update.sh')
-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"