This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: i18n, part 2
> Date: Tue, 7 Dec 2004 09:52:17 -0700
> From: Kevin Buettner <kevinb@redhat.com>
> Cc: gdb-patches@sources.redhat.com
>
> Could we use an alternate macro for such cases? This alternate macro
> would take two arguments, one of which is the string to be translated,
> the other. The other is simply a comment providing context for the
> translators. Perhaps something like this?
>
> #define __(str,context_comment) _(str)
I think this would require support in gettext; I don't know enough
about gettext facilities to tell if this is possible.
Anyway, if we want a comment-like solution, we could try doing
something to force gettext insert a comment into the gdb.pot file.
Again, I don't know if this is easy, but I'd assume it should be
possible. I'll look when I have time.