From c5f72c53d81b19d1213768a94e2b8f1d6491b626 Mon Sep 17 00:00:00 2001 From: Carlos Alcaide Date: Tue, 20 Jul 2021 13:43:11 -0700 Subject: [PATCH] Move translation to actions file --- addons/core/translations/actions/en-us.yaml | 1 + addons/core/translations/resources/en-us.yaml | 2 -- ui/desktop/app/components/hidden-secret/index.hbs | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/addons/core/translations/actions/en-us.yaml b/addons/core/translations/actions/en-us.yaml index dd00b107b..49bde4799 100644 --- a/addons/core/translations/actions/en-us.yaml +++ b/addons/core/translations/actions/en-us.yaml @@ -33,3 +33,4 @@ edit-form: Edit Form change-origin: Change Origin URL change-state: Change State close: Close +toggle-secret: Toggle secret visibility diff --git a/addons/core/translations/resources/en-us.yaml b/addons/core/translations/resources/en-us.yaml index 0e8a331b8..2c9712a67 100644 --- a/addons/core/translations/resources/en-us.yaml +++ b/addons/core/translations/resources/en-us.yaml @@ -267,8 +267,6 @@ target: add: title: Add Host Sets description: Select host sets to assign to this target. - secret: - toggle: Toggle secret visibility. credential-store: title: Credential Store title_plural: Credential Stores diff --git a/ui/desktop/app/components/hidden-secret/index.hbs b/ui/desktop/app/components/hidden-secret/index.hbs index 18474329c..6660a77e5 100644 --- a/ui/desktop/app/components/hidden-secret/index.hbs +++ b/ui/desktop/app/components/hidden-secret/index.hbs @@ -4,7 +4,7 @@ @iconOnly={{if this.isHidden 'visibility-show' 'visibility-hide'}} {{on 'click' this.toggleSecretVisibility}} > - {{t 'resources.target.secret.toggle'}} + {{t 'actions.toggle-secret'}}