Skip to content

Commit

Permalink
Fix duplicate i18n IDs
Browse files Browse the repository at this point in the history
  • Loading branch information
Kerry350 committed Apr 27, 2020
1 parent e3f201c commit 92de5b8
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions x-pack/plugins/infra/common/alerting/logs/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
}),
Expand Down

0 comments on commit 92de5b8

Please sign in to comment.