summaryrefslogtreecommitdiffstats
path: root/install/ui/automount.js
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-06-30 14:33:33 -0400
committerAdam Young <ayoung@redhat.com>2011-06-30 14:50:09 -0400
commit2a527234656a08342259ebc30af38b68a592ba8a (patch)
treebc51d3040bddff6fb4705a3630cafd20ecbc8541 /install/ui/automount.js
parentd70ba68401b21cf3e46b0f9ff7005ddd77cefd80 (diff)
downloadfreeipa.git-2a527234656a08342259ebc30af38b68a592ba8a.tar.gz
freeipa.git-2a527234656a08342259ebc30af38b68a592ba8a.tar.xz
freeipa.git-2a527234656a08342259ebc30af38b68a592ba8a.zip
Fixed hard-coded messages.
Hard-coded messages in the UI have been replaced with I18n messages. Ticket #1396
Diffstat (limited to 'install/ui/automount.js')
-rw-r--r--install/ui/automount.js20
1 files changed, 11 insertions, 9 deletions
diff --git a/install/ui/automount.js b/install/ui/automount.js
index d4f113d5..56c1fbfa 100644
--- a/install/ui/automount.js
+++ b/install/ui/automount.js
@@ -87,21 +87,23 @@ IPA.entity_factories.automountmap = function() {
fields:[{factory:IPA.method_radio_widget,
name: 'method',
undo: false,
- label:'Map Type',
- options:[{value:'add',label:'Direct'},
- {value:'add_indirect',label:'Indirect'}]
+ label: IPA.messages.objects.automountmap.map_type,
+ options: [
+ { value: 'add', label: IPA.messages.objects.automountmap.direct },
+ { value: 'add_indirect', label: IPA.messages.objects.automountmap.indirect }
+ ]
},
'automountmapname','description',
{
- name:'key',
- label:'Mount Point',
- conditional:true,
+ name: 'key',
+ label: IPA.get_method_option('automountmap_add_indirect', 'key').label,
+ conditional: true,
undo: false
},
{
- name:'parentmap',
- label:'Parent Map',
- conditional:true,
+ name: 'parentmap',
+ label: IPA.get_method_option('automountmap_add_indirect', 'parentmap').label,
+ conditional: true,
undo: false
}]
}).