From e538200720bc8fc878eca08688ed9055addd2d47 Mon Sep 17 00:00:00 2001 From: Randall Morey Date: Mon, 7 Nov 2022 14:59:15 -0800 Subject: [PATCH] =?UTF-8?q?chore:=20=F0=9F=A4=96=20improve=20credentials/n?= =?UTF-8?q?ew=20titling=20-=20icu-6724=20(#1423)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ✅ Closes: icu-6724 Co-authored-by: Dharini Jeeva --- addons/core/translations/resources/en-us.yaml | 2 ++ .../credential-stores/credential-store/credentials/new.js | 2 +- .../credential-stores/credential-store/credentials/new.hbs | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/addons/core/translations/resources/en-us.yaml b/addons/core/translations/resources/en-us.yaml index 1a65074a5..eca53bbed 100644 --- a/addons/core/translations/resources/en-us.yaml +++ b/addons/core/translations/resources/en-us.yaml @@ -424,6 +424,8 @@ credential: title: Credential title_plural: Credentials description: Credentials are static resources like usernames and passwords. + titles: + new: New Credential actions: create: New Credential delete: Delete Credential diff --git a/ui/admin/app/controllers/scopes/scope/credential-stores/credential-store/credentials/new.js b/ui/admin/app/controllers/scopes/scope/credential-stores/credential-store/credentials/new.js index 7de5ad96f..df0000cdb 100644 --- a/ui/admin/app/controllers/scopes/scope/credential-stores/credential-store/credentials/new.js +++ b/ui/admin/app/controllers/scopes/scope/credential-stores/credential-store/credentials/new.js @@ -15,6 +15,6 @@ export default class ScopesScopeCredentialStoresCredentialStoreCredentialsNewCon * @type {string} */ get breadCrumb() { - return this.intl.t('titles.new'); + return this.intl.t('resources.credential.titles.new'); } } diff --git a/ui/admin/app/templates/scopes/scope/credential-stores/credential-store/credentials/new.hbs b/ui/admin/app/templates/scopes/scope/credential-stores/credential-store/credentials/new.hbs index 41124f711..1d1028e57 100644 --- a/ui/admin/app/templates/scopes/scope/credential-stores/credential-store/credentials/new.hbs +++ b/ui/admin/app/templates/scopes/scope/credential-stores/credential-store/credentials/new.hbs @@ -8,9 +8,10 @@

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

+

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