summaryrefslogtreecommitdiffstats
path: root/po/Makefile
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-01-09 13:16:36 +0000
committerThierry Vignaud <tv@mandriva.org>2007-01-09 13:16:36 +0000
commit64b7fbd250120aafc8bf23ef31dd383e60dbc2f2 (patch)
treec062c50eeb8f07fa06236adfa6bcae510f8af87e /po/Makefile
parentb3ec701e5cd7b899885edfcc44f85042666a62ce (diff)
downloadurpmi-64b7fbd250120aafc8bf23ef31dd383e60dbc2f2.tar
urpmi-64b7fbd250120aafc8bf23ef31dd383e60dbc2f2.tar.gz
urpmi-64b7fbd250120aafc8bf23ef31dd383e60dbc2f2.tar.bz2
urpmi-64b7fbd250120aafc8bf23ef31dd383e60dbc2f2.tar.xz
urpmi-64b7fbd250120aafc8bf23ef31dd383e60dbc2f2.zip
use perl_checker instead of xgettext in order to extract plural forms (which is
simpler than adding even more options to xgettext)
Diffstat (limited to 'po/Makefile')
-rw-r--r--po/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/po/Makefile b/po/Makefile
index 2aa09bf6..b54c57c4 100644
--- a/po/Makefile
+++ b/po/Makefile
@@ -30,9 +30,7 @@ merge: $(PGOAL).pot
done
$(PGOAL).pot:
- xgettext -F -n --add-comments \
- --keyword=N_ --keyword=N \
- --language=Perl -o $(PGOAL)_tmp.pot $(PL_FILES)
+ perl_checker -q --generate-pot $(PGOAL)_tmp.pot $(PL_FILES)
[ ! -e $(PGOAL)_tmp.pot ] || msgcat --use-first $(PGOAL)_tmp.pot > $@
perl -pi -es/perl-format/c-format/ $@
rm -f $(PGOAL)_tmp.pot