Skip to content

Commit

Permalink
fix localization messages
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarezmelissa87 committed Sep 1, 2022
1 parent 5b8bd6b commit 2b7b622
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export const SpikeAnalysisTable: FC<SpikeAnalysisTableProps> = ({
useEffect(() => {
if (!application.capabilities.discover?.show) {
const discoverNotEnabled = i18n.translate(
'xpack.ml.anomaliesTable.linksMenu.discoverNotEnabledErrorMessage',
'xpack.aiops.spikeAnalysisTable.discoverNotEnabledErrorMessage',
{
defaultMessage: 'Discover is not enabled',
}
Expand All @@ -88,7 +88,7 @@ export const SpikeAnalysisTable: FC<SpikeAnalysisTableProps> = ({
}
if (!discoverLocator) {
const discoverLocatorMissing = i18n.translate(
'xpack.ml.anomaliesTable.linksMenu.discoverLocatorMissingErrorMessage',
'xpack.aiops.spikeAnalysisTable.discoverLocatorMissingErrorMessage',
{
defaultMessage: 'No locator for Discover detected',
}
Expand All @@ -99,7 +99,7 @@ export const SpikeAnalysisTable: FC<SpikeAnalysisTableProps> = ({
}
if (!dataViewId) {
const autoGeneratedDiscoverLinkError = i18n.translate(
'xpack.ml.anomaliesTable.linksMenu.autoGeneratedDiscoverLinkErrorMessage',
'xpack.aiops.spikeAnalysisTable.autoGeneratedDiscoverLinkErrorMessage',
{
defaultMessage: 'Unable to link to Discover; no data view exists for this index',
}
Expand Down Expand Up @@ -238,8 +238,8 @@ export const SpikeAnalysisTable: FC<SpikeAnalysisTableProps> = ({
sortable: true,
},
{
'data-test-subj': 'mlAnomaliesListColumnAction',
name: i18n.translate('xpack.ml.anomaliesTable.actionsColumnName', {
'data-test-subj': 'aiOpsSpikeAnalysisTableColumnAction',
name: i18n.translate('xpack.aiops.spikeAnalysisTable.actionsColumnName', {
defaultMessage: 'Actions',
}),
actions: [
Expand Down

0 comments on commit 2b7b622

Please sign in to comment.