mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
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:
committed by
Adam Young
parent
a746c613a4
commit
4bd85ceb90
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user