From 6af5755de595cc85b1f878710f834f43a23bf41c Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Mon, 24 Oct 2011 19:20:14 -0500 Subject: 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 --- install/ui/add.js | 4 ++-- install/ui/association.js | 6 +++--- install/ui/automount.js | 4 ++-- install/ui/dialog.js | 2 +- install/ui/dns.js | 4 ++-- install/ui/entity.js | 2 +- install/ui/group.js | 2 +- install/ui/host.js | 4 ++-- install/ui/service.js | 6 +++--- install/ui/test/data/ipa_init.json | 9 ++++----- ipalib/plugins/internal.py | 9 ++++----- 11 files changed, 25 insertions(+), 27 deletions(-) diff --git a/install/ui/add.js b/install/ui/add.js index fd99b02c..65b7711e 100644 --- a/install/ui/add.js +++ b/install/ui/add.js @@ -23,7 +23,7 @@ /* REQUIRES: ipa.js */ -IPA.add_dialog = function (spec) { +IPA.entity_adder_dialog = function(spec) { spec = spec || {}; @@ -192,7 +192,7 @@ IPA.add_dialog = function (spec) { }; // methods that should be invoked by subclasses - that.add_dialog_create = that.create; + that.entity_adder_dialog_create = that.create; init(); diff --git a/install/ui/association.js b/install/ui/association.js index ebb6e421..d3b66132 100644 --- a/install/ui/association.js +++ b/install/ui/association.js @@ -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); $('