From 35fd198ceb948e3fd835323a311256d4d15d1591 Mon Sep 17 00:00:00 2001 From: dharini Date: Tue, 15 Feb 2022 11:32:27 -0800 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20refactor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- addons/core/translations/resources/en-us.yaml | 20 ++++++++----------- .../form/host-catalog/aws/index.hbs | 14 ++++++------- .../form/host-catalog/azure/index.hbs | 14 ++++++------- .../form/host-catalog/static/index.hbs | 12 +++++------ .../components/form/host-set/aws/index.hbs | 2 +- .../components/form/host-set/azure/index.hbs | 2 +- .../app/components/form/host/aws/index.hbs | 2 +- .../app/components/form/host/azure/index.hbs | 2 +- .../host-catalog-type-badge/index.hbs | 6 +++--- 9 files changed, 35 insertions(+), 39 deletions(-) diff --git a/addons/core/translations/resources/en-us.yaml b/addons/core/translations/resources/en-us.yaml index 8d4a00641..5b5b02e45 100644 --- a/addons/core/translations/resources/en-us.yaml +++ b/addons/core/translations/resources/en-us.yaml @@ -84,19 +84,15 @@ host-catalog: title: Welcome to Host Catalogs actions: delete: Delete Host Catalog + help: + static: Provide a list of hosts and host sets with static addresses + dynamic: Automate discovery of target hosts and services on Azure or AWS types: - static: - label: Static - help: Provide a list of hosts and host sets with static addresses - unknown: - label: Plugin - aws: - label: AWS - azure: - label: Azure - dynamic: - label: Dynamic - help: Automate discovery of target hosts and services on Azure or AWS + static: Static + unknown: Plugin + aws: AWS + azure: Azure + dynamic: Dynamic host-set: title: Host Set title_plural: Host Sets diff --git a/ui/admin/app/components/form/host-catalog/aws/index.hbs b/ui/admin/app/components/form/host-catalog/aws/index.hbs index 36ebed43a..71568288b 100644 --- a/ui/admin/app/components/form/host-catalog/aws/index.hbs +++ b/ui/admin/app/components/form/host-catalog/aws/index.hbs @@ -57,15 +57,15 @@ as |radioGroup| > @@ -91,13 +91,13 @@ as |radioGroup| > @@ -90,13 +90,13 @@ as |radioGroup| > @@ -92,12 +92,12 @@ as |radioGroup| > diff --git a/ui/admin/app/components/form/host-set/aws/index.hbs b/ui/admin/app/components/form/host-set/aws/index.hbs index f090e2d18..5e860c34e 100644 --- a/ui/admin/app/components/form/host-set/aws/index.hbs +++ b/ui/admin/app/components/form/host-set/aws/index.hbs @@ -65,7 +65,7 @@ as |radioGroup| > - {{t (concat 'resources.host-catalog.types.' @model.compositeType '.label')}} + {{t (concat 'resources.host-catalog.types.' @model.compositeType)}} {{else if @model.isUnknown}} - {{t (concat 'resources.host-catalog.types.' @model.compositeType '.label')}} + {{t (concat 'resources.host-catalog.types.' @model.compositeType)}} {{else}} - {{t (concat 'resources.host-catalog.types.' @model.compositeType '.label')}} + {{t (concat 'resources.host-catalog.types.' @model.compositeType)}} {{/if}} \ No newline at end of file