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:
Endi S. Dewata
2011-02-16 12:46:59 -06:00
committed by Adam Young
parent 2e25b2ed27
commit 4a8c43aa32
28 changed files with 1008 additions and 901 deletions

View File

@@ -37,21 +37,23 @@ IPA.entity_factories.group = function () {
dialog(
IPA.add_dialog({
'name': 'add',
'title': 'Add New Group'
'title': IPA.messages.objects.group.add
}).
field(IPA.text_widget({name: 'cn', undo: false})).
field(IPA.text_widget({name: 'description', undo: false})).
// TODO: Replace with i18n label
field(IPA.checkbox_widget({
name: 'posix',
label: 'Is this a POSIX group?',
label: IPA.messages.objects.group.posix,
undo: false,
checked: 'checked'})).
field(IPA.text_widget({name: 'gidnumber', undo: false})))).
facet(
IPA.details_facet().
section(
IPA.stanza({label: 'Group Settings' }).
IPA.stanza({
name: 'details',
label: IPA.messages.objects.group.details
}).
input({name: 'cn' }).
input({name: 'description'}).
input({name: 'gidnumber' }))).