diff --git a/addons/core/translations/resources/en-us.yaml b/addons/core/translations/resources/en-us.yaml index 4c3f84961..ff2a7b912 100644 --- a/addons/core/translations/resources/en-us.yaml +++ b/addons/core/translations/resources/en-us.yaml @@ -590,6 +590,10 @@ target: help: tcp: Generic TCP supports a broad range of connection types. ssh: Protocol-aware SSH with support for credential injection. + filter: + active-sessions: + yes: Has active sessions + no: No active sessions form: type: label: Type diff --git a/ui/desktop/app/controllers/scopes/scope/projects/targets/index.js b/ui/desktop/app/controllers/scopes/scope/projects/targets/index.js index 6764f6c96..5bbe21f1c 100644 --- a/ui/desktop/app/controllers/scopes/scope/projects/targets/index.js +++ b/ui/desktop/app/controllers/scopes/scope/projects/targets/index.js @@ -96,8 +96,14 @@ export default class ScopesScopeProjectsTargetsIndexController extends Controlle get availableSessionOptions() { return [ - { id: 'yes', name: this.intl.t('actions.yes') }, - { id: 'no', name: this.intl.t('actions.no') }, + { + id: 'yes', + name: this.intl.t('resources.target.filter.active-sessions.yes'), + }, + { + id: 'no', + name: this.intl.t('resources.target.filter.active-sessions.no'), + }, ]; }