diff --git a/awx/ui_next/src/components/AlertModal/AlertModal.jsx b/awx/ui_next/src/components/AlertModal/AlertModal.jsx
index 2c6c9eaed9..70ed49ab1f 100644
--- a/awx/ui_next/src/components/AlertModal/AlertModal.jsx
+++ b/awx/ui_next/src/components/AlertModal/AlertModal.jsx
@@ -8,6 +8,8 @@ import {
InfoCircleIcon,
TimesCircleIcon,
} from '@patternfly/react-icons';
+import { withI18n } from '@lingui/react';
+import { t } from '@lingui/macro';
import styled from 'styled-components';
const Header = styled.div`
@@ -17,7 +19,8 @@ const Header = styled.div`
}
`;
-export default function AlertModal({
+function AlertModal({
+ i18n,
isOpen = null,
title,
variant,
@@ -60,14 +63,15 @@ export default function AlertModal({
const customHeader = (
{variant ? variantIcons[variant] : null}
- {title}
+
);
return (
);
}
+
+export default withI18n()(AlertModal);