> 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
- Some messages won't get translated Pauli Virtanen
- Re: Some messages won't get translated Angus Leeming
- Re: Some messages won't get translated Dekel Tsur
- Re: Some messages won't get translated Angus Leeming
- Re: Some messages won't get translat... Lars Gullik Bjønnes
- Re: Some messages won't get translated Angus Leeming
- Re: Some messages won't get translat... Jean-Marc Lasgouttes
- Re: Some messages won't get tra... Angus Leeming
- Re: Some messages won't get... Jean-Marc Lasgouttes
- Re: Some messages won't get... Lars Gullik Bjønnes
- Re: Some messages won't... Angus Leeming
- Re: Some messages won't... Lars Gullik Bjønnes
- Re: Some messages won't get translat... Dekel Tsur
- Re: Some messages won't get tra... Angus Leeming
- Re: Some messages won't get... Lars Gullik Bjønnes
- Re: Some messages won't... Angus Leeming
- Re: Some messages won't... Angus Leeming
- Re: Some messages won't... Lars Gullik Bjønnes
- PATCH: Re: Some message... Angus Leeming
- Re: PATCH: Re: Some mes... Allan Rae
- Re: PATCH: Re: Some mes... Angus Leeming