diff options
author | Colin Guthrie <colin@mageia.org> | 2013-10-01 20:48:52 +0100 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2013-10-01 20:49:28 +0100 |
commit | 9d9ef58760337c42819f702feb0c67b9af0f2988 (patch) | |
tree | 632a032cd25056b70d880bf77435df28a043127d /po/Makefile | |
parent | f5111ceb201c828e3d9643ec5b35d98a30263d8a (diff) | |
download | drakx-kbd-mouse-x11-9d9ef58760337c42819f702feb0c67b9af0f2988.tar drakx-kbd-mouse-x11-9d9ef58760337c42819f702feb0c67b9af0f2988.tar.gz drakx-kbd-mouse-x11-9d9ef58760337c42819f702feb0c67b9af0f2988.tar.bz2 drakx-kbd-mouse-x11-9d9ef58760337c42819f702feb0c67b9af0f2988.tar.xz drakx-kbd-mouse-x11-9d9ef58760337c42819f702feb0c67b9af0f2988.zip |
polkit: Make the polkit policy files translatable.
Diffstat (limited to 'po/Makefile')
-rw-r--r-- | po/Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/po/Makefile b/po/Makefile index c294cc5..f11b883 100644 --- a/po/Makefile +++ b/po/Makefile @@ -31,9 +31,14 @@ clean: %.mo: %.po msgfmt -o $@ $< -$(POTFILE): $(PL_FILES) - perl_checker -q --generate-pot $@ $(PL_FILES) - +$(POTFILE): $(PL_FILES) POTFILES.in + intltool-update --gettext-package non-perl --pot + perl_checker -q --generate-pot .$@ $(PL_FILES) + msgcat -w 2048 --use-first .$@ non-perl.pot > $@ + rm -f non-perl.pot ..$@ .$@ + +POTFILES.in: + (cd .. ; /bin/ls -1 polkit/policy/*.policy.in; ) > POTFILES.in update_n_merge: $(PGOAL).pot merge |