This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Questions about gdb and gettext


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]