diff options
author | Endi S. Dewata <edewata@redhat.com> | 2011-02-16 12:46:59 -0600 |
---|---|---|
committer | Adam Young <ayoung@redhat.com> | 2011-02-21 15:36:32 -0500 |
commit | 4a8c43aa324beff5bebfa9a699b1dc4b29020731 (patch) | |
tree | 35d4ed4076e0c8e098946c8d96290f03699657a3 /install/ui/group.js | |
parent | 2e25b2ed27ebe7a0a612d120bda6a23596e21b64 (diff) | |
download | freeipa-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/group.js')
-rw-r--r-- | install/ui/group.js | 10 |
1 files changed, 6 insertions, 4 deletions
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' }))). |