This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Questions about gdb and gettext
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: tromey at redhat dot com
- Cc: Gdb List <gdb at sources dot redhat dot com>, Richard dot Earnshaw at arm dot com
- Date: Mon, 24 Jun 2002 13:17:55 +0100
- Subject: Re: Questions about gdb and gettext
- Organization: ARM Ltd.
- Reply-to: Richard dot Earnshaw at arm dot com
tromey@redhat.com said:
> It isn't always necessary to mark every string in the source. You can
> also tell the xgettext program that certain functions implicitly
> translate their argument. So, for instance, we could set things up so
> that the first argument to `warning' and `error' doesn't need any
> special marking.
How would that save you having to mark the strings? AFAICT it would just
mean that you have to mark them with N_() rather than _().
Unless the strings are marked, gettext won't be able to extract them.
R.