From: Andrew Cagney <ac131313@cygnus.com>
To: tromey@redhat.com
Cc: Elena Zannoni <ezannoni@redhat.com>, gdb-patches@sources.redhat.com
Subject: Re: RFA: start of i18n
Date: Fri, 21 Jun 2002 15:13:00 -0000 [thread overview]
Message-ID: <3D13A500.4070609@cygnus.com> (raw)
In-Reply-To: <15635.26155.499501.230768@localhost.redhat.com>
> Cool. The main.c part is approved.
And the rest. Just suggest moving:
> > +#ifdef HAVE_LOCALE_H
> > +# include <locale.h>
> > +#endif
> > +
> > +#ifdef ENABLE_NLS
> > +# include <libintl.h>
> > +# define _(String) gettext (String)
> > +# ifdef gettext_noop
> > +# define N_(String) gettext_noop (String)
> > +# else
> > +# define N_(String) (String)
> > +# endif
> > +#else
> > +# define gettext(Msgid) (Msgid)
> > +# define dgettext(Domainname, Msgid) (Msgid)
> > +# define dcgettext(Domainname, Msgid, Category) (Msgid)
> > +# define textdomain(Domainname) while (0) /* nothing */
> > +# define bindtextdomain(Domainname, Dirname) while (0) /* nothing */
> > +# define _(String) (String)
> > +# define N_(String) (String)
> > +#endif
> > +
to "gdb_locale.h" and then including that.
Does src/Makefile.in:all-gdb need any dependency tweaks?
_("dontforgettheaeroguardandavagoodweekend")
Andrew
next prev parent reply other threads:[~2002-06-21 22:13 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-21 10:10 Tom Tromey
2002-06-21 10:22 ` Andrew Cagney
2002-06-21 10:49 ` Tom Tromey
2002-06-21 12:06 ` Andrew Cagney
2002-06-21 13:13 ` Tom Tromey
2002-06-22 2:47 ` Eli Zaretskii
2002-06-22 8:51 ` Andrew Cagney
2002-06-22 10:25 ` Eli Zaretskii
2002-06-26 20:15 ` Andrew Cagney
2002-06-21 10:46 ` Elena Zannoni
2002-06-21 10:50 ` Tom Tromey
2002-06-21 15:13 ` Andrew Cagney [this message]
2002-06-21 15:57 ` Tom Tromey
2002-06-21 16:13 ` Andrew Cagney
2002-06-21 16:45 ` Tom Tromey
2002-06-22 15:24 ` [patch] Update selftest.exp; Was: " Andrew Cagney
2002-06-22 18:13 ` Tom Tromey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3D13A500.4070609@cygnus.com \
--to=ac131313@cygnus.com \
--cc=ezannoni@redhat.com \
--cc=gdb-patches@sources.redhat.com \
--cc=tromey@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox