aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorpapoteur-mga <yves.brungard_git@gadz.org>2013-12-22 21:00:44 +0100
committerpapoteur-mga <yves.brungard_git@gadz.org>2013-12-22 21:00:44 +0100
commit958e20a93808c127b9fb71bb898f69f1d44fc475 (patch)
tree4d6129672530038978fc741e5d1a9b1ec8a715ca /tools
parent311669b53dbf01581ded18170b68abbff217b399 (diff)
downloadisodumper-958e20a93808c127b9fb71bb898f69f1d44fc475.tar
isodumper-958e20a93808c127b9fb71bb898f69f1d44fc475.tar.gz
isodumper-958e20a93808c127b9fb71bb898f69f1d44fc475.tar.bz2
isodumper-958e20a93808c127b9fb71bb898f69f1d44fc475.tar.xz
isodumper-958e20a93808c127b9fb71bb898f69f1d44fc475.zip
Update po files with new strings from polkit policy
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"