Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: Richard.Earnshaw@arm.com
Cc: Gdb List <gdb@sources.redhat.com>
Subject: Re: Questions about gdb and gettext
Date: Mon, 24 Jun 2002 11:17:00 -0000	[thread overview]
Message-ID: <87k7ooleb4.fsf@fleche.redhat.com> (raw)
In-Reply-To: <200206241217.NAA08300@cam-mail2.cambridge.arm.com>

>>>>> "Richard" == Richard Earnshaw <rearnsha@arm.com> writes:

Tom> It isn't always necessary to mark every string in the source.
Tom> You can also tell the xgettext program that certain functions
Tom> implicitly translate their argument.  So, for instance, we could
Tom> set things up so that the first argument to `warning' and `error'
Tom> doesn't need any special marking.

Richard> How would that save you having to mark the strings?  AFAICT
Richard> it would just mean that you have to mark them with N_()
Richard> rather than _().

We would pass --keyword=error --keyword=warning to xgettext.

Tom


      reply	other threads:[~2002-06-24 18:17 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-23 13:33 Tom Tromey
2002-06-23 14:33 ` Andrew Cagney
2002-06-23 21:52   ` Tom Tromey
2002-06-24  9:10     ` Andrew Cagney
2002-06-24 15:12       ` Tom Tromey
2002-06-24  3:32 ` Eli Zaretskii
2002-06-24  5:18 ` Richard Earnshaw
2002-06-24 11:17   ` Tom Tromey [this message]

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=87k7ooleb4.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=Richard.Earnshaw@arm.com \
    --cc=gdb@sources.redhat.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox