Skip to content

Commit

Permalink
improve copy
Browse files Browse the repository at this point in the history
  • Loading branch information
Dosant committed Feb 28, 2022
1 parent 8294236 commit 943eb8b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/plugins/data/common/search/aggs/metrics/top_metrics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const getTopMetricsMetricAgg = () => {
name: METRIC_TYPES.TOP_METRICS,
expressionName: aggTopMetricsFnName,
title: i18n.translate('data.search.aggs.metrics.topMetricsTitle', {
defaultMessage: 'Top Metrics',
defaultMessage: 'Top metrics',
}),
makeLabel(aggConfig) {
const isDescOrder = aggConfig.getParam('sortOrder').value === 'desc';
Expand Down
4 changes: 2 additions & 2 deletions src/plugins/data/common/search/aggs/metrics/top_metrics_fn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ type FunctionDefinition = ExpressionFunctionDefinition<
export const aggTopMetrics = (): FunctionDefinition => ({
name: aggTopMetricsFnName,
help: i18n.translate('data.search.aggs.function.metrics.topMetrics.help', {
defaultMessage: 'Generates a serialized agg config for a Top Metrics agg',
defaultMessage: 'Generates a serialized aggregation configuration for Top metrics.',
}),
type: 'agg_type',
args: {
Expand Down Expand Up @@ -77,7 +77,7 @@ export const aggTopMetrics = (): FunctionDefinition => ({
json: {
types: ['string'],
help: i18n.translate('data.search.aggs.metrics.topMetrics.json.help', {
defaultMessage: 'Advanced json to include when the agg is sent to Elasticsearch',
defaultMessage: 'Advanced JSON to include when the aggregation is sent to Elasticsearch',
}),
},
customLabel: {
Expand Down

0 comments on commit 943eb8b

Please sign in to comment.