Re: glib gettext implementation
- From: Havoc Pennington <hp redhat com>
- To: Alex Larsson <alexl redhat com>
- Cc: <gtk-devel-list gnome org>
- Subject: Re: glib gettext implementation
- Date: 22 Aug 2001 10:30:30 -0400
Alex Larsson <alexl redhat com> writes:
> On 22 Aug 2001, Havoc Pennington wrote:
>
> >
> > Hi,
> >
> > Can we do something like:
> >
> > #ifndef G_DISABLE_GETTEXT_NAMESPACE_POLLUTION
> > #define _(x) whatever
> > #define N_(x) whatever
> > #endif
> >
> > Or if that's too audacious, maybe #ifdef G_ENABLE_CONVENIENT_GETTEXT
> > or something.
>
> Well. I guess this would help for apps. libraries still have to define
> these differently.
>
We can handle that too:
#ifdef G_ENABLE_GETTEXT_MACROS
#define _(x) gettext
#endif
#ifdef G_ENABLE_DGETTEXT_MACROS
#define _(x) dgettext
#endif
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]