Skip to content

Commit

Permalink
fix i18n check
Browse files Browse the repository at this point in the history
  • Loading branch information
mgiota committed Oct 7, 2024
1 parent 5664ed7 commit b080ee8
Showing 1 changed file with 20 additions and 12 deletions.
32 changes: 20 additions & 12 deletions x-pack/plugins/serverless_observability/public/navigation_tree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export const navigationTree: NavigationTreeDefinition = {
},
{
link: 'observabilityAIAssistant',
title: i18n.translate('xpack.observability.obltNav.aiMl.aiAssistant', {
title: i18n.translate('xpack.serverlessObservability.nav.aiAssistant', {
defaultMessage: 'AI Assistant',
}),
},
Expand All @@ -81,12 +81,16 @@ export const navigationTree: NavigationTreeDefinition = {
title: i18n.translate('xpack.serverlessObservability.nav.applications', {
defaultMessage: 'Applications',
}),
// link: 'apm:services',
renderAs: 'panelOpener',
children: [
{
children: [
{ link: 'apm:services' },
{
link: 'apm:services',
title: i18n.translate('xpack.serverlessObservability.nav.apm.services', {
defaultMessage: 'Service inventory',
}),
},
{ link: 'apm:traces' },
{ link: 'apm:dependencies' },
{ link: 'apm:settings' },
Expand All @@ -112,7 +116,7 @@ export const navigationTree: NavigationTreeDefinition = {
title: i18n.translate(
'xpack.serverlessObservability.nav.synthetics.certificatesItem',
{
defaultMessage: 'TLS Certificates',
defaultMessage: 'TLS certificates',
}
),
id: 'synthetics-certificates',
Expand All @@ -129,12 +133,19 @@ export const navigationTree: NavigationTreeDefinition = {
title: i18n.translate('xpack.serverlessObservability.nav.infrastructure', {
defaultMessage: 'Infrastructure',
}),
// link: 'metrics:inventory',
renderAs: 'panelOpener',
children: [
{
children: [
{ link: 'metrics:inventory' },
{
link: 'metrics:inventory',
title: i18n.translate(
'xpack.serverlessObservability.nav.infrastructureInventory',
{
defaultMessage: 'Infrastructure inventory',
}
),
},
{ link: 'metrics:hosts' },
{ link: 'metrics:settings' },
{ link: 'metrics:assetDetails' },
Expand All @@ -159,12 +170,9 @@ export const navigationTree: NavigationTreeDefinition = {
},
{
link: 'ml:memoryUsage',
title: i18n.translate(
'xpack.observability.obltNav.machineLearning.memoryUsage',
{
defaultMessage: 'Memory usage',
}
),
title: i18n.translate('xpack.observability.obltNav.machineLearning.memoryUsage', {
defaultMessage: 'Memory usage',
}),
},
],
},
Expand Down

0 comments on commit b080ee8

Please sign in to comment.