Fixed "enroll" labels.

Labels using the word "enroll" (except for host enrollment) have
been modified to use more relevant words.

The IPA.add_dialog has been renamed into IPA.entity_adder_dialog
for clarity.

Ticket #1642
This commit is contained in:
Endi S. Dewata
2011-10-24 19:20:14 -05:00
parent 4322370942
commit 6af5755de5
11 changed files with 25 additions and 27 deletions

View File

@@ -889,7 +889,7 @@ IPA.association_facet = function (spec) {
that.add_button = IPA.action_button({
name: 'add',
label: IPA.messages.buttons.enroll,
label: IPA.messages.buttons.add,
icon: 'add-icon',
click: function() {
if (!that.add_button.hasClass('action-button-disabled')) {
@@ -923,7 +923,7 @@ IPA.association_facet = function (spec) {
}).appendTo(span);
$('<label/>', {
text: IPA.messages.association.direct_enrollment,
text: IPA.messages.association.direct_membership,
'for': direct_id
}).appendTo(span);
@@ -944,7 +944,7 @@ IPA.association_facet = function (spec) {
}).appendTo(span);
$('<label/>', {
text: IPA.messages.association.indirect_enrollment,
text: IPA.messages.association.indirect_membership,
'for': indirect_id
}).appendTo(span);
}