Re: [Freeipa-devel] localized strings

2009-11-11 Thread John Dennis
On 11/11/2009 03:45 PM, Jason Gerard DeRose wrote: On Tue, 2009-11-10 at 20:42 -0500, John Dennis wrote: I was writing some new code and wanted to return an error message. Error messages need to be localized. Typically this is done via the _() method. But _() has to be defined and there are seve

Re: [Freeipa-devel] localized strings

2009-11-11 Thread Jason Gerard DeRose
On Tue, 2009-11-10 at 20:42 -0500, John Dennis wrote: > I was writing some new code and wanted to return an error message. Error > messages need to be localized. Typically this is done via the _() > method. But _() has to be defined and there are several ways that can > happen. So I went looking

Re: [Freeipa-devel] localized strings

2009-11-11 Thread Dmitri Pal
John Dennis wrote: > I was writing some new code and wanted to return an error message. > Error messages need to be localized. Typically this is done via the > _() method. But _() has to be defined and there are several ways that > can happen. So I went looking for existing usage in our code base.

[Freeipa-devel] localized strings

2009-11-10 Thread John Dennis
I was writing some new code and wanted to return an error message. Error messages need to be localized. Typically this is done via the _() method. But _() has to be defined and there are several ways that can happen. So I went looking for existing usage in our code base. I was surprised at how