diff --git a/addons/core/translations/resources/en-us.yaml b/addons/core/translations/resources/en-us.yaml index 8ad847c93..ff85c94f4 100644 --- a/addons/core/translations/resources/en-us.yaml +++ b/addons/core/translations/resources/en-us.yaml @@ -586,7 +586,7 @@ role: description: Select which scopes you want to add to this role. success: Scope selection saved keywords-selected: - description: Just a heads up, you can't select both add all descendants and add all children. You can only choose one or the other. + description: Just a heads up, you can't select both add all descendants and add all children. You can only choose one or the other. link: You can read more about it here manage-custom-scopes: title: Manage Custom Scopes @@ -596,9 +596,9 @@ role: title: Manage Projects in {orgDisplayName} description: Select which projects in this org you want to apply to this role's grant sets. success: Projects in org have been updated - no-org-scopes: - title: No Org Scopes Available - description: Org scopes are not available for assignment. + no-scopes: + title: No {type} Scopes Available + description: '{type} scopes are not available for assignment.' keywords: this: sub-title: This scope @@ -618,7 +618,7 @@ role: form: this: label: Add this scope - help: Add this scope. + help: Add {scopeDisplayName} scope. children: label: Add all children help: diff --git a/ui/admin/app/components/form/role/manage-custom-scopes/index.hbs b/ui/admin/app/components/form/role/manage-custom-scopes/index.hbs index b7cd2495c..5faf3ffff 100644 --- a/ui/admin/app/components/form/role/manage-custom-scopes/index.hbs +++ b/ui/admin/app/components/form/role/manage-custom-scopes/index.hbs @@ -108,10 +108,16 @@ {{else}} diff --git a/ui/admin/app/components/form/role/manage-scopes/index.hbs b/ui/admin/app/components/form/role/manage-scopes/index.hbs index d98e2ec81..fb745d512 100644 --- a/ui/admin/app/components/form/role/manage-scopes/index.hbs +++ b/ui/admin/app/components/form/role/manage-scopes/index.hbs @@ -20,7 +20,12 @@ as |F| > {{t 'resources.role.scope.form.this.label'}} - {{t 'resources.role.scope.form.this.help'}} + {{t + 'resources.role.scope.form.this.help' + scopeDisplayName=(if + @model.scope.name @model.scope.name @model.scope.id + ) + }} - {{t 'resources.role.scope.messages.keywords-selected.description'}} + {{t + 'resources.role.scope.messages.keywords-selected.description' + htmlSafe=true + }} + + + \ No newline at end of file diff --git a/ui/admin/app/templates/scopes/scope/roles/role/manage-scopes/loading.hbs b/ui/admin/app/templates/scopes/scope/roles/role/manage-scopes/loading.hbs new file mode 100644 index 000000000..ea9fdaa6f --- /dev/null +++ b/ui/admin/app/templates/scopes/scope/roles/role/manage-scopes/loading.hbs @@ -0,0 +1,9 @@ +{{! + Copyright (c) HashiCorp, Inc. + SPDX-License-Identifier: BUSL-1.1 +}} + + + + + \ No newline at end of file