From 4a8c43aa324beff5bebfa9a699b1dc4b29020731 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Wed, 16 Feb 2011 12:46:59 -0600 Subject: I18n update. Hard-coded messages through out the code have been replaced by i18n messages obtained from json_metadata and i18n_messages. --- install/ui/group.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'install/ui/group.js') diff --git a/install/ui/group.js b/install/ui/group.js index 8b7fc46b..d2e35e25 100644 --- a/install/ui/group.js +++ b/install/ui/group.js @@ -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' }))). -- cgit