On Mon, 2008-01-21 at 11:33 +0100, Marco Gerards wrote: > Jordi Mallach <[EMAIL PROTECTED]> writes: > > > On Tue, Jan 15, 2008 at 12:18:55AM +0100, Robert Millan wrote: > >> Is this better? > >> + char *msg = " The highlighted entry will be booted automatically > >> in %ds. "; > >> + char *msg_end = grub_strchr (msg, '%'); > >> + > >> + grub_printf (second_stage ? msg_end : msg, timeout); > > > > Yes; however as discussed on IRC we'll eventually have to take into > > account plural form handling. I need to discuss this with Danilo Segan > > or Christian Perrier for this particular case. > > Is gettext capable of this?
Yes. It's very good at it. But I don't know how heavy the runtime part is going to be. I don't think we can just link a library into GRUB, so perhaps it will need to be copied to the GRUB sources and stripped down. But I still think it would be an overkill. Even the Linux kernel doesn't offer any translation for its boot messages. And if we go with the translation, I think it should be possible for any language to rephrase messages in a way that would not require plural handling. -- Regards, Pavel Roskin _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel