Red Hat Bugzilla – Bug 854388
Contract(s) Listing Update in My Installed Products Details Pane
Last modified: 2013-02-21 03:55:59 EST
Description of problem:
It would be nice if we got rid of our generic contract(s) string, and had unique strings for single contracts and multiple contracts. This is displayed in the My Installed Products tab, down in the Product's Subscription Details pane, in Certificate Status.
"Covered by contract(s) [Contract Number] through [End Date]"
"Covered by contract [Contract Number] through [End Date]"
"Covered by contracts [Contract Number] and [Contract Number] through [earliest End Date]"
"Covered by contracts [Contract Number], [Contract Number] and [Contract Number] through [earliest End Date]"
Is it trivial to have the last contract (as long as there are 2+) be prefixed with an 'and' and have any subsequent ones use a comma?
Author: Adrian Likins <email@example.com>
Date: Fri Nov 16 14:38:39 2012 -0500
854388: use ngettext to specify contract/contracts
Author: William Poteat <firstname.lastname@example.org>
Date: Sun Nov 18 19:17:37 2012 -0500
854388: Make comma separated list include 'and'
Replace the last comma with and to make proper grammar
Created attachment 664697 [details]
Covered by contract
Moving to verified!!
[root@rhel-64-server ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 0.7.21-1
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.