From 1e82368e602d6f86b91273b609d7864c6787abbc Mon Sep 17 00:00:00 2001 From: Walter Rafelsberger Date: Mon, 4 Nov 2024 09:24:21 +0100 Subject: [PATCH] update TimeFieldWarning component texts to be suitable for both log rate analysis and pattern analysis --- .../public/components/time_field_warning.tsx | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/x-pack/plugins/aiops/public/components/time_field_warning.tsx b/x-pack/plugins/aiops/public/components/time_field_warning.tsx index 25e8dd21d68f7..beb64917af538 100644 --- a/x-pack/plugins/aiops/public/components/time_field_warning.tsx +++ b/x-pack/plugins/aiops/public/components/time_field_warning.tsx @@ -14,22 +14,16 @@ export const TimeFieldWarning = () => { <>

- {i18n.translate( - 'xpack.aiops.logCategorization.embeddableMenu.timeFieldWarning.title.description', - { - defaultMessage: 'Pattern analysis can only be run on data views with a time field.', - } - )} + {i18n.translate('xpack.aiops.embeddableMenu.timeFieldWarning.title.description', { + defaultMessage: 'The analysis can only be run on data views with a time field.', + })}