summaryrefslogtreecommitdiffstats
path: root/po
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@mandriva.com>2009-04-24 11:21:33 +0000
committerChristophe Fergeau <cfergeau@mandriva.com>2009-04-24 11:21:33 +0000
commit3aa632a221074ae6f166b75631d1f3ab532f07db (patch)
treea5f807b62fdaa0ac00716696b5c05825a3af5383 /po
parentcc97063fd8cdc3b3b5643b3db9cbe9cf851a3d55 (diff)
downloaddraklive-install-3aa632a221074ae6f166b75631d1f3ab532f07db.tar
draklive-install-3aa632a221074ae6f166b75631d1f3ab532f07db.tar.gz
draklive-install-3aa632a221074ae6f166b75631d1f3ab532f07db.tar.bz2
draklive-install-3aa632a221074ae6f166b75631d1f3ab532f07db.tar.xz
draklive-install-3aa632a221074ae6f166b75631d1f3ab532f07db.zip
Make draklive-install desktop file translatable
Diffstat (limited to 'po')
-rw-r--r--po/Makefile5
-rw-r--r--po/POTFILES.in1
2 files changed, 5 insertions, 1 deletions
diff --git a/po/Makefile b/po/Makefile
index f679b1a..0845f3d 100644
--- a/po/Makefile
+++ b/po/Makefile
@@ -22,7 +22,10 @@ merge:
done
$(NAME).pot:
- perl_checker -q --generate-pot $@ $(PL_FILES)
+ intltool-update --gettext-package desktopstuff --pot
+ perl_checker -q --generate-pot $(NAME)_tmp.pot $(PL_FILES)
+ [ ! -e $(NAME)_tmp.pot ] || msgcat --use-first $(NAME)_tmp.pot desktopstuff.pot > $@
+ rm -f desktopstuff.pot $(NAME)_tmp.pot
install: all
for l in $(LANGS); do \
diff --git a/po/POTFILES.in b/po/POTFILES.in
new file mode 100644
index 0000000..8b43f84
--- /dev/null
+++ b/po/POTFILES.in
@@ -0,0 +1 @@
+mandriva-draklive-install.desktop.in