From eb55c77c6debe40a43bb9c986ca3f15fda0c0d20 Mon Sep 17 00:00:00 2001 From: Joe Reuter Date: Fri, 6 Nov 2020 17:21:44 +0100 Subject: [PATCH] fix i18n --- .../lens/public/indexpattern_datasource/suffix_formatter.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/x-pack/plugins/lens/public/indexpattern_datasource/suffix_formatter.ts b/x-pack/plugins/lens/public/indexpattern_datasource/suffix_formatter.ts index ae9bd52dfcd02..5594976738efe 100644 --- a/x-pack/plugins/lens/public/indexpattern_datasource/suffix_formatter.ts +++ b/x-pack/plugins/lens/public/indexpattern_datasource/suffix_formatter.ts @@ -11,9 +11,9 @@ import { TimeScaleUnit } from './time_scale'; const unitSuffixes: Record = { s: i18n.translate('xpack.lens.fieldFormats.suffix.s', { defaultMessage: '/h' }), - m: i18n.translate('xpack.lens.fieldFormats.suffix.s', { defaultMessage: '/m' }), - h: i18n.translate('xpack.lens.fieldFormats.suffix.s', { defaultMessage: '/h' }), - d: i18n.translate('xpack.lens.fieldFormats.suffix.s', { defaultMessage: '/d' }), + m: i18n.translate('xpack.lens.fieldFormats.suffix.m', { defaultMessage: '/m' }), + h: i18n.translate('xpack.lens.fieldFormats.suffix.h', { defaultMessage: '/h' }), + d: i18n.translate('xpack.lens.fieldFormats.suffix.d', { defaultMessage: '/d' }), }; export function getSuffixFormatter(formatFactory: FormatFactory) {