All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
To: The development of GNU GRUB <grub-devel@gnu.org>
Subject: Re: grub_error messages
Date: Tue, 22 Dec 2009 17:49:39 +0100	[thread overview]
Message-ID: <4B30F8A3.9040109@gmail.com> (raw)
In-Reply-To: <20091222162931.GA26979@nubol.oskuro.net>

[-- Attachment #1: Type: text/plain, Size: 837 bytes --]

Jordi Mallach wrote:
> On Mon, Dec 21, 2009 at 10:19:16PM +0000, Carles Pina i Estany wrote:
>   
>> b) At beginning I thought that we would not gettext error messages, but
>> I see that lot of these messages appears to the end user. Do we gettext
>> using N_(" ") and then where it's printed I use _(" ") ? I would say
>> yes.
>>     
>
> No! Don't use any of N_() or _() if the message isn't meant to be translated.
> If it's extracted into the pot file but then it's not used by GRUB (not
> being marked with the necessary gettext call), it's a waste of time for
> translators, of course.
>
>   
Jordi, I think you misunderstand. What Carles propose is to do real
gettext call in grub_error and not before calling it. We already use N_
for this purpose.


-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 293 bytes --]

  reply	other threads:[~2009-12-22 16:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-21 22:19 grub_error messages Carles Pina i Estany
2009-12-22 16:29 ` Jordi Mallach
2009-12-22 16:49   ` Vladimir 'φ-coder/phcoder' Serbinenko [this message]
2009-12-22 20:26     ` Carles Pina i Estany

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=4B30F8A3.9040109@gmail.com \
    --to=phcoder@gmail.com \
    --cc=grub-devel@gnu.org \
    /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.