Re: _() macro?



>>>>> "Ron" == Ron Steinke <rsteinke w-link net> writes:

> I'm seeing a lot of elements like:
> _("some string")

> in function calls. Is _() a macro? What does it do?

It either calls gettext with the string as a parameter so that the
program uses the translated strings. Otherwise (if i18n is not enabled
during compilation) it just returns the same string.


W.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]