This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: i18n; Was: [RFA] breakpoints.c clear_command fix


> Date: Fri, 05 Apr 2002 21:40:19 -0500
> From: Andrew Cagney <ac131313@cygnus.com>
> 
> >  if (from_tty)
> > !     printf_unfiltered ("Deleted breakpoint%s ", found->next ? "s" : "");
> > !
> 
> Completly off topic.  We're not ment to use this ``trick'' any more :-( 
>   It doesn't work with i18n.

That's true: this trick assumes English or something very similar.  It
doesn't work in languages that have several plural forms, not just 2,
and where the whole phrase might need non-trivial changes for
different numbers of breakpoints.

Btw, when (in what version) is it planned to add gettext support to
GDB?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]