https://sourceware.org/bugzilla/show_bug.cgi?id=33837
Bug ID: 33837
Summary: Hard-coded plural in readelf.c
Product: binutils
Version: 2.46
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: fmarchal at perso dot be
Target Milestone: ---
In readelf.c at line 21592, there is a hard coded plural:
21592 if (entries == 1)
21593 printf (_("\nGlobal Offset Table '%s' contains 1 entry:\n"),
21594 name);
21595 else
21596 printf (_("\nGlobal Offset Table '%s' contains %" PRIu64
21597 " entries:\n"), name, entries);
It assumes 1 is singular and everything else is plural. This is valid for
English but not for other languages. That construct can't be translated
accurately.
See gettext documentation for more information about the issue with plural:
https://www.gnu.org/software/gettext/manual/html_node/Plural-forms.html
--
You are receiving this mail because:
You are on the CC list for the bug.