7f39d92f8d
* include/grub/auth.h: Include `<grub/i18n.h>'. (GRUB_GET_PASSWORD): Gettextizze string. * include/grub/normal.h (STANDARD_MARGIN): New macro, moved from menu_text.c. (grub_utf8_to_ucs4_alloc): Fix indentation. (grub_print_ucs4): Likewise. (grub_getstringwidth): Likewise. (print_message_indented): New declaration. * normal/auth.c: Include `<grub/i18n.h>'. (grub_auth_check_authentication): Gettexttize string. * normal/cmdline.c: Include `<grub/i18n.h>'. (grub_cmdline_get): Gettextizze. * normal/color.c: Include `<grub/i18n.h>'. (grub_parse_color_name_pair): Gettexttize strings. * normal/main.c (grub_normal_reader_init): Cleanup gettexttized string (use `print_message_indented'). * normal/menu_text.c (STANDARD_MARGIN): Moved from here to `include/grub/normal.h'. (print_message_indented): Renamed to ... (grub_print_message_indented): ... this. Remove `static' qualifer (now used in normal/main.c). (print_message): Use `grub_print_message_indented' instead of `print_message_indented'. (print_timeout): Likewise. * normal/misc.c: Include `<grub/term.h>' and `<grub/i18n.h>'. (grub_normal_print_device_info): Gettexttize strings. * po/POTFILES: Add `auth.c', `color.c' and `misc.c'. |
||
---|---|---|
.. | ||
POTFILES | ||
POTFILES-shell | ||
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!