On Monday 04 December 2000 17:52, Dekel Tsur wrote:
> On Mon, Dec 04, 2000 at 11:23:31AM +0000, Angus Leeming wrote:
> > Why not? They appear in my lyx.pot file. I guess you mean that they
> > aren't in yours?
> >
> > Admittedly, "GUI background" etc don't appear. Will investigate.
>
> You should use 'xcol.name = _("GUI background")' instead of using N_().
> There are several places in your code that need to fixed.
> Note that in some places you need to keep the N_() but put a _() when the
> string is used. For example, keep the N_() in LyXRC::getDescription but
> in FormPreferences::feedback you need to put
>    str = formatted(_(str), ...)

This shouldn't be that hard, but I'm completely confused here.

Why should I keep N_() for one (and then put a _() when the string is used),
but remove it for xcol.name?

Yes, I have read src/gettext.h. I guess I could rephrase the question as what 
makes the strings in LyXRC::getDescription "static"; what does "static" mean 
here?

Angus

Reply via email to