summaryrefslogtreecommitdiffstats
path: root/po/Makefile
diff options
context:
space:
mode:
authorPablo Saratxaga <pablo@mandriva.com>2004-03-12 13:54:14 +0000
committerPablo Saratxaga <pablo@mandriva.com>2004-03-12 13:54:14 +0000
commit358032ea59355f4b594cacfce67030aebd1d0fa9 (patch)
treeaacd912e60245a6cf8ba9f40c871a46e9c24ec51 /po/Makefile
parent39847331a23a830d550bb0ae7a6c3d63bc8940b7 (diff)
downloadcontrol-center-358032ea59355f4b594cacfce67030aebd1d0fa9.tar
control-center-358032ea59355f4b594cacfce67030aebd1d0fa9.tar.gz
control-center-358032ea59355f4b594cacfce67030aebd1d0fa9.tar.bz2
control-center-358032ea59355f4b594cacfce67030aebd1d0fa9.tar.xz
control-center-358032ea59355f4b594cacfce67030aebd1d0fa9.zip
updated pot file (now built with the translatable entries from desktop files)
Diffstat (limited to 'po/Makefile')
-rw-r--r--po/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/po/Makefile b/po/Makefile
index 1a2fb664..48147641 100644
--- a/po/Makefile
+++ b/po/Makefile
@@ -34,7 +34,12 @@ clean:
msgfmt -o $@ $<
$(PGOAL).pot: $(PL_FILES)
- perl_checker -q --generate-pot $(PGOAL).pot $(PL_FILES)
+ intltool-update --gettext-package desktopstuff --pot
+ perl_checker -q --generate-pot $(PGOAL)_tmp.pot $(PL_FILES)
+ # OLD_PO_FILE_OUTPUT=1 is needed to ignore non-ascii strings
+ # at least as long as msgcat can't read utf-8 files
+ OLD_PO_FILE_OUTPUT=1 msgcat --use-first $(PGOAL)_tmp.pot desktopstuff.pot > $@
+ rm -f desktopstuff.pot $(PGOAL)_tmp.pot
merge: $(PGOAL).pot
@for n in $(POFILES); do \