diff --git a/awx/ui_next/src/screens/Dashboard/shared/DashboardTemplateList.jsx b/awx/ui_next/src/screens/Dashboard/shared/DashboardTemplateList.jsx index c1fa638207..91e9ad5326 100644 --- a/awx/ui_next/src/screens/Dashboard/shared/DashboardTemplateList.jsx +++ b/awx/ui_next/src/screens/Dashboard/shared/DashboardTemplateList.jsx @@ -9,7 +9,6 @@ import { UnifiedJobTemplatesAPI, WorkflowJobTemplatesAPI, } from '../../../api'; -import { toTitleCase } from '../../../util/strings'; import AlertModal from '../../../components/AlertModal'; import DatalistToolbar from '../../../components/DataListToolbar'; import ErrorDetail from '../../../components/ErrorDetail'; @@ -142,19 +141,19 @@ function DashboardTemplateList({ i18n }) { const canAddWFJT = wfjtActions && Object.prototype.hasOwnProperty.call(wfjtActions, 'POST'); - const addTempate = toTitleCase(i18n._(t`Add Job Template`)); - const addWFTemplate = toTitleCase(i18n._(t`Add Workflow Template`)); + const addTemplate = i18n._(t`Add job template`); + const addWFTemplate = i18n._(t`Add workflow template`); const addButton = ( - {addTempate} + {addTemplate} , - {addTempate} + {addTemplate} ); }