aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/po-update.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/po-update.sh b/tools/po-update.sh
index ebf9328..8ef8636 100755
--- a/tools/po-update.sh
+++ b/tools/po-update.sh
@@ -13,6 +13,7 @@ cd "$(readlink -f "$(dirname "$0")/..")"
VERSION=(0.20)
DOMAIN=(isodumper)
intltool-extract --type=gettext/glade share/isodumper/isodumper.glade
+intltool-extract --type=gettext/xml polkit/org.mageia.isodumper.policy.in
POT_DIR="$PWD/po"
test -d "$POT_DIR"
@@ -26,12 +27,12 @@ POT_FILE="$POT_DIR/$DOMAIN.pot"
--no-escape --add-location --sort-by-file \
--add-comments=I18N \
--output="$POT_FILE" \
- lib/isodumper.py share/isodumper/isodumper.glade.h
+ lib/isodumper.py share/isodumper/isodumper.glade.h polkit/org.mageia.isodumper.policy.in.h
/bin/sed --in-place --expression="s/charset=CHARSET/charset=UTF-8/" "$POT_FILE"
rm -f share/isodumper/isodumper.glade.h
-
+rm -f polkit/org.mageia.isodumper.policy.in.h
update_po() {
local LL_CC="$1"