diff --git a/addons/core/translations/resources/en-us.yaml b/addons/core/translations/resources/en-us.yaml index 4e1633cee..019cb7a1a 100644 --- a/addons/core/translations/resources/en-us.yaml +++ b/addons/core/translations/resources/en-us.yaml @@ -240,6 +240,8 @@ role: messages: welcome: title: Welcome to Roles + titles: + new: New Role actions: create: Create Role delete: Delete Role diff --git a/ui/admin/app/controllers/scopes/scope/roles/new.js b/ui/admin/app/controllers/scopes/scope/roles/new.js index 598ec9760..e10b87fd3 100644 --- a/ui/admin/app/controllers/scopes/scope/roles/new.js +++ b/ui/admin/app/controllers/scopes/scope/roles/new.js @@ -13,6 +13,6 @@ export default class ScopesScopeRolesNewController extends Controller { * @type {string} */ get breadCrumb() { - return this.intl.t('titles.new'); + return this.intl.t('resources.role.titles.new'); } } diff --git a/ui/admin/app/templates/scopes/scope/roles/index.hbs b/ui/admin/app/templates/scopes/scope/roles/index.hbs index 6790efbce..54867df35 100644 --- a/ui/admin/app/templates/scopes/scope/roles/index.hbs +++ b/ui/admin/app/templates/scopes/scope/roles/index.hbs @@ -18,7 +18,7 @@ {{#if (can 'create model' this.scope collection='roles')}} {{#if @model}} {{t - 'titles.new' + 'resources.role.titles.new' }} {{/if}} {{/if}} diff --git a/ui/admin/app/templates/scopes/scope/roles/new.hbs b/ui/admin/app/templates/scopes/scope/roles/new.hbs index a3bbfdaa7..e658e08e1 100644 --- a/ui/admin/app/templates/scopes/scope/roles/new.hbs +++ b/ui/admin/app/templates/scopes/scope/roles/new.hbs @@ -6,7 +6,11 @@ - {{t 'titles.new'}} + + {{t 'resources.role.titles.new'}} + + + {{t 'resources.role.description'}}
{{t 'resources.role.description'}}