refactor: move account and auth-method action strings

This commit is contained in:
Randall Morey committed 2020-09-22 18:16:54 -04:00
1 parent aee5f9e44b
commit 0169700b33
4 files changed
+11 -8

No files matched your search

@@ -3,13 +3,13 @@
@route="scopes.scope.auth-methods.auth-method.accounts.new"
@model={{@model}}
>
{{t "actions.add-account"}}
{{t "resources.account.actions.create"}}
</dropdown.link>
<dropdown.button
@style="danger"
@disabled={{@model.canSave}}
{{on "click" (route-action "delete" @model)}}
>
{{t 'actions.delete-auth-method'}}
{{t 'resources.auth-method.actions.delete'}}
</dropdown.button>
</Rose::Dropdown>
</Rose::Dropdown>
@@ -4,6 +4,6 @@
@disabled={{@model.canSave}}
{{on "click" (route-action "delete" @model)}}
>
{{t 'actions.delete-account'}}
{{t 'actions.delete'}}
</dropdown.button>
</Rose::Dropdown>
</Rose::Dropdown>
-3
View File
@@ -16,17 +16,14 @@ delete-group: Delete group
delete-role: Delete role
delete-project: Delete project
delete-host-catalog: Delete host catalog
delete-auth-method: Delete auth method
delete-host-set: Delete host set
delete-host: Delete host
delete-target: Delete target
delete-account: Delete account
add-host-set: Create Host Set
add-host: Create Host
add-host-sets: Add Host Sets
add-principals: Add Principals
add-members: Add Members
add-hosts: Add Hosts
add-account: Create Account
set-password: Set Password
change-password: Change Password
@@ -10,6 +10,9 @@ account:
description: Set a password for the account.
types:
password: Password
actions:
create: Create Account
delete: Delete Account
auth-method:
title: Auth Method
title_plural: Auth Methods
@@ -23,6 +26,9 @@ auth-method:
description: No authentication methods were found for this scope. Switch scopes and try again.
types:
password: Password
actions:
create: Create Auth Method
delete: Delete Auth Method
user: User
users: Users
role: Role