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
This commit is contained in:
Endi S. Dewata
2011-06-23 19:48:50 -05:00
committed by Adam Young
parent d49bf3871b
commit 8d9575605d
25 changed files with 57 additions and 4 deletions

View File

@@ -98,6 +98,7 @@ class group(LDAPObject):
rdnattr = 'cn'
label = _('User Groups')
label_singular = _('user group')
takes_params = (
Str('cn',