mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
I18n update.
Hard-coded messages through out the code have been replaced by i18n messages obtained from json_metadata and i18n_messages.
This commit is contained in:
committed by
Adam Young
parent
2e25b2ed27
commit
4a8c43aa32
@@ -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'})));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user