diff options
author | Colin Guthrie <colin@mageia.org> | 2013-10-12 15:20:51 +0100 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2013-10-12 15:26:23 +0100 |
commit | cae1f59f7459a136cf52ae3a868b8733ef8c0e80 (patch) | |
tree | bc16410a5ae43825ccd734d2baef8d9732a52e41 /po | |
parent | c61197a3984f8975fa9fd9a3f0cabe05206c1cb9 (diff) | |
download | mgaonline-cae1f59f7459a136cf52ae3a868b8733ef8c0e80.tar mgaonline-cae1f59f7459a136cf52ae3a868b8733ef8c0e80.tar.gz mgaonline-cae1f59f7459a136cf52ae3a868b8733ef8c0e80.tar.bz2 mgaonline-cae1f59f7459a136cf52ae3a868b8733ef8c0e80.tar.xz mgaonline-cae1f59f7459a136cf52ae3a868b8733ef8c0e80.zip |
Use polkit for authorisation (mga#11125)
Diffstat (limited to 'po')
-rw-r--r-- | po/Makefile | 15 | ||||
-rw-r--r-- | po/POTFILES.in | 6 |
2 files changed, 10 insertions, 11 deletions
diff --git a/po/Makefile b/po/Makefile index 0db50a50..243f5497 100644 --- a/po/Makefile +++ b/po/Makefile @@ -3,10 +3,9 @@ localedir = $(PREFIX)/usr/share/locale PGOAL = mgaonline -PL_FILES = $(shell cat POTFILES.in | sed 's,^,../,' ) +PL_FILES = ../mga*.pm ../mgaupdate ../mgaapplet ../mgaapplet-config POFILES = $(shell ls *.po) -PL_CFILES = $(PL_FILES:%=%_.c) POFILES = $(shell ls *.po) MOFILES = $(POFILES:%.po=%.mo) LANGS = $(POFILES:%.po=%) @@ -22,13 +21,19 @@ install: all done clean: - rm -f *~ *.[oas] *.mo TAGS $(PL_CFILES) + rm -f *~ *.[oas] *.mo TAGS POTFILES.in %.mo: %.po msgfmt -o $@ $< -$(PGOAL).pot: $(PL_FILES) $(CFILES) - perl_checker -q --generate-pot $(PGOAL).pot $(PL_FILES) +$(PGOAL).pot: $(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.in; ) > POTFILES.in update_n_merge: $(PGOAL).pot merge diff --git a/po/POTFILES.in b/po/POTFILES.in deleted file mode 100644 index 72e4262d..00000000 --- a/po/POTFILES.in +++ /dev/null @@ -1,6 +0,0 @@ -mgaupdate -mgaapplet-config -mgaapplet -mgaapplet_gui.pm -mgaapplet_urpm.pm -mgaonline.pm |