diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2013-04-03 18:18:57 +0200 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2013-05-06 16:22:21 +0200 |
commit | fcff33fb511db5ffe5c7809bb1a4593f2e681718 (patch) | |
tree | 31af15433d3e1a9df92f86a54eb56d8fcd2ebab9 /install/ui/src/freeipa/idrange.js | |
parent | 12f5f4cfdd38c2a29c8e6eeac17557f4e7731307 (diff) | |
download | freeipa-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/idrange.js')
-rw-r--r-- | install/ui/src/freeipa/idrange.js | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/install/ui/src/freeipa/idrange.js b/install/ui/src/freeipa/idrange.js index 847bc98ab..cfc58396a 100644 --- a/install/ui/src/freeipa/idrange.js +++ b/install/ui/src/freeipa/idrange.js @@ -47,27 +47,27 @@ IPA.idrange.entity = function(spec) { 'iparangetype', { name: 'ipabaseid', - label: IPA.messages.objects.idrange.ipabaseid, + label: '@i18n:objects.idrange.ipabaseid', tooltip: IPA.get_entity_param('idrange', 'ipabaseid').label }, { name: 'ipaidrangesize', - label: IPA.messages.objects.idrange.ipaidrangesize, + label: '@i18n:objects.idrange.ipaidrangesize', tooltip: IPA.get_entity_param('idrange', 'ipaidrangesize').label }, { name: 'ipabaserid', - label: IPA.messages.objects.idrange.ipabaserid, + label: '@i18n:objects.idrange.ipabaserid', tooltip: IPA.get_entity_param('idrange', 'ipabaserid').label }, { name: 'ipasecondarybaserid', - label: IPA.messages.objects.idrange.ipasecondarybaserid, + label: '@i18n:objects.idrange.ipasecondarybaserid', tooltip: IPA.get_entity_param('idrange', 'ipasecondarybaserid').label }, { name: 'ipanttrusteddomainsid', - label: IPA.messages.objects.idrange.ipanttrusteddomainsid, + label: '@i18n:objects.idrange.ipanttrusteddomainsid', tooltip: IPA.get_entity_param('idrange', 'ipanttrusteddomainsid').label } ] @@ -82,31 +82,31 @@ IPA.idrange.entity = function(spec) { }, { name: 'ipabaseid', - label: IPA.messages.objects.idrange.ipabaseid, + label: '@i18n:objects.idrange.ipabaseid', tooltip: IPA.get_entity_param('idrange', 'ipabaseid').label, widget: 'idrange.ipabaseid' }, { name: 'ipaidrangesize', - label: IPA.messages.objects.idrange.ipaidrangesize, + label: '@i18n:objects.idrange.ipaidrangesize', tooltip: IPA.get_entity_param('idrange', 'ipaidrangesize').label, widget: 'idrange.ipaidrangesize' }, { name: 'ipabaserid', - label: IPA.messages.objects.idrange.ipabaserid, + label: '@i18n:objects.idrange.ipabaserid', tooltip: IPA.get_entity_param('idrange', 'ipabaserid').label, widget: 'idrange.ipabaserid' }, { name: 'ipasecondarybaserid', - label: IPA.messages.objects.idrange.ipasecondarybaserid, + label: '@i18n:objects.idrange.ipasecondarybaserid', tooltip: IPA.get_entity_param('idrange', 'ipasecondarybaserid').label, widget: 'type.ipasecondarybaserid' }, { name: 'ipanttrusteddomainsid', - label: IPA.messages.objects.idrange.ipanttrusteddomainsid, + label: '@i18n:objects.idrange.ipanttrusteddomainsid', tooltip: IPA.get_entity_param('idrange', 'ipanttrusteddomainsid').label, widget: 'type.ipanttrusteddomainsid' } @@ -125,18 +125,18 @@ IPA.idrange.entity = function(spec) { { type: 'multiple_choice_section', name: 'type', - label: IPA.messages.objects.idrange.type, + label: '@i18n:objects.idrange.type', choices: [ { name: 'local', - label: IPA.messages.objects.idrange.type_local, + label: '@i18n:objects.idrange.type_local', fields: ['ipasecondarybaserid'], required: ['ipasecondarybaserid'], enabled: true }, { name: 'ad', - label: IPA.messages.objects.idrange.type_ad, + label: '@i18n:objects.idrange.type_ad', fields: ['ipanttrusteddomainsid'], required: ['ipanttrusteddomainsid'] } |