On Sat, Nov 28, 2009 at 08:07:09PM +0100, Robert Millan wrote:
> > Gettextizzing files I have a very common situation:
> > grub_printf ("Bla bla bla\n");
> Uhm I wonder what's the common approach to this.  Maybe Jordi or someone
> else can tell?

I think this is going too far. I don't think there's a need to remove all
trailing nl's if the string is not going to be repeated in other slightly
different ways, because adapting this means making the code a bit
less readable for what I'm seeing.

In some cases, it looks like a good idea where it's worth the extra
effort; the gettext manual recommends plain strings and so on, but if it's
just a trailing new line, I think in most cases it's not worth it.
Translators know how to deal with them.

Jordi
-- 
Jordi Mallach Pérez  --  Debian developer     http://www.debian.org/
jo...@sindominio.net     jo...@debian.org     http://www.sindominio.net/
GnuPG public key information available at http://oskuro.net/


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to