summaryrefslogtreecommitdiffstats
path: root/install/ui/src/freeipa/automount.js
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2013-04-03 18:18:57 +0200
committerPetr Vobornik <pvoborni@redhat.com>2013-05-06 16:22:21 +0200
commitfcff33fb511db5ffe5c7809bb1a4593f2e681718 (patch)
tree31af15433d3e1a9df92f86a54eb56d8fcd2ebab9 /install/ui/src/freeipa/automount.js
parent12f5f4cfdd38c2a29c8e6eeac17557f4e7731307 (diff)
downloadfreeipa-fcff33fb511db5ffe5c7809bb1a4593f2e681718.tar.gz
freeipa-fcff33fb511db5ffe5c7809bb1a4593f2e681718.tar.xz
freeipa-fcff33fb511db5ffe5c7809bb1a4593f2e681718.zip
Replace IPA.messages with @i18n definition for label specs
Replaced by execution of ls | grep .js | xargs sed -i -r "s/label: IPA.messages\.((.\w+)+)/label: '@i18n:\1'/" https://fedorahosted.org/freeipa/ticket/3235
Diffstat (limited to 'install/ui/src/freeipa/automount.js')
-rw-r--r--install/ui/src/freeipa/automount.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/install/ui/src/freeipa/automount.js b/install/ui/src/freeipa/automount.js
index 8df1f822a..bc3e06ef5 100644
--- a/install/ui/src/freeipa/automount.js
+++ b/install/ui/src/freeipa/automount.js
@@ -47,7 +47,7 @@ IPA.automount.location_entity = function(spec) {
sections:[
{
name: 'identity',
- label: IPA.messages.details.identity,
+ label: '@i18n:details.identity',
fields: [ 'cn' ]
}
]
@@ -90,7 +90,7 @@ IPA.automount.map_entity = function(spec) {
sections: [
{
name: 'identity',
- label: IPA.messages.details.identity,
+ label: '@i18n:details.identity',
fields: [
'automountmapname',
{
@@ -111,15 +111,15 @@ IPA.automount.map_entity = function(spec) {
type: 'radio',
name: 'method',
enabled: false, //don't use value in add command
- label: IPA.messages.objects.automountmap.map_type,
+ label: '@i18n:objects.automountmap.map_type',
options: [
{
value: 'add',
- label: IPA.messages.objects.automountmap.direct
+ label: '@i18n:objects.automountmap.direct'
},
{
value: 'add_indirect',
- label: IPA.messages.objects.automountmap.indirect
+ label: '@i18n:objects.automountmap.indirect'
}
]
},
@@ -175,7 +175,7 @@ IPA.automount.key_entity = function(spec) {
sections: [
{
name:'identity',
- label: IPA.messages.details.identity,
+ label: '@i18n:details.identity',
fields: [
{
name: 'automountkey',