Skip to content

Commit 289b2fa

Browse files
Clarify Precision function in Timelion Kibana (#58031)
* Closes issue 26100 Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
1 parent 783663f commit 289b2fa

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

src/plugins/timelion/server/series_functions/precision.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ export default new Chainable('precision', {
3232
name: 'precision',
3333
types: ['number'],
3434
help: i18n.translate('timelion.help.functions.precision.args.precisionHelpText', {
35-
defaultMessage: 'Number of digits to round each value to',
35+
defaultMessage: 'The number of digits to truncate each value to',
3636
}),
3737
},
3838
],
3939
help: i18n.translate('timelion.help.functions.precisionHelpText', {
40-
defaultMessage: 'number of digits to round the decimal portion of the value to',
40+
defaultMessage: 'The number of digits to truncate the decimal portion of the value to',
4141
}),
4242
fn: async function precisionFn(args) {
4343
await alter(args, function(eachSeries, precision) {

x-pack/plugins/translations/translations/ja-JP.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2697,8 +2697,6 @@
26972697
"timelion.help.functions.points.args.symbolHelpText": "点のシンボルです。{validSymbols} の 1 つ",
26982698
"timelion.help.functions.points.args.weightHelpText": "点の周りの太さです",
26992699
"timelion.help.functions.pointsHelpText": "数列を点として表示します",
2700-
"timelion.help.functions.precision.args.precisionHelpText": "各値を四捨五入する桁数です",
2701-
"timelion.help.functions.precisionHelpText": "値の小数点以下の四捨五入する桁数です",
27022700
"timelion.help.functions.props.args.globalHelpText": "各数列に対し、seriesList にプロップを設定します",
27032701
"timelion.help.functions.propsHelpText": "数列に任意のプロパティを設定するため、自己責任で行ってください。例: {example}",
27042702
"timelion.help.functions.quandl.args.codeHelpText": "プロットする Quandl コードです。これらは quandl.com に掲載されています。",

x-pack/plugins/translations/translations/zh-CN.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2697,8 +2697,6 @@
26972697
"timelion.help.functions.points.args.symbolHelpText": "点符号。以下选项之一:{validSymbols}",
26982698
"timelion.help.functions.points.args.weightHelpText": "围绕点的线条粗细",
26992699
"timelion.help.functions.pointsHelpText": "将序列显示为点",
2700-
"timelion.help.functions.precision.args.precisionHelpText": "将每个值舍入到的小数位数",
2701-
"timelion.help.functions.precisionHelpText": "将值的小数部分舍入到的小数位数",
27022700
"timelion.help.functions.props.args.globalHelpText": "在 seriesList 与每个序列上设置属性",
27032701
"timelion.help.functions.propsHelpText": "在序列上可设置任意属性,但请自担风险。例如 {example}",
27042702
"timelion.help.functions.quandl.args.codeHelpText": "要绘图的 quandl 代码。可以在 quandl.com 找到这些内容。",

0 commit comments

Comments
 (0)