add translations

This commit is contained in:
dharini committed 2022-02-02 14:39:08 -08:00
1 parent bd5a7c0aa9
commit aed6efe565
5 files changed
+33 -76

No files matched your search

@@ -13,6 +13,7 @@
@label={{t 'form.name.label'}}
@helperText={{t 'form.name.help'}}
@error={{@model.errors.name}}
disabled={{@model.isSaving}}
readonly={{false}}
as |field|
>
@@ -81,16 +82,18 @@
as |radioGroup|
>
<radioGroup.card
@label='AWS'
@label={{t 'resources.host-catalog.form.types.aws'}}
@value='aws'
@helperText={{t 'resources.host-catalog.form.types.static.help'}}
@layout='tile'
@icon='flight-icons/svg/aws-color-16'
/>
<radioGroup.card
@label='Azure'
@label={{t 'resources.host-catalog.form.types.aws'}}
@value='azure'
@helperText={{t 'resources.host-catalog.form.types.dynamic.help'}}
@layout='tile'
@icon='flight-icons/svg/azure-color-16'
/>
</form.radioGroup>
</:body>
@@ -106,10 +109,11 @@
as |radioGroup|
>
<radioGroup.card
@label='AWS'
@label={{t 'resources.host-catalog.form.types.aws'}}
@value='aws'
@helperText={{t 'resources.host-catalog.form.types.static.help'}}
@layout='tile'
@icon='flight-icons/svg/aws-color-16'
/>
</form.radioGroup>
</:body>
@@ -119,27 +123,11 @@
<form.input
@name='Region'
@type='region'
@value='region'
@label='AWS Region'
@value={{@model.region}}
@label={{t 'form.region.label'}}
readonly={{false}}
/>
{{!-- <form.input
@name='accesskey'
@type='accesskey'
@value='accesskey'
@label='Access key ID'
readonly={{false}}
/>
<form.input
@name='secretaccesskey'
@type='secretaccesskey'
@value='secretaccesskey'
@label='Secret Access Key'
readonly={{false}}
/> --}}
{{#if (can 'save model' @model)}}
<form.actions
@disabled={{if @model.cannotSave @model.cannotSave}}
@@ -13,6 +13,7 @@
@label={{t 'form.name.label'}}
@helperText={{t 'form.name.help'}}
@error={{@model.errors.name}}
disabled={{@model.isSaving}}
readonly={{false}}
as |field|
>
@@ -81,16 +82,18 @@
as |radioGroup|
>
<radioGroup.card
@label='AWS'
@label={{t 'resources.host-catalog.form.types.aws'}}
@value='aws'
@helperText={{t 'resources.host-catalog.form.types.static.help'}}
@layout='tile'
@icon='flight-icons/svg/aws-color-16'
/>
<radioGroup.card
@label='Azure'
@label={{t 'resources.host-catalog.form.types.azure'}}
@value='azure'
@helperText={{t 'resources.host-catalog.form.types.dynamic.help'}}
@layout='tile'
@icon='flight-icons/svg/azure-color-16'
/>
</form.radioGroup>
</:body>
@@ -106,10 +109,11 @@
as |radioGroup|
>
<radioGroup.card
@label='Azure'
@label={{t 'resources.host-catalog.form.types.azure'}}
@value='azure'
@helperText={{t 'resources.host-catalog.form.types.dynamic.help'}}
@layout='tile'
@icon='flight-icons/svg/azure-color-16'
/>
</form.radioGroup>
</:body>
@@ -119,27 +123,11 @@
<form.input
@name='tenant_id'
@type='tenant_id'
@value='tenant_id'
@label='Tenant ID'
@value={{@model.tenant_id}}
@label={{t 'form.tenant_id.label'}}
readonly={{false}}
/>
{{!-- <form.input
@name='accesskey'
@type='accesskey'
@value='accesskey'
@label='Access key ID'
readonly={{false}}
/>
<form.input
@name='secretaccesskey'
@type='secretaccesskey'
@value='secretaccesskey'
@label='Secret Access Key'
readonly={{false}}
/> --}}
{{#if (can 'save model' @model)}}
<form.actions
@disabled={{if @model.cannotSave @model.cannotSave}}
@@ -148,4 +136,5 @@
@cancelText={{t 'actions.cancel'}}
/>
{{/if}}
</Rose::Form>
@@ -4,35 +4,4 @@
submit=@submit
cancel=@cancel
changeType=@changeType
}}
{{!-- {{#if @model.isStatic}}
{{component
(concat 'form/host-catalog/' @model.type)
model=@model
submit=@submit
cancel=@cancel
form=form
toggleType=this.toggleType
showDynamicPlugins=this.showDynamicPlugins
}}
{{else if @model.isPlugin}}
Model is plugin
{{#if @model.isAWS}}
Model is Aws
{{else if @model.isAzure}}
Model is Azure
{{/if}}
{{/if}} --}}
{{!-- {{#if @model.type}}
{{component
(concat 'form/auth-method/' @model.type)
model=@model
submit=@submit
cancel=@cancel
removeItemByIndex=@removeItemByIndex
addStringItem=@addStringItem
addAccountClaimMapItem=@addAccountClaimMapItem
}}
{{/if}} --}}
}}
@@ -13,6 +13,7 @@
@label={{t 'form.name.label'}}
@helperText={{t 'form.name.help'}}
@error={{@model.errors.name}}
disabled={{@model.isSaving}}
readonly={{false}}
as |field|
>
@@ -82,13 +83,13 @@
as |radioGroup|
>
<radioGroup.card
@label='AWS'
@label={{t 'resources.host-catalog.form.types.aws'}}
@value='aws'
@helperText={{t 'resources.host-catalog.form.types.static.help'}}
@layout='tile'
/>
<radioGroup.card
@label='Azure'
@label={{t 'resources.host-catalog.form.types.azure'}}
@value='azure'
@helperText={{t 'resources.host-catalog.form.types.dynamic.help'}}
@layout='tile'