From e786eb7b1504d3b78b9f5017b9241ee44724da18 Mon Sep 17 00:00:00 2001 From: Susmitha Girumala Date: Tue, 6 Oct 2020 20:11:46 -0400 Subject: [PATCH 1/2] fix: Convert 'add' to 'create' in host catalog actions --- .../project/host-catalogs/host-catalog/-actions.hbs | 6 +++--- ui/core/translations/resources/en-us.yaml | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/ui/core/app/templates/scopes/scope/projects/project/host-catalogs/host-catalog/-actions.hbs b/ui/core/app/templates/scopes/scope/projects/project/host-catalogs/host-catalog/-actions.hbs index adbf2705f..3752a2734 100644 --- a/ui/core/app/templates/scopes/scope/projects/project/host-catalogs/host-catalog/-actions.hbs +++ b/ui/core/app/templates/scopes/scope/projects/project/host-catalogs/host-catalog/-actions.hbs @@ -3,13 +3,13 @@ @route="scopes.scope.projects.project.host-catalogs.host-catalog.hosts.new" @model={{@model}} > - {{t "resources.host.actions.add"}} + {{t "resources.host-catalog.actions.create-host"}} - {{t "resources.host-set.actions.add"}} + {{t "resources.host-catalog.actions.create-host-set"}} - {{t 'resources.host-catalog.actions.delete'}} + {{t "resources.host-catalog.actions.delete"}} diff --git a/ui/core/translations/resources/en-us.yaml b/ui/core/translations/resources/en-us.yaml index fccc4b485..38f596df0 100644 --- a/ui/core/translations/resources/en-us.yaml +++ b/ui/core/translations/resources/en-us.yaml @@ -56,6 +56,8 @@ host-catalog: title: Welcome to Host Catalogs actions: delete: Delete Host Catalog + create-host: Create Host + create-host-set: Create Host Set types: static: Static host-set: From 05e9e10191298b41a61de34c858fd0687c3fe890 Mon Sep 17 00:00:00 2001 From: Randall Morey Date: Wed, 7 Oct 2020 08:58:23 -0400 Subject: [PATCH 2/2] =?UTF-8?q?chore:=20=F0=9F=A4=96=20clean=20up=20transl?= =?UTF-8?q?ation=20refs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../projects/project/host-catalogs/host-catalog/-actions.hbs | 4 ++-- ui/core/translations/resources/en-us.yaml | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/ui/core/app/templates/scopes/scope/projects/project/host-catalogs/host-catalog/-actions.hbs b/ui/core/app/templates/scopes/scope/projects/project/host-catalogs/host-catalog/-actions.hbs index 3752a2734..96af1687a 100644 --- a/ui/core/app/templates/scopes/scope/projects/project/host-catalogs/host-catalog/-actions.hbs +++ b/ui/core/app/templates/scopes/scope/projects/project/host-catalogs/host-catalog/-actions.hbs @@ -3,13 +3,13 @@ @route="scopes.scope.projects.project.host-catalogs.host-catalog.hosts.new" @model={{@model}} > - {{t "resources.host-catalog.actions.create-host"}} + {{t "resources.host.actions.create"}} - {{t "resources.host-catalog.actions.create-host-set"}} + {{t "resources.host-set.actions.create"}}