From fcff33fb511db5ffe5c7809bb1a4593f2e681718 Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Wed, 3 Apr 2013 18:18:57 +0200 Subject: 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 --- install/ui/src/freeipa/automount.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'install/ui/src/freeipa/automount.js') 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', -- cgit