Re: Woah
| From: | Chuck Hagenbuch | Date: | Sat, 08 Sep 2001 02:16:42 +0000 |
| Subject: | Re: Woah | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-65406@lists.php.net to get a copy of this message | ||
Quoting Zeev Suraski <zeev@zend.com>:
> Why the heck do we have:
>
> PHP_FALIAS(_, gettext, NULL)
>
> in ext/gettext/gettext.c
It's a standard alias in the c library as well:
http://www.gnu.org/manual/gettext/html_mono/gettext.html#SEC15
It makes code look a lot less convoluted, when you just wrap strings in _()
instead of having gettext() all over the place.
-chuck
--
Charles Hagenbuch, <chuck@horde.org>
Some fallen angels have their good reasons.