summaryrefslogtreecommitdiffstats
path: root/install/ui/hostgroup.js
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-02-16 12:46:59 -0600
committerAdam Young <ayoung@redhat.com>2011-02-21 15:36:32 -0500
commit4a8c43aa324beff5bebfa9a699b1dc4b29020731 (patch)
tree35d4ed4076e0c8e098946c8d96290f03699657a3 /install/ui/hostgroup.js
parent2e25b2ed27ebe7a0a612d120bda6a23596e21b64 (diff)
downloadfreeipa-4a8c43aa324beff5bebfa9a699b1dc4b29020731.tar.gz
freeipa-4a8c43aa324beff5bebfa9a699b1dc4b29020731.tar.xz
freeipa-4a8c43aa324beff5bebfa9a699b1dc4b29020731.zip
I18n update.
Hard-coded messages through out the code have been replaced by i18n messages obtained from json_metadata and i18n_messages.
Diffstat (limited to 'install/ui/hostgroup.js')
-rw-r--r--install/ui/hostgroup.js9
1 files changed, 6 insertions, 3 deletions
diff --git a/install/ui/hostgroup.js b/install/ui/hostgroup.js
index 6b7cb0a57..4738a26d6 100644
--- a/install/ui/hostgroup.js
+++ b/install/ui/hostgroup.js
@@ -34,7 +34,7 @@ IPA.entity_factories.hostgroup = function() {
that.facet(
IPA.search_facet({
name: 'search',
- label: 'Search',
+ label: IPA.messages.facets.search,
entity_name: that.name
}).
column({name:'cn'}).
@@ -42,7 +42,7 @@ IPA.entity_factories.hostgroup = function() {
dialog(
IPA.add_dialog({
name: 'add',
- title: 'Add Hostgroup'
+ title: IPA.messages.objects.hostgroup.add
}).
field(IPA.text_widget({name: 'cn', undo: false})).
field(IPA.text_widget({name: 'description', undo: false}))));
@@ -50,7 +50,10 @@ IPA.entity_factories.hostgroup = function() {
that.facet(
IPA.details_facet({name:'details'}).
section(
- IPA.stanza({name:'identity', label:'Hostgroup Settings'}).
+ IPA.stanza({
+ name: 'identity',
+ label: IPA.messages.objects.hostgroup.identity
+ }).
input({name:'cn'}).
input({name: 'description'})));