2009-11-18 Robert Millan <rmh.grub@aybabtu.com>

* po/POTFILES-shell: New file.  List `util/grub.d/10_kfreebsd.in'
        and `util/grub.d/10_linux.in'. 
        * Makefile.in (po/$(PACKAGE).pot): Process `po/POTFILES-shell' for
        translatable Shell files.
This commit is contained in:
Robert Millan 2009-11-18 21:03:09 +00:00
parent af1c0c85a7
commit 633877cbb1
3 changed files with 14 additions and 2 deletions

View file

@ -1,3 +1,10 @@
2009-11-18 Robert Millan <rmh.grub@aybabtu.com>
* po/POTFILES-shell: New file. List `util/grub.d/10_kfreebsd.in'
and `util/grub.d/10_linux.in'.
* Makefile.in (po/$(PACKAGE).pot): Process `po/POTFILES-shell' for
translatable Shell files.
2009-11-18 Robert Millan <rmh.grub@aybabtu.com>
* Makefile.in ($(srcdir)/aclocal.m4): New target.

View file

@ -472,8 +472,9 @@ gensymlist.sh: gensymlist.sh.in config.status
genkernsyms.sh: genkernsyms.sh.in config.status
$(SHELL) ./config.status
po/$(PACKAGE).pot: po/POTFILES
$(XGETTEXT) --from-code=utf-8 --keyword=_ -f $< -o $@
po/$(PACKAGE).pot: po/POTFILES po/POTFILES-shell
$(XGETTEXT) --from-code=utf-8 -o $@ -f $< --keyword=_
$(XGETTEXT) --from-code=utf-8 -o $@ -f po/POTFILES-shell -j --language=Shell
po/*.po: po/$(PACKAGE).pot
$(MSGMERGE) -U $@ po/$(PACKAGE).pot

4
po/POTFILES-shell Normal file
View file

@ -0,0 +1,4 @@
# List of files which contain translatable strings. Only files written in
# Shell language are included here.
util/grub.d/10_kfreebsd.in
util/grub.d/10_linux.in