bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Assorted i18n bugs with gprof


From: Nick Clifton
Subject: Re: Assorted i18n bugs with gprof
Date: 02 Jan 2002 15:51:22 +0000
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1

Hi Christian,

> While translating bfd 2.11 into Swedish, I have encountered some
> messages from the source that are problematic with regard to
> internationalization.

> BUG 1
> -----
> cg_print.c:78
> 
>       printf ("%-6.6s %5.5s %7.7s %11.11s %7.7s+%-7.7s %-8.8s\t%5.5s\n",
>               _("index"), _("%time"), _("self"), _("descendents"),
>               _("called"), _("self"), _("name"), _("index"));
> 
> I believe "descendents" here should really be "descendants". A typo?

Yup - fixed.

> BUG 2
> -----
> gmon_io.c:350
> 
>       printf (_("\t%d histogram record%s\n"),
>               nhist, nhist == 1 ? "" : "s");
>       printf (_("\t%d call-graph record%s\n"),
>               narcs, narcs == 1 ? "" : "s");
>       printf (_("\t%d basic-block count record%s\n"),
>               nbbs, nbbs == 1 ? "" : "s");
> 
> And if you instead use ngettext() you also solve the second problem:
> 
>   printf (ngettext ("\t%d histogram record\n",
>                     "\t%d histogram records\n", nhist), nhist);

A good idea - I have done this.

Cheers
        Nick




reply via email to

[Prev in Thread] Current Thread [Next in Thread]