From e13aaaa4d60f101a99336774d4d49f4d6dec6458 Mon Sep 17 00:00:00 2001 From: Randall Morey Date: Mon, 7 Nov 2022 14:37:10 -0800 Subject: [PATCH] =?UTF-8?q?chore:=20=F0=9F=A4=96=20improve=20credential-li?= =?UTF-8?q?braries/new=20titling=20-=20icu-6724=20(#1422)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ✅ Closes: icu-6724 --- addons/core/translations/resources/en-us.yaml | 2 ++ .../credential-store/credential-libraries/new.js | 2 +- .../credential-store/credential-libraries/new.hbs | 4 +++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/addons/core/translations/resources/en-us.yaml b/addons/core/translations/resources/en-us.yaml index 1d58a20b2..1a65074a5 100644 --- a/addons/core/translations/resources/en-us.yaml +++ b/addons/core/translations/resources/en-us.yaml @@ -398,6 +398,8 @@ credential-library: title: Credential Library title_plural: Credential Libraries description: A credential library is a resource that provides credentials. + titles: + new: New Credential Library actions: create: New Credential Library delete: Delete Credential Library diff --git a/ui/admin/app/controllers/scopes/scope/credential-stores/credential-store/credential-libraries/new.js b/ui/admin/app/controllers/scopes/scope/credential-stores/credential-store/credential-libraries/new.js index ff4053f92..d707e8442 100644 --- a/ui/admin/app/controllers/scopes/scope/credential-stores/credential-store/credential-libraries/new.js +++ b/ui/admin/app/controllers/scopes/scope/credential-stores/credential-store/credential-libraries/new.js @@ -13,6 +13,6 @@ export default class ScopesScopeCredentialStoresCredentialStoreCredentialLibrari * @type {string} */ get breadCrumb() { - return this.intl.t('titles.new'); + return this.intl.t('resources.credential-library.titles.new'); } } diff --git a/ui/admin/app/templates/scopes/scope/credential-stores/credential-store/credential-libraries/new.hbs b/ui/admin/app/templates/scopes/scope/credential-stores/credential-store/credential-libraries/new.hbs index 818471682..715b4a53d 100644 --- a/ui/admin/app/templates/scopes/scope/credential-stores/credential-store/credential-libraries/new.hbs +++ b/ui/admin/app/templates/scopes/scope/credential-stores/credential-store/credential-libraries/new.hbs @@ -8,8 +8,10 @@

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

+

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