grub/po
Colin Watson 4e01b6c821 * util/grub-mkconfig_lib.in (gettext_quoted): Add clarifying
comment.  Add an extra layer of quotation, requiring the output of
this function to be used in a printf format string.
(gettext_printf): New function.
* util/grub.d/10_hurd.in: Use gettext_printf where appropriate.
Extract translatable strings from here-documents and use a temporary
variable instead, so that xgettext can find them.
* util/grub.d/10_kfreebsd.in: Likewise.
* util/grub.d/10_linux.in: Likewise.
* util/grub.d/20_linux_xen.in: Likewise.

* po/grub.d.sed: New file.
* po/Makefile.in.in ($(DOMAIN).pot-update): Extract gettext_printf
arguments.  Set c-format flags on all strings extracted from
util/grub.d/ (xgettext refuses to include these itself for strings
it extracted from a shell file, but these really are c-format).
2010-12-21 12:49:29 +00:00
..
Makefile.in.in * util/grub-mkconfig_lib.in (gettext_quoted): Add clarifying 2010-12-21 12:49:29 +00:00
Makevars Fix po directory handling. 2010-09-21 00:09:23 +01:00
POTFILES-shell.in Fix po directory handling. 2010-09-21 00:09:23 +01:00
POTFILES.in Fix po directory handling. 2010-09-21 00:09:23 +01:00
README move grub-core/po back 2010-08-17 19:23:26 +05:30
Rules-quot Fix po directory handling. 2010-09-21 00:09:23 +01:00
boldquot.sed Fix po directory handling. 2010-09-21 00:09:23 +01:00
en@boldquot.header Fix po directory handling. 2010-09-21 00:09:23 +01:00
en@quot.header Fix po directory handling. 2010-09-21 00:09:23 +01:00
grub.d.sed * util/grub-mkconfig_lib.in (gettext_quoted): Add clarifying 2010-12-21 12:49:29 +00:00
insert-header.sin Fix po directory handling. 2010-09-21 00:09:23 +01:00
quot.sed Fix po directory handling. 2010-09-21 00:09:23 +01:00
remove-potcdate.sin Fix po directory handling. 2010-09-21 00:09:23 +01:00

README

If you checked out this source tree directly from GRUB Bazaar, you might
be wondering where are the POT and PO files.  Here are some instructions
that will hopefully clarify the situation.

  - If you're a user or a distributor, simply fill the po directory by
    importing translations from the Translation Project:

      rsync -Lrtvz  translationproject.org::tp/latest/grub/ po

    GRUB's build system will automatically detect those and include them
    in your install.

  - If you're a translator and want to add a new translation or improve an
    existing one, get in touch with the Translation Project
    (http://translationproject.org/).  The GRUB project doesn't interact
    with translators directly (but we dearly appreciate your work!).

  - If you're a developer adding/removing/modifiing translatable strings,
    you can check that these turn into a sane POT file by using the
    `po/grub.pot' make rule.

  - If you're the maintainer of GNU GRUB preparing a new release, don't
    forget to include the latest PO files in your source tarball!