From 8d9575605dea3ca480f657c1ef3f94cab0d312f8 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Thu, 23 Jun 2011 19:48:50 -0500 Subject: Added singular entity labels. A new attribute label_singular has been added to all entities which contains the singular form of the entity label in lower cases except for acronyms (e.g. HBAC) or proper nouns (e.g. Kerberos). In the Web UI, this label can be capitalized using CSS text-transform. The existing 'label' attribute is intentionally left unchanged due to inconsistencies in the current values. It contains mostly the plural form of capitalized entity label, but some are singular. Also, it seems currently there is no comparable capitalization method on the server-side. So more work is needed before the label can be changed. Ticket #1249 --- ipalib/plugins/sudocmdgroup.py | 1 + 1 file changed, 1 insertion(+) (limited to 'ipalib/plugins/sudocmdgroup.py') diff --git a/ipalib/plugins/sudocmdgroup.py b/ipalib/plugins/sudocmdgroup.py index 3931111fc..49b172ea2 100644 --- a/ipalib/plugins/sudocmdgroup.py +++ b/ipalib/plugins/sudocmdgroup.py @@ -63,6 +63,7 @@ class sudocmdgroup(LDAPObject): } label = _('Sudo Command Groups') + label_singular = _('sudo command group') takes_params = ( Str('cn', -- cgit