Bug 106176

Summary: Please use ngettext for handling plurals in chkconfig
Product: [Retired] Red Hat Linux Beta Reporter: Christian Rose <menthos>
Component: chkconfigAssignee: Bill Nottingham <notting>
Status: CLOSED RAWHIDE QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: beta2CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://developer.gnome.org/doc/tutorials/gnome-i18n/developer.html#plurals
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-02-02 21:21:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 106150    

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. ***