aboutsummaryrefslogtreecommitdiffstats
path: root/tools/po-update.sh
diff options
context:
space:
mode:
authorpapoteur-mga <yves.brungard_git@gadz.org>2013-12-22 21:33:09 +0100
committerpapoteur-mga <yves.brungard_git@gadz.org>2013-12-22 21:33:09 +0100
commitf6c560bf1f41f800110d636d0530871ace9b245f (patch)
tree1a827a35bf38cd884732808c829f0a3c9388cad0 /tools/po-update.sh
parent958e20a93808c127b9fb71bb898f69f1d44fc475 (diff)
downloadisodumper-f6c560bf1f41f800110d636d0530871ace9b245f.tar
isodumper-f6c560bf1f41f800110d636d0530871ace9b245f.tar.gz
isodumper-f6c560bf1f41f800110d636d0530871ace9b245f.tar.bz2
isodumper-f6c560bf1f41f800110d636d0530871ace9b245f.tar.xz
isodumper-f6c560bf1f41f800110d636d0530871ace9b245f.zip
Update po files and po-update.sh to add isodumper.desktop title and comment
Diffstat (limited to 'tools/po-update.sh')
-rwxr-xr-xtools/po-update.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/po-update.sh b/tools/po-update.sh
index 8ef8636..01f119b 100755
--- a/tools/po-update.sh
+++ b/tools/po-update.sh
@@ -14,6 +14,7 @@ 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
+intltool-extract --type=gettext/ini share/applications/isodumper.desktop.in
POT_DIR="$PWD/po"
test -d "$POT_DIR"
@@ -27,12 +28,14 @@ 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 polkit/org.mageia.isodumper.policy.in.h
+ lib/isodumper.py share/isodumper/isodumper.glade.h polkit/org.mageia.isodumper.policy.in.h \
+ share/applications/isodumper.desktop.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
+rm -f share/applications/isodumper.desktop.in.h
update_po() {
local LL_CC="$1"