Skip to content

Commit

Permalink
more i18n fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mgiota committed Oct 7, 2024
1 parent b080ee8 commit 1edc895
Showing 1 changed file with 26 additions and 20 deletions.
46 changes: 26 additions & 20 deletions x-pack/plugins/serverless_observability/public/navigation_tree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ export const navigationTree: NavigationTreeDefinition = {
{
id: 'machine_learning-landing',
renderAs: 'panelOpener',
title: i18n.translate('xpack.observability.obltNav.machineLearning', {
title: i18n.translate('xpack.serverlessObservability.nav.machineLearning', {
defaultMessage: 'Machine learning',
}),
children: [
Expand All @@ -170,24 +170,30 @@ export const navigationTree: NavigationTreeDefinition = {
},
{
link: 'ml:memoryUsage',
title: i18n.translate('xpack.observability.obltNav.machineLearning.memoryUsage', {
defaultMessage: 'Memory usage',
}),
title: i18n.translate(
'xpack.serverlessObservability.nav.machineLearning.memoryUsage',
{
defaultMessage: 'Memory usage',
}
),
},
],
},
{
id: 'category-anomaly_detection',
title: i18n.translate('xpack.observability.obltNav.ml.anomaly_detection', {
title: i18n.translate('xpack.serverlessObservability.nav.ml.anomaly_detection', {
defaultMessage: 'Anomaly detection',
}),
breadcrumbStatus: 'hidden',
children: [
{
link: 'ml:anomalyDetection',
title: i18n.translate('xpack.observability.obltNav.ml.anomaly_detection.jobs', {
defaultMessage: 'Jobs',
}),
title: i18n.translate(
'xpack.serverlessObservability.nav.ml.anomaly_detection.jobs',
{
defaultMessage: 'Jobs',
}
),
},
{
link: 'ml:anomalyExplorer',
Expand All @@ -205,15 +211,15 @@ export const navigationTree: NavigationTreeDefinition = {
},
{
id: 'category-data_frame analytics',
title: i18n.translate('xpack.observability.obltNav.ml.data_frame_analytics', {
title: i18n.translate('xpack.serverlessObservability.nav.ml.data_frame_analytics', {
defaultMessage: 'Data frame analytics',
}),
breadcrumbStatus: 'hidden',
children: [
{
link: 'ml:dataFrameAnalytics',
title: i18n.translate(
'xpack.observability.obltNav.ml.data_frame_analytics.jobs',
'xpack.serverlessObservability.nav.ml.data_frame_analytics.jobs',
{
defaultMessage: 'Jobs',
}
Expand All @@ -229,15 +235,15 @@ export const navigationTree: NavigationTreeDefinition = {
},
{
id: 'category-model_management',
title: i18n.translate('xpack.observability.obltNav.ml.model_management', {
title: i18n.translate('xpack.serverlessObservability.nav.ml.model_management', {
defaultMessage: 'Model management',
}),
breadcrumbStatus: 'hidden',
children: [
{
link: 'ml:nodesOverview',
title: i18n.translate(
'xpack.observability.obltNav.ml.model_management.trainedModels',
'xpack.serverlessObservability.nav.ml.model_management.trainedModels',
{
defaultMessage: 'Trained models',
}
Expand All @@ -247,15 +253,15 @@ export const navigationTree: NavigationTreeDefinition = {
},
{
id: 'category-data_visualizer',
title: i18n.translate('xpack.observability.obltNav.ml.data_visualizer', {
title: i18n.translate('xpack.serverlessObservability.nav.ml.data_visualizer', {
defaultMessage: 'Data visualizer',
}),
breadcrumbStatus: 'hidden',
children: [
{
link: 'ml:fileUpload',
title: i18n.translate(
'xpack.observability.obltNav.ml.data_visualizer.file_data_visualizer',
'xpack.serverlessObservability.nav.ml.data_visualizer.file_data_visualizer',
{
defaultMessage: 'File data visualizer',
}
Expand All @@ -264,7 +270,7 @@ export const navigationTree: NavigationTreeDefinition = {
{
link: 'ml:indexDataVisualizer',
title: i18n.translate(
'xpack.observability.obltNav.ml.data_visualizer.data_view_data_visualizer',
'xpack.serverlessObservability.nav.ml.data_visualizer.data_view_data_visualizer',
{
defaultMessage: 'Data view data visualizer',
}
Expand All @@ -273,7 +279,7 @@ export const navigationTree: NavigationTreeDefinition = {
{
link: 'ml:dataDrift',
title: i18n.translate(
'xpack.observability.obltNav.ml.data_visualizer.data_drift',
'xpack.serverlessObservability.nav.ml.data_visualizer.data_drift',
{
defaultMessage: 'Data drift',
}
Expand All @@ -283,15 +289,15 @@ export const navigationTree: NavigationTreeDefinition = {
},
{
id: 'category-aiops_labs',
title: i18n.translate('xpack.observability.obltNav.ml.aiops_labs', {
title: i18n.translate('xpack.serverlessObservability.nav.ml.aiops_labs', {
defaultMessage: 'Aiops labs',
}),
breadcrumbStatus: 'hidden',
children: [
{
link: 'ml:logRateAnalysis',
title: i18n.translate(
'xpack.observability.obltNav.ml.aiops_labs.log_rate_analysis',
'xpack.serverlessObservability.nav.ml.aiops_labs.log_rate_analysis',
{
defaultMessage: 'Log rate analysis',
}
Expand All @@ -300,7 +306,7 @@ export const navigationTree: NavigationTreeDefinition = {
{
link: 'ml:logPatternAnalysis',
title: i18n.translate(
'xpack.observability.obltNav.ml.aiops_labs.log_pattern_analysis',
'xpack.serverlessObservability.nav.ml.aiops_labs.log_pattern_analysis',
{
defaultMessage: 'Log pattern analysis',
}
Expand All @@ -309,7 +315,7 @@ export const navigationTree: NavigationTreeDefinition = {
{
link: 'ml:changePointDetections',
title: i18n.translate(
'xpack.observability.obltNav.ml.aiops_labs.change_point_detection',
'xpack.serverlessObservability.nav.ml.aiops_labs.change_point_detection',
{
defaultMessage: 'Change point detection',
}
Expand Down

0 comments on commit 1edc895

Please sign in to comment.