From 64fccf87531269fff428f4af58e205356deacbb7 Mon Sep 17 00:00:00 2001 From: Randall Morey Date: Tue, 21 Sep 2021 10:57:01 -0400 Subject: [PATCH] =?UTF-8?q?chore:=20=F0=9F=A4=96=20rename=20translations?= =?UTF-8?q?=20and=20comments?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- addons/api/addon/models/fragment-host-source.js | 2 +- addons/core/translations/resources/en-us.yaml | 4 ++-- .../form/target/add-credential-libraries/index.hbs | 4 ++-- ui/admin/app/components/form/target/add-host-sets/index.hbs | 4 ++-- .../controllers/scopes/scope/targets/target/host-sets.js | 2 +- .../templates/scopes/scope/targets/target/-navigation.hbs | 4 ++-- .../scope/targets/target/add-credential-libraries.hbs | 4 ++-- .../targets/target/add-credential-libraries/-header.hbs | 4 ++-- .../templates/scopes/scope/targets/target/add-host-sets.hbs | 4 ++-- .../scopes/scope/targets/target/add-host-sets/-header.hbs | 4 ++-- .../scopes/scope/targets/target/credential-libraries.hbs | 6 +++--- .../app/templates/scopes/scope/targets/target/host-sets.hbs | 6 +++--- 12 files changed, 24 insertions(+), 24 deletions(-) diff --git a/addons/api/addon/models/fragment-host-source.js b/addons/api/addon/models/fragment-host-source.js index 242891371..5f39cb8f7 100644 --- a/addons/api/addon/models/fragment-host-source.js +++ b/addons/api/addon/models/fragment-host-source.js @@ -5,7 +5,7 @@ export default class FragmentHostSourceModel extends Fragment { // =attributes @attr('string', { - description: 'ID of the related host set', + description: 'ID of the related host source', }) host_source_id; diff --git a/addons/core/translations/resources/en-us.yaml b/addons/core/translations/resources/en-us.yaml index 4d373e26d..f6b3373c8 100644 --- a/addons/core/translations/resources/en-us.yaml +++ b/addons/core/translations/resources/en-us.yaml @@ -257,7 +257,7 @@ target: add-credential-libraries: Add Credential Sources types: tcp: TCP - host-set: + host-source: title: Host Source title_plural: Host Sources messages: @@ -270,7 +270,7 @@ target: add: title: Add Host Sources description: Select host sources to assign to this target. - credential-library: + credential-source: title: Credential Source title_plural: Credential Sources messages: diff --git a/ui/admin/app/components/form/target/add-credential-libraries/index.hbs b/ui/admin/app/components/form/target/add-credential-libraries/index.hbs index 693179213..e70fc20e2 100644 --- a/ui/admin/app/components/form/target/add-credential-libraries/index.hbs +++ b/ui/admin/app/components/form/target/add-credential-libraries/index.hbs @@ -48,11 +48,11 @@ {{#unless this.hasAvailableCredentialLibraries}} - {{t 'resources.target.credential-library.messages.none.description'}} + {{t 'resources.target.credential-source.messages.none.description'}} diff --git a/ui/admin/app/components/form/target/add-host-sets/index.hbs b/ui/admin/app/components/form/target/add-host-sets/index.hbs index 17fb97b88..f248e80fd 100644 --- a/ui/admin/app/components/form/target/add-host-sets/index.hbs +++ b/ui/admin/app/components/form/target/add-host-sets/index.hbs @@ -52,11 +52,11 @@ {{#unless this.hasAvailableHostSets}} - {{t 'resources.target.host-set.messages.none.description'}} + {{t 'resources.target.host-source.messages.none.description'}} diff --git a/ui/admin/app/controllers/scopes/scope/targets/target/host-sets.js b/ui/admin/app/controllers/scopes/scope/targets/target/host-sets.js index 627954f30..b37d3dbf6 100644 --- a/ui/admin/app/controllers/scopes/scope/targets/target/host-sets.js +++ b/ui/admin/app/controllers/scopes/scope/targets/target/host-sets.js @@ -13,6 +13,6 @@ export default class ScopesScopeTargetsTargetHostSetsController extends Controll * @type {string} */ get breadCrumb() { - return this.intl.t('resources.target.host-set.title_plural'); + return this.intl.t('resources.target.host-source.title_plural'); } } diff --git a/ui/admin/app/templates/scopes/scope/targets/target/-navigation.hbs b/ui/admin/app/templates/scopes/scope/targets/target/-navigation.hbs index 027162874..55b292b21 100644 --- a/ui/admin/app/templates/scopes/scope/targets/target/-navigation.hbs +++ b/ui/admin/app/templates/scopes/scope/targets/target/-navigation.hbs @@ -3,11 +3,11 @@ {{t 'titles.details'}} - {{t 'resources.target.host-set.title_plural'}} + {{t 'resources.target.host-source.title_plural'}} {{#if (feature-flag 'credential-store')}} - {{t 'resources.target.credential-library.title_plural'}} + {{t 'resources.target.credential-source.title_plural'}} {{/if}} \ No newline at end of file diff --git a/ui/admin/app/templates/scopes/scope/targets/target/add-credential-libraries.hbs b/ui/admin/app/templates/scopes/scope/targets/target/add-credential-libraries.hbs index 4ddfd983d..cbb836a58 100644 --- a/ui/admin/app/templates/scopes/scope/targets/target/add-credential-libraries.hbs +++ b/ui/admin/app/templates/scopes/scope/targets/target/add-credential-libraries.hbs @@ -12,11 +12,11 @@ {{#unless @model.credentialLibraries}} - {{t 'resources.target.credential-library.messages.none.description'}} + {{t 'resources.target.credential-source.messages.none.description'}} diff --git a/ui/admin/app/templates/scopes/scope/targets/target/add-credential-libraries/-header.hbs b/ui/admin/app/templates/scopes/scope/targets/target/add-credential-libraries/-header.hbs index 4ae5bad96..699536650 100644 --- a/ui/admin/app/templates/scopes/scope/targets/target/add-credential-libraries/-header.hbs +++ b/ui/admin/app/templates/scopes/scope/targets/target/add-credential-libraries/-header.hbs @@ -1,4 +1,4 @@

- {{t 'resources.target.credential-library.messages.add.title'}} + {{t 'resources.target.credential-source.messages.add.title'}}

-

{{t 'resources.target.credential-library.messages.add.description'}}

\ No newline at end of file +

{{t 'resources.target.credential-source.messages.add.description'}}

\ No newline at end of file diff --git a/ui/admin/app/templates/scopes/scope/targets/target/add-host-sets.hbs b/ui/admin/app/templates/scopes/scope/targets/target/add-host-sets.hbs index eb0d9bc71..02cc4c8cc 100644 --- a/ui/admin/app/templates/scopes/scope/targets/target/add-host-sets.hbs +++ b/ui/admin/app/templates/scopes/scope/targets/target/add-host-sets.hbs @@ -13,11 +13,11 @@ {{#unless @model.hostSets}} - {{t 'resources.target.host-set.messages.none.description'}} + {{t 'resources.target.host-source.messages.none.description'}} diff --git a/ui/admin/app/templates/scopes/scope/targets/target/add-host-sets/-header.hbs b/ui/admin/app/templates/scopes/scope/targets/target/add-host-sets/-header.hbs index 5f127e68c..dcec19c1c 100644 --- a/ui/admin/app/templates/scopes/scope/targets/target/add-host-sets/-header.hbs +++ b/ui/admin/app/templates/scopes/scope/targets/target/add-host-sets/-header.hbs @@ -1,5 +1,5 @@

- {{t 'resources.target.host-set.messages.add.title'}} + {{t 'resources.target.host-source.messages.add.title'}}

-

{{t 'resources.target.host-set.messages.add.description'}}

\ No newline at end of file +

{{t 'resources.target.host-source.messages.add.description'}}

\ No newline at end of file diff --git a/ui/admin/app/templates/scopes/scope/targets/target/credential-libraries.hbs b/ui/admin/app/templates/scopes/scope/targets/target/credential-libraries.hbs index 7dd80919c..7692af1c2 100644 --- a/ui/admin/app/templates/scopes/scope/targets/target/credential-libraries.hbs +++ b/ui/admin/app/templates/scopes/scope/targets/target/credential-libraries.hbs @@ -1,4 +1,4 @@ -{{page-title (t 'resources.target.credential-library.title_plural')}} +{{page-title (t 'resources.target.credential-source.title_plural')}} {{#if @model.credentialLibraries}} @@ -73,11 +73,11 @@ - {{t 'resources.target.credential-library.messages.welcome.description'}} + {{t 'resources.target.credential-source.messages.welcome.description'}} - {{t 'resources.target.host-set.messages.welcome.description'}} + {{t 'resources.target.host-source.messages.welcome.description'}}