diff options
author | I18N Processor <i18n@redhat.com> | 2001-01-14 13:52:57 +0000 |
---|---|---|
committer | I18N Processor <i18n@redhat.com> | 2001-01-14 13:52:57 +0000 |
commit | a736c0bc7b9c28e690348bfe002e100fc5cb36f7 (patch) | |
tree | 3b5441ac05923159dc7a734e01486ba484ff74de /po/Makefile | |
parent | 42117eae075c4e1001f24b11e27522de062153a6 (diff) | |
download | initscripts-a736c0bc7b9c28e690348bfe002e100fc5cb36f7.tar initscripts-a736c0bc7b9c28e690348bfe002e100fc5cb36f7.tar.gz initscripts-a736c0bc7b9c28e690348bfe002e100fc5cb36f7.tar.bz2 initscripts-a736c0bc7b9c28e690348bfe002e100fc5cb36f7.tar.xz initscripts-a736c0bc7b9c28e690348bfe002e100fc5cb36f7.zip |
i18bot refresh.
Diffstat (limited to 'po/Makefile')
-rw-r--r-- | po/Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/po/Makefile b/po/Makefile index a918c983..adc571f1 100644 --- a/po/Makefile +++ b/po/Makefile @@ -37,6 +37,19 @@ update-po: Makefile fi \ done +refresh-po: Makefile + catalogs='$(CATALOGS)'; \ + for cat in $$catalogs; do \ + lang=`echo $$cat | sed 's/.po//'`; \ + if $(MSGMERGE) $$lang.po $(NLSPACKAGE).pot > $$lang.pot ; then \ + mv -f $$lang.pot $$lang.po ; \ + echo "$(MSGMERGE) of $$lang succeeded" ; \ + else \ + echo "$(MSGMERGE) of $$lang failed" ; \ + rm -f $$lang.pot ; \ + fi \ + done + clean: rm -f *mo $(NLSPACKAGE).pot |