diff --git a/awx/ui/src/screens/TopologyView/Legend.js b/awx/ui/src/screens/TopologyView/Legend.js
index 2d729e5737..5fe35beb51 100644
--- a/awx/ui/src/screens/TopologyView/Legend.js
+++ b/awx/ui/src/screens/TopologyView/Legend.js
@@ -1,5 +1,5 @@
-/* eslint-disable i18next/no-literal-string */
import React from 'react';
+import { t } from '@lingui/macro';
import styled from 'styled-components';
import {
Button as PFButton,
@@ -62,49 +62,49 @@ function Legend() {
component={TextVariants.small}
style={{ fontWeight: 'bold', color: 'black' }}
>
- Legend
+ {t`Legend`}
- Node types
+ {t`Node types`}
- Control node
+ {t`Control node`}
- Execution node
+ {t`Execution node`}
- Hybrid node
+ {t`Hybrid node`}
- Hop node
+ {t`Hop node`}
- Status types
+ {t`Status types`}
@@ -115,13 +115,13 @@ function Legend() {
style={{ border: '1px solid gray', backgroundColor: '#3E8635' }}
/>
- Healthy
+ {t`Healthy`}
} isSmall />
- Error
+ {t`Error`}
@@ -130,7 +130,7 @@ function Legend() {
style={{ border: '1px solid gray', backgroundColor: '#e6e6e6' }}
/>
- Disabled
+ {t`Disabled`}
diff --git a/awx/ui/src/screens/TopologyView/Tooltip.js b/awx/ui/src/screens/TopologyView/Tooltip.js
index 34dae9c8a9..56bf22185d 100644
--- a/awx/ui/src/screens/TopologyView/Tooltip.js
+++ b/awx/ui/src/screens/TopologyView/Tooltip.js
@@ -1,9 +1,5 @@
-/* eslint-disable i18next/no-literal-string,
-jsx-a11y/anchor-is-valid,
-jsx-a11y/click-events-have-key-events,
-jsx-a11y/no-static-element-interactions */
-
import React from 'react';
+import { t } from '@lingui/macro';
import styled from 'styled-components';
import {
Button as PFButton,
@@ -57,11 +53,11 @@ function Tooltip({
component={TextVariants.small}
style={{ fontWeight: 'bold', color: 'black' }}
>
- Details
+ {t`Details`}
- Click on a node icon to display the details.
+ {t`Click on a node icon to display the details.`}
) : (
@@ -71,7 +67,7 @@ function Tooltip({
component={TextVariants.small}
style={{ fontWeight: 'bold', color: 'black' }}
>
- Details
+ {t`Details`}
@@ -83,17 +79,23 @@ function Tooltip({
- {nodeDetail.hostname}
+
+ {nodeDetail.hostname}
+
- Type
+ {t`Type`}
- {nodeDetail.node_type} node
+ {nodeDetail.node_type} {t`node`}
- Status
+ {t`Status`}
diff --git a/awx/ui/src/screens/TopologyView/constants.js b/awx/ui/src/screens/TopologyView/constants.js
index f4538dea63..dbecb633f8 100644
--- a/awx/ui/src/screens/TopologyView/constants.js
+++ b/awx/ui/src/screens/TopologyView/constants.js
@@ -1,4 +1,3 @@
-/* eslint-disable-next-line import/prefer-default-export */
export const SELECTOR = '#chart';
export const MESH_FORCE_LAYOUT = {
defaultCollisionFactor: 80,