From aee5f9e44bf478b9e6d46d5dee0b89d1d6ab7164 Mon Sep 17 00:00:00 2001 From: Randall Morey Date: Tue, 22 Sep 2020 18:00:06 -0400 Subject: [PATCH] refactor: move auth method type strings --- ui/core/app/components/form/auth-method/index.hbs | 4 ++-- ui/core/app/templates/scopes/scope/auth-methods/index.hbs | 2 +- ui/core/app/templates/scopes/scope/authenticate.hbs | 2 +- ui/core/translations/en-us.yaml | 2 -- ui/core/translations/resources/en-us.yaml | 2 ++ 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ui/core/app/components/form/auth-method/index.hbs b/ui/core/app/components/form/auth-method/index.hbs index 782dceefd..df59e01d8 100644 --- a/ui/core/app/components/form/auth-method/index.hbs +++ b/ui/core/app/components/form/auth-method/index.hbs @@ -6,7 +6,7 @@ as |form| > @@ -50,4 +50,4 @@ @disabled={{if @model.cannotSave @model.cannotSave}} @submitText={{t "actions.save"}} @cancelText={{t "actions.cancel"}} /> - \ No newline at end of file + diff --git a/ui/core/app/templates/scopes/scope/auth-methods/index.hbs b/ui/core/app/templates/scopes/scope/auth-methods/index.hbs index 2acb8bfa1..e1c23f96f 100644 --- a/ui/core/app/templates/scopes/scope/auth-methods/index.hbs +++ b/ui/core/app/templates/scopes/scope/auth-methods/index.hbs @@ -42,7 +42,7 @@ - {{t (concat 'auth.method-types.' authMethod.type)}} + {{t (concat 'resources.auth-method.types.' authMethod.type)}} diff --git a/ui/core/app/templates/scopes/scope/authenticate.hbs b/ui/core/app/templates/scopes/scope/authenticate.hbs index 05b901caa..0bee46a27 100644 --- a/ui/core/app/templates/scopes/scope/authenticate.hbs +++ b/ui/core/app/templates/scopes/scope/authenticate.hbs @@ -26,7 +26,7 @@ {{#each @model.authMethods as |authMethod|}} - {{t (concat "auth.method-types." authMethod.type)}} + {{t (concat "resources.auth-method.types." authMethod.type)}} {{/each}} diff --git a/ui/core/translations/en-us.yaml b/ui/core/translations/en-us.yaml index 235645b72..d53d5e4b9 100644 --- a/ui/core/translations/en-us.yaml +++ b/ui/core/translations/en-us.yaml @@ -5,8 +5,6 @@ auth: no-scopes: No scopes were found. To authenticate, ask your administrator to create an scope and grant you access. choose-org: Choose a scope to authenticate. authenticating-with-org: "You're authenticating with {name}." - method-types: - password: Password host-set: types: static: Static diff --git a/ui/core/translations/resources/en-us.yaml b/ui/core/translations/resources/en-us.yaml index 60a6e303d..acea170dd 100644 --- a/ui/core/translations/resources/en-us.yaml +++ b/ui/core/translations/resources/en-us.yaml @@ -21,6 +21,8 @@ auth-method: none: title: No Authentication Methods description: No authentication methods were found for this scope. Switch scopes and try again. + types: + password: Password user: User users: Users role: Role