From b4dbefb79be9f3af3ba8a4f21435775459f0303b Mon Sep 17 00:00:00 2001 From: Randall Morey Date: Mon, 7 Nov 2022 13:27:43 -0800 Subject: [PATCH] =?UTF-8?q?chore:=20=F0=9F=A4=96=20improve=20credential-st?= =?UTF-8?q?ores/new=20titling=20-=20icu-6723=20(#1421)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ✅ Closes: icu-6723 --- addons/core/translations/resources/en-us.yaml | 2 ++ ui/admin/app/controllers/scopes/scope/credential-stores/new.js | 2 +- .../app/templates/scopes/scope/credential-stores/index.hbs | 2 +- ui/admin/app/templates/scopes/scope/credential-stores/new.hbs | 3 ++- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/addons/core/translations/resources/en-us.yaml b/addons/core/translations/resources/en-us.yaml index 7dcc883f3..1d58a20b2 100644 --- a/addons/core/translations/resources/en-us.yaml +++ b/addons/core/translations/resources/en-us.yaml @@ -355,6 +355,8 @@ credential-store: messages: welcome: title: Welcome to Credential Stores + titles: + new: New Credential Store actions: delete: Delete Credential Store types: diff --git a/ui/admin/app/controllers/scopes/scope/credential-stores/new.js b/ui/admin/app/controllers/scopes/scope/credential-stores/new.js index 41db0548b..7d6161236 100644 --- a/ui/admin/app/controllers/scopes/scope/credential-stores/new.js +++ b/ui/admin/app/controllers/scopes/scope/credential-stores/new.js @@ -13,6 +13,6 @@ export default class ScopesScopeCredentialStoresNewController extends Controller * @type {string} */ get breadCrumb() { - return this.intl.t('titles.new'); + return this.intl.t('resources.credential-store.titles.new'); } } diff --git a/ui/admin/app/templates/scopes/scope/credential-stores/index.hbs b/ui/admin/app/templates/scopes/scope/credential-stores/index.hbs index 8c0f64db4..f87b5451a 100644 --- a/ui/admin/app/templates/scopes/scope/credential-stores/index.hbs +++ b/ui/admin/app/templates/scopes/scope/credential-stores/index.hbs @@ -21,7 +21,7 @@ @route='scopes.scope.credential-stores.new' @style='primary' > - {{t 'titles.new'}} + {{t 'resources.credential-store.titles.new'}} {{/if}} {{/if}} diff --git a/ui/admin/app/templates/scopes/scope/credential-stores/new.hbs b/ui/admin/app/templates/scopes/scope/credential-stores/new.hbs index c0b5cb288..eee591d77 100644 --- a/ui/admin/app/templates/scopes/scope/credential-stores/new.hbs +++ b/ui/admin/app/templates/scopes/scope/credential-stores/new.hbs @@ -7,9 +7,10 @@

- {{t 'titles.new'}} + {{t 'resources.credential-store.titles.new'}}

+

{{t 'resources.credential-store.description'}}