From: Robert Millan <rmh@aybabtu.com>
To: The development of GNU GRUB <grub-devel@gnu.org>
Cc: Jordi Mallach <jordi@sindominio.net>
Subject: Re: gettextizing
Date: Mon, 23 Nov 2009 12:56:15 +0100 [thread overview]
Message-ID: <20091123115615.GB25009@thorin> (raw)
In-Reply-To: <20091122222822.GB5440@pina.cat>
On Sun, Nov 22, 2009 at 10:28:22PM +0000, Carles Pina i Estany wrote:
>
This one needs some cleanup before it can be gettextized. Translators
should receive complete messages with no kludges in them. See
info gettext "Preparing Strings" for more details on that. For example,
these shouldn't be part of the translatable string:
> - grub_printf ("\
> + grub_printf (_("\
> [ Minimal BASH-like line editing is supported. For the first word, TAB\n\
^
> lists possible command completions. Anywhere else TAB lists possible\n\
^^
> - device/file completions.%s ]\n\n",
> + device/file completions.%s ]\n\n"),
^^
Eliminating the newlines is not trivial, but it fixes another problem: this
string doesn't render well on non-80x25 terminals.
> - grub_printf (" Booting a command list\n\n");
> + grub_printf (_(" Booting a command list\n\n"));
> [...]
> - grub_printf ("\nPress any key to continue...");
> + grub_printf (_("\nPress any key to continue..."));
I'm not sure if the spaces and newlines here would be a problem. Jordi,
any comment?
--
Robert Millan
The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
how) you may access your data; but nobody's threatening your freedom: we
still allow you to remove your data and not access it at all."
next prev parent reply other threads:[~2009-11-23 11:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-22 22:28 gettextizing Carles Pina i Estany
2009-11-23 11:56 ` Robert Millan [this message]
2009-11-23 16:28 ` gettextizing Jordi Mallach
2009-11-23 16:41 ` gettextizing Robert Millan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20091123115615.GB25009@thorin \
--to=rmh@aybabtu.com \
--cc=grub-devel@gnu.org \
--cc=jordi@sindominio.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.