After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 123861 - Please use ngettext for handling plurals in gnome-pilot
Please use ngettext for handling plurals in gnome-pilot
Status: RESOLVED WONTFIX
Product: gnome-pilot
Classification: Other
Component: general
unspecified
Other other
: Normal normal
: ---
Assigned To: gnome-pilot Maintainers
gnome-pilot Maintainers
gnome[unmaintained]
Depends on:
Blocks:
 
 
Reported: 2003-10-04 22:28 UTC by Danilo Segan
Modified: 2018-07-02 10:31 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Danilo Segan 2003-10-04 22:28:36 UTC
(Following paragraphs copied from bug 116236 verbatim)
As mentioned in
http://developer.gnome.org/doc/tutorials/gnome-i18n/developer.html#plurals,
the common way of handling plurals is broken for many locales. A way to
solve this is by using ngettext instead, as mentioned in that document.

A simple code example of code using ngettext:

  g_printf (ngettext ("Found %d file.", "Found %d files.", nbr_of_files),
nbr_of_files);



These are the relevant messages.

#: applet/pilot.c:277
msgid "%v of %u records"

#: gpilotd/manager.c:659
#, c-format
msgid "Instantiating %d conduits..."

The first should be "pluralized" on %u.
Comment 1 André Klapper 2018-07-02 10:31:54 UTC
gnome-pilot is not under active development anymore and has not seen code
changes for seven years. Its codebase has been archived:
https://gitlab.gnome.org/Archive/gnome-pilot/commits/master

Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect
reality. Please feel free to reopen this ticket (or rather transfer the project
to GNOME Gitlab, as GNOME Bugzilla is deprecated) if anyone takes the
responsibility for active development again.