Questions about gdb and gettext

Tom Tromey tromey@redhat.com
Mon Jun 24 11:17:00 GMT 2002


>>>>> "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



More information about the Gdb mailing list