diff --git a/openmetadata-ui/src/main/resources/ui/src/components/AddIngestion/Steps/MetadataToESConfigForm/MetadataToESConfigForm.tsx b/openmetadata-ui/src/main/resources/ui/src/components/AddIngestion/Steps/MetadataToESConfigForm/MetadataToESConfigForm.tsx
index c75a1814496..f7eb1f41831 100644
--- a/openmetadata-ui/src/main/resources/ui/src/components/AddIngestion/Steps/MetadataToESConfigForm/MetadataToESConfigForm.tsx
+++ b/openmetadata-ui/src/main/resources/ui/src/components/AddIngestion/Steps/MetadataToESConfigForm/MetadataToESConfigForm.tsx
@@ -20,7 +20,6 @@ import {
Switch,
Typography,
} from 'antd';
-import { startCase } from 'lodash';
import React from 'react';
import { useTranslation } from 'react-i18next';
import { ConfigClass } from '../../../../generated/entity/services/ingestionPipelines/ingestionPipeline';
@@ -58,7 +57,7 @@ const MetadataToESConfigForm = ({
label={
}
name="caCerts">
@@ -68,7 +67,7 @@ const MetadataToESConfigForm = ({
label={
}
name="regionName">
@@ -78,7 +77,7 @@ const MetadataToESConfigForm = ({
label={
}
name="timeout">
@@ -87,7 +86,7 @@ const MetadataToESConfigForm = ({
@@ -97,7 +96,7 @@ const MetadataToESConfigForm = ({
@@ -107,7 +106,7 @@ const MetadataToESConfigForm = ({
diff --git a/openmetadata-ui/src/main/resources/ui/src/components/Ingestion/Ingestion.component.tsx b/openmetadata-ui/src/main/resources/ui/src/components/Ingestion/Ingestion.component.tsx
index 913818f3c77..5c2b2f267b9 100644
--- a/openmetadata-ui/src/main/resources/ui/src/components/Ingestion/Ingestion.component.tsx
+++ b/openmetadata-ui/src/main/resources/ui/src/components/Ingestion/Ingestion.component.tsx
@@ -25,7 +25,6 @@ import React, { Fragment, useEffect, useMemo, useState } from 'react';
import { useHistory } from 'react-router-dom';
import { PAGE_SIZE } from '../../constants/constants';
import { WORKFLOWS_METADATA_DOCS } from '../../constants/docs.constants';
-import { NO_PERMISSION_TO_VIEW } from '../../constants/HelperTextUtil';
import { MetadataServiceType } from '../../generated/api/services/createMetadataService';
import { Connection } from '../../generated/entity/services/databaseService';
import {
@@ -90,7 +89,6 @@ const Ingestion: React.FC = ({
state: '',
});
const [isKillModalOpen, setIsKillModalOpen] = useState(false);
- const noConnectionMsg = `${serviceName} doesn't have connection details filled in. Please add the details before scheduling an ingestion job.`;
const isOpenmetadataService = useMemo(
() =>
serviceDetails.connection?.config?.type ===
@@ -188,7 +186,7 @@ const Ingestion: React.FC = ({
setCurrTriggerId({ id, state: 'success' });
setTimeout(() => {
setCurrTriggerId({ id: '', state: '' });
- showSuccessToast('Pipeline triggered successfully');
+ showSuccessToast(t('message.pipeline-trigger-success-message'));
}, 1500);
})
.catch(() => setCurrTriggerId({ id: '', state: '' }));
@@ -262,7 +260,7 @@ const Ingestion: React.FC = ({
size="small"
type="primary"
onClick={() => handleAddIngestionClick(type)}>
- Add {startCase(type)} Ingestion
+ {t('label.add-pipeline-ingestion', { pipelineType: startCase(type) })}
);
};
@@ -277,7 +275,7 @@ const Ingestion: React.FC = ({
size="small"
type="primary"
onClick={() => setShowActions((pre) => !pre)}>
- Add Ingestion{' '}
+ {t('label.add-pipeline-ingestion', { pipelineType: '' })}
{showActions ? (
= ({
title={
permissions.ViewAll || permissions.ViewBasic
? t('label.view-dag')
- : NO_PERMISSION_TO_VIEW
+ : t('message.no-permission-to-view')
}>