From 3c9105c0718ebac7bbdf086576cabf48c2b3a70b Mon Sep 17 00:00:00 2001 From: dharini Date: Tue, 15 Feb 2022 12:55:40 -0800 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20move=20translations?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- addons/core/translations/actions/en-us.yaml | 1 + addons/core/translations/en-us.yaml | 5 ----- addons/core/translations/form/en-us.yaml | 6 ++++++ .../app/components/form/host-catalog/aws/index.hbs | 4 ++-- .../app/components/form/host-catalog/azure/index.hbs | 12 ++++++------ ui/admin/app/components/form/host-set/aws/index.hbs | 4 ++-- .../app/components/form/host-set/azure/index.hbs | 4 ++-- 7 files changed, 19 insertions(+), 17 deletions(-) diff --git a/addons/core/translations/actions/en-us.yaml b/addons/core/translations/actions/en-us.yaml index 118c5f601..9c97d54af 100644 --- a/addons/core/translations/actions/en-us.yaml +++ b/addons/core/translations/actions/en-us.yaml @@ -36,3 +36,4 @@ toggle-secret: Toggle secret visibility minimize: Minimize fullscreen: Fullscreen clear-all-filters: Clear all filters +learn-more: Learn more \ No newline at end of file diff --git a/addons/core/translations/en-us.yaml b/addons/core/translations/en-us.yaml index 1da3accf0..6dc0f659b 100644 --- a/addons/core/translations/en-us.yaml +++ b/addons/core/translations/en-us.yaml @@ -30,11 +30,8 @@ titles: label: Label value: Value no-results: No Results - learn-more: Learn more choose-a-provider: Choose a provider provider: Provider - filter: Filter - secret: Client secret value descriptions: empty-set: There are no items to display yet. You may be able to add items or try back later. origin-initialization: To get started, please enter your origin URL @@ -43,8 +40,6 @@ descriptions: no-results: We found no matching records. choose-a-provider: There are several built-in plugins for the most common providers. You can choose from on of the included plugins or use a custom plugin. provider: This is the provider for this host catalog. The format of the host set filters are specific to each provider. - filter: Create a filter to select resources using values such as tag name or tag value. Filter format is specific to each provider - secret: The client secret value for the client you want Boundary to use questions: delete-confirm: Are you sure you want to delete this resource? remove-confirm: Are you sure you want to remove this association? diff --git a/addons/core/translations/form/en-us.yaml b/addons/core/translations/form/en-us.yaml index 8aef87403..db37a97b1 100644 --- a/addons/core/translations/form/en-us.yaml +++ b/addons/core/translations/form/en-us.yaml @@ -135,3 +135,9 @@ region: azure_client_id: label: Client ID help: The client ID for the client you want Boundary to use. +secret: + label: Client secret value + help: The client secret value for the client you want Boundary to use +host_set_filter: + label: Filter + help: Create a filter to select resources using values such as tag name or tag value. Filter format is specific to each provider \ No newline at end of file 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 7a15bee5a..1cd589af5 100644 --- a/ui/admin/app/components/form/host-catalog/aws/index.hbs +++ b/ui/admin/app/components/form/host-catalog/aws/index.hbs @@ -139,7 +139,7 @@ @value={{@model.access_key_id}} @label={{t 'form.access_key_id.label'}} @helperText={{t 'form.access_key_id.help'}} - @linkText={{t 'titles.learn-more'}} + @linkText={{t 'actions.learn-more'}} readonly={{false}} /> @@ -149,7 +149,7 @@ @value={{@model.secret_access_key}} @label={{t 'form.secret_access_key.label'}} @helperText={{t 'form.secret_access_key.help'}} - @linkText={{t 'titles.learn-more'}} + @linkText={{t 'actions.learn-more'}} readonly={{false}} /> {{#if (can 'save model' @model)}} diff --git a/ui/admin/app/components/form/host-catalog/azure/index.hbs b/ui/admin/app/components/form/host-catalog/azure/index.hbs index 007a83426..18d612db0 100644 --- a/ui/admin/app/components/form/host-catalog/azure/index.hbs +++ b/ui/admin/app/components/form/host-catalog/azure/index.hbs @@ -132,7 +132,7 @@ @value={{@model.tenant_id}} @label={{t 'form.tenant_id.label'}} @helperText={{t 'form.tenant_id.help'}} - @linkText={{t 'titles.learn-more'}} + @linkText={{t 'actions.learn-more'}} readonly={{false}} /> @@ -142,7 +142,7 @@ @value={{@model.subscription_id}} @label={{t 'form.subscription_id.label'}} @helperText={{t 'form.subscription_id.help'}} - @linkText={{t 'titles.learn-more'}} + @linkText={{t 'actions.learn-more'}} readonly={{false}} /> @@ -152,16 +152,16 @@ @value={{@model.client_id}} @label={{t 'form.azure_client_id.label'}} @helperText={{t 'form.azure_client_id.help'}} - @linkText={{t 'titles.learn-more'}} + @linkText={{t 'actions.learn-more'}} readonly={{false}} /> 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 9d00ff2a4..5f0d0e078 100644 --- a/ui/admin/app/components/form/host-set/aws/index.hbs +++ b/ui/admin/app/components/form/host-set/aws/index.hbs @@ -76,8 +76,8 @@ {{! placeholder for filter, update me when the model is ready }} - <:title>{{t 'titles.filter'}} - <:description>{{t 'descriptions.filter'}} + <:title>{{t 'form.host_set_filter.label'}} + <:description>{{t 'form.host_set_filter.help'}} <:body> {{#if @model.errors.filters}} diff --git a/ui/admin/app/components/form/host-set/azure/index.hbs b/ui/admin/app/components/form/host-set/azure/index.hbs index 048b7b042..da22bf67f 100644 --- a/ui/admin/app/components/form/host-set/azure/index.hbs +++ b/ui/admin/app/components/form/host-set/azure/index.hbs @@ -79,8 +79,8 @@ @name='filter' @type='filter' @value={{@model.filter}} - @label={{t 'titles.filter'}} - @helperText={{t 'descriptions.filter'}} + @label={{t 'form.host_set_filter.label'}} + @helperText={{t 'form.host_set_filter.help'}} @linkText={{t 'form. tiltes.learn-more'}} @error={{@model.errors.description}} disabled={{@model.isSaving}}