> I would actually prefere:
>
> string str;
> if (some choice) {
>         str = getDescription();
> }
> fl_set_object(label(obj, _(str));
>
>
> But I am not sure if everybody else agrees with me on that.

Ok, so what YOU'RE saying is that a good rule is:

if I define a sting str, then I should use N_() where I define it:

        string str = N_("some very interesting text");

And then when I pass it to xforms use _() there

        fl_set_object_label(obj, _(str));

This seems to be a good way to go too. I'm just looking for consistency.

If this is the case, then all I'm missing in FormPreferences is the final _() 
bit. The N_() bits can stay as they are.

Angus

Reply via email to