From: Carles Pina i Estany Date: Mon, 23 Nov 2009 21:14:30 +0000 (+0000) Subject: 2009-11-22 Carles Pina i Estany X-Git-Tag: 1.98~378 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e44249de6dcd63b72e5ffed94e3f3b4e8c156a0a;p=thirdparty%2Fgrub.git 2009-11-22 Carles Pina i Estany * conf/common.rmk: Add grub-gettext_lib target and updates lib_DATA and CLEANFILES. Adds gettext.mod SOURCES, CFLAGS, LDFLAGS. * gettext/gettext.c: New file. (Reads mo files). * include/grub/file.h (grub_file_pread): New prototype. * include/grub/i18n.h (_): New prototype. * include/grub/misc.h (grub_gettext_dummy, grub_gettext): New prototypes. * kern/misc.c (grub_gettext_dummy): New function. * normal/menu_text.c: Include . * normal/menu_text.c (print_timeout): Gettexttize string. * normal/menu_text.c (print_message): Gettexttize string. * po/POTFILES: Add `normal/menu_text.c'. * po/ca.po: Add new translations. * util/grub.d/00_header.in: Define locale_dir and lang. insmod gettext module and defines locale_dir and lang in grub.cfg. * NEWS: Add gettext support. --- e44249de6dcd63b72e5ffed94e3f3b4e8c156a0a