Bug 106176 - Please use ngettext for handling plurals in chkconfig
Summary: Please use ngettext for handling plurals in chkconfig
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux Beta
Classification: Retired
Component: chkconfig
Version: beta2
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Ben Levenson
URL: http://developer.gnome.org/doc/tutori...
Whiteboard:
: 154313 (view as bug list)
Depends On:
Blocks: 106150
TreeView+ depends on / blocked
 
Reported: 2003-10-03 14:22 UTC by Christian Rose
Modified: 2014-03-17 02:39 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-02-02 21:21:03 UTC
Embargoed:


Attachments (Terms of Use)

Description Christian Rose 2003-10-03 14:22:21 UTC
#: ../alternatives.c:661
#, c-format
msgid "There are %d programs which provide '%s'.\n"


It would be nice to handle singular/plural here. In that case, please use
ngettext as mentioned in
http://developer.gnome.org/doc/tutorials/gnome-i18n/developer.html#plurals.
A simple code example of code using ngettext:

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

Comment 1 Bill Nottingham 2005-02-02 21:21:03 UTC
Done in 1.3.14-1.

Comment 2 Bill Nottingham 2005-10-07 19:31:34 UTC
*** Bug 154313 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.