Fixed label capitalization

The CSS text-transform sometimes produces incorrect capitalization,
so the code has been modified to use translated labels that already
contain the correct capitalization.

Ticket #1424
This commit is contained in:
Endi S. Dewata
2011-07-13 21:10:47 -05:00
committed by Adam Young
parent a746c613a4
commit 4bd85ceb90
33 changed files with 333 additions and 87 deletions

View File

@@ -188,7 +188,7 @@ class automountlocation(LDAPObject):
object_class = ['nscontainer']
default_attributes = ['cn']
label = _('Automount Locations')
label_singular = _('automount location')
label_singular = _('Automount Location')
takes_params = (
Str('cn',
@@ -513,7 +513,7 @@ class automountmap(LDAPObject):
)
label = _('Automount Maps')
label_singular = _('automount map')
label_singular = _('Automount Map')
api.register(automountmap)
@@ -605,7 +605,7 @@ class automountkey(LDAPObject):
num_parents = 2
label = _('Automount Keys')
label_singular = _('automount key')
label_singular = _('Automount Key')
already_exists_msg = _('The key,info pair must be unique. A key named %(key)s with info %(info)s already exists')
key_already_exists_msg = _('key named %(key)s already exists')
object_not_found_msg = _('The automount key %(key)s with info %(info)s does not exist')