From f91ece13f5dfe511f3cd3cdd9d7dd8f37affca14 Mon Sep 17 00:00:00 2001 From: KOTungseth Date: Mon, 2 Dec 2019 15:25:35 -0600 Subject: [PATCH] Updated precision definition --- .../timelion/server/series_functions/precision.js | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/legacy/core_plugins/timelion/server/series_functions/precision.js b/src/legacy/core_plugins/timelion/server/series_functions/precision.js index 98eec9b57dabc..fa50bd77a90a9 100644 --- a/src/legacy/core_plugins/timelion/server/series_functions/precision.js +++ b/src/legacy/core_plugins/timelion/server/series_functions/precision.js @@ -17,7 +17,6 @@ * under the License. */ -import { i18n } from '@kbn/i18n'; import reduce from '../lib/reduce.js'; import alter from '../lib/alter.js'; import Chainable from '../lib/classes/chainable'; @@ -31,14 +30,10 @@ export default new Chainable('precision', { { name: 'precision', types: ['number'], - help: i18n.translate('timelion.help.functions.precision.args.precisionHelpText', { - defaultMessage: 'Number of digits to round each value to', - }), + defaultMessage: 'The number of digits to truncate each value to', } ], - help: i18n.translate('timelion.help.functions.precisionHelpText', { - defaultMessage: 'number of digits to round the decimal portion of the value to', - }), + defaultMessage: 'The number of digits to truncate the decimal portion of the value to', fn: async function precisionFn(args) { await alter(args, function (eachSeries, precision) { eachSeries._meta = eachSeries._meta || {};