import { i18n } from '@osd/i18n' ; import { ManagementSectionId } from '../types' ; const ingestTitle = i18n . translate ( 'management.sections.ingestTitle' , { defaultMessage : 'Ingest' , } ) ; const ingestTip = i18n . translate ( 'management.sections.ingestTip' , { defaultMessage : 'Manage how to transform data and load it into the cluster' , } ) ; const dataTitle = i18n . translate ( 'management.sections.dataTitle' , { defaultMessage : 'Data' , } ) ; const dataTip = i18n . translate ( 'management.sections.dataTip' , { defaultMessage : 'Manage your cluster data and backups' , } ) ; const insightsAndAlertingTitle = i18n . translate ( 'management.sections.insightsAndAlertingTitle' , { defaultMessage : 'Alerts and Insights' , } ) ; const insightsAndAlertingTip = i18n . translate ( 'management.sections.insightsAndAlertingTip' , { defaultMessage : 'Manage how to detect changes in your data' , } ) ; const sectionTitle = i18n . translate ( 'management.sections.section.title' , { defaultMessage : 'Security' , } ) ; const sectionTip = i18n . translate ( 'management.sections.section.tip' , { defaultMessage : 'Control access to features and data' , } ) ; const opensearchDashboardsTitle = i18n . translate ( 'management.sections.opensearchDashboardsTitle' , { defaultMessage : 'OpenSearch Dashboards' , } ) ; const opensearchDashboardsTip = i18n . translate ( 'management.sections.opensearchDashboardsTip' , { defaultMessage : 'Customize OpenSearch Dashboards and manage saved objects' , } ) ; const stackTitle = i18n . translate ( 'management.sections.stackTitle' , { defaultMessage : 'Stack' , } ) ; const stackTip = i18n . translate ( 'management.sections.stackTip' , { defaultMessage : 'Manage your license and upgrade the Stack' , } ) ; export const IngestSection = { id : ManagementSectionId . Ingest , title : ingestTitle , tip : ingestTip , order : 0 , } ; export const DataSection = { id : ManagementSectionId . Data , title : dataTitle , tip : dataTip , order : 1 , } ; export const InsightsAndAlertingSection = { id : ManagementSectionId . InsightsAndAlerting , title : insightsAndAlertingTitle , tip : insightsAndAlertingTip , order : 2 , } ; export const SecuritySection = { id : 'security' , title : sectionTitle , tip : sectionTip , order : 3 , } ; export const OpenSearchDashboardsSection = { id : ManagementSectionId . OpenSearchDashboards , title : opensearchDashboardsTitle , tip : opensearchDashboardsTip , order : 4 , } ; export const StackSection = { id : ManagementSectionId . Stack , title : stackTitle , tip : stackTip , order : 4 , } ; export const managementSections = [ IngestSection , DataSection , InsightsAndAlertingSection , SecuritySection , OpenSearchDashboardsSection , StackSection , ] ;