From 92de5b8fbbc8638e67745152b3f25ba4a50ce254 Mon Sep 17 00:00:00 2001 From: Kerry Gallagher Date: Mon, 27 Apr 2020 13:58:58 +0100 Subject: [PATCH] Fix duplicate i18n IDs --- x-pack/plugins/infra/common/alerting/logs/types.ts | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/x-pack/plugins/infra/common/alerting/logs/types.ts b/x-pack/plugins/infra/common/alerting/logs/types.ts index 54ebfeacddb94..cbfffbfd8f940 100644 --- a/x-pack/plugins/infra/common/alerting/logs/types.ts +++ b/x-pack/plugins/infra/common/alerting/logs/types.ts @@ -41,12 +41,15 @@ export const ComparatorToi18nMap = { [Comparator.NOT_EQ]: i18n.translate('xpack.infra.logs.alerting.comparator.notEq', { defaultMessage: 'is not', }), - [`${Comparator.EQ}:number`]: i18n.translate('xpack.infra.logs.alerting.comparator.eq', { + [`${Comparator.EQ}:number`]: i18n.translate('xpack.infra.logs.alerting.comparator.eqNumber', { defaultMessage: 'equals', }), - [`${Comparator.NOT_EQ}:number`]: i18n.translate('xpack.infra.logs.alerting.comparator.eq', { - defaultMessage: 'does not equal', - }), + [`${Comparator.NOT_EQ}:number`]: i18n.translate( + 'xpack.infra.logs.alerting.comparator.notEqNumber', + { + defaultMessage: 'does not equal', + } + ), [Comparator.MATCH]: i18n.translate('xpack.infra.logs.alerting.comparator.match', { defaultMessage: 'matches', }),