From 8373d89c92b55552a5bce647b8766cf5d5b426b3 Mon Sep 17 00:00:00 2001 From: kialam Date: Thu, 31 May 2018 16:42:17 -0400 Subject: [PATCH] Duplicate `ns.tooltips CREDENTIALS` string to `ComponentStrings` to avoid using `OutputStrings` --- awx/ui/client/lib/components/components.strings.js | 4 ++++ awx/ui/client/lib/services/tag.service.js | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/awx/ui/client/lib/components/components.strings.js b/awx/ui/client/lib/components/components.strings.js index 97d8049543..1be3891669 100644 --- a/awx/ui/client/lib/components/components.strings.js +++ b/awx/ui/client/lib/components/components.strings.js @@ -57,6 +57,10 @@ function ComponentsStrings (BaseString) { VIEW_LESS: t.s('VIEW LESS') }; + ns.tooltips = { + CREDENTIAL: t.s('View the Credential'), + }; + ns.layout = { CURRENT_USER_LABEL: t.s('Logged in as'), VIEW_DOCS: t.s('View Documentation'), diff --git a/awx/ui/client/lib/services/tag.service.js b/awx/ui/client/lib/services/tag.service.js index d0439f8f63..3795776a81 100644 --- a/awx/ui/client/lib/services/tag.service.js +++ b/awx/ui/client/lib/services/tag.service.js @@ -9,6 +9,6 @@ function TagService (strings, $filter) { }; } -TagService.$inject = ['OutputStrings', '$filter']; +TagService.$inject = ['ComponentsStrings', '$filter']; export default TagService;