This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Questions about gdb and gettext
- From: Tom Tromey <tromey at redhat dot com>
- To: Richard dot Earnshaw at arm dot com
- Cc: Gdb List <gdb at sources dot redhat dot com>
- Date: 24 Jun 2002 12:30:39 -0600
- Subject: Re: Questions about gdb and gettext
- References: <200206241217.NAA08300@cam-mail2.cambridge.arm.com>
- Reply-to: tromey at redhat dot 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