From 41cef9478db0d0367236c860474c572e37fd0225 Mon Sep 17 00:00:00 2001 From: Wylie Conlon Date: Tue, 15 Oct 2019 19:11:38 -0400 Subject: [PATCH] Improve date wording --- .../dimension_panel/bucket_nesting_editor.tsx | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/x-pack/legacy/plugins/lens/public/indexpattern_plugin/dimension_panel/bucket_nesting_editor.tsx b/x-pack/legacy/plugins/lens/public/indexpattern_plugin/dimension_panel/bucket_nesting_editor.tsx index 9969664f34583..21850f5996722 100644 --- a/x-pack/legacy/plugins/lens/public/indexpattern_plugin/dimension_panel/bucket_nesting_editor.tsx +++ b/x-pack/legacy/plugins/lens/public/indexpattern_plugin/dimension_panel/bucket_nesting_editor.tsx @@ -64,7 +64,7 @@ export function BucketNestingEditor({ <> @@ -74,13 +74,12 @@ export function BucketNestingEditor({ data-test-subj="indexPattern-nesting-topLevel" label={ column.operationType === 'terms' - ? i18n.translate('xpack.lens.indexPattern.nestingOverallTerms', { + ? i18n.translate('xpack.lens.indexPattern.groupingOverallTerms', { defaultMessage: 'Overall top {field}', values: { field: fieldName }, }) - : i18n.translate('xpack.lens.indexPattern.nestingOverallDateHistogram', { - defaultMessage: '{target} for each date', - values: { target: target.fieldName }, + : i18n.translate('xpack.lens.indexPattern.groupingOverallDateHistogram', { + defaultMessage: 'Dates overall', }) } checked={!prevColumn} @@ -91,11 +90,11 @@ export function BucketNestingEditor({ data-test-subj="indexPattern-nesting-bottomLevel" label={ column.operationType === 'terms' - ? i18n.translate('xpack.lens.indexPattern.nestingOverallTerms', { + ? i18n.translate('xpack.lens.indexPattern.groupingSecondTerms', { defaultMessage: 'Top values for each {target}', values: { target: target.fieldName }, }) - : i18n.translate('xpack.lens.indexPattern.nestingOverallDateHistogram', { + : i18n.translate('xpack.lens.indexPattern.groupingSecondDateHistogram', { defaultMessage: 'Dates for each {target}', values: { target: target.fieldName }, })