From fbfa45aaa8aff64f64a1e3b75b79bb17f3af7dd6 Mon Sep 17 00:00:00 2001 From: Susmitha Girumala Date: Mon, 5 Oct 2020 11:16:45 -0400 Subject: [PATCH] fix: Remove "optional" from all form helper text --- ui/core/app/components/form/target/index.hbs | 4 ++-- ui/core/translations/form/en-us.yaml | 7 ++----- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/ui/core/app/components/form/target/index.hbs b/ui/core/app/components/form/target/index.hbs index e3dfac4ad..20627adef 100644 --- a/ui/core/app/components/form/target/index.hbs +++ b/ui/core/app/components/form/target/index.hbs @@ -17,8 +17,8 @@ @name="name" @type="text" @value={{@model.name}} - @label={{t "form.name.required.label"}} - @helperText={{t "form.name.required.help"}} + @label={{t "form.name.label"}} + @helperText={{t "form.name.help"}} @error={{@model.errors.name}} as |field|> {{#if @model.errors.name}} diff --git a/ui/core/translations/form/en-us.yaml b/ui/core/translations/form/en-us.yaml index 5ad95e39b..1c91e98f5 100644 --- a/ui/core/translations/form/en-us.yaml +++ b/ui/core/translations/form/en-us.yaml @@ -2,13 +2,10 @@ id: label: ID name: label: Name - help: Optional name for identification purposes - required: - label: Name - help: Name is required for identification purposes + help: Name for identification purposes description: label: Description - help: Optional description for identification purposes + help: Description for identification purposes type: label: Type help: The type of the resource, to help differentiate schemas