Skip to content

Commit

Permalink
Change the error message on TSVB in order to be more user friendly
Browse files Browse the repository at this point in the history
  • Loading branch information
stratoula committed May 20, 2020
1 parent dfa22d1 commit e28d5e7
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ export function validateInterval(bounds, panel, maxBuckets) {
'visTypeTimeseries.validateInterval.notifier.maxBucketsExceededErrorMessage',
{
defaultMessage:
'Max buckets exceeded: {buckets} is greater than {maxBuckets}, try a larger time interval in the panel options.',
values: { buckets, maxBuckets },
'Your query attempted to fetch too much data. Reducing the time range or changing the interval used usually fixes the issue.',
}
)
);
Expand Down
1 change: 0 additions & 1 deletion x-pack/plugins/translations/translations/ja-JP.json
Original file line number Diff line number Diff line change
Expand Up @@ -3631,7 +3631,6 @@
"visTypeTimeseries.unsupportedAgg.aggIsNotSupportedDescription": "{modelType} 集約はサポートされなくなりました。",
"visTypeTimeseries.unsupportedAgg.aggIsTemporaryUnsupportedDescription": "{modelType} 集約は現在サポートされていません。",
"visTypeTimeseries.unsupportedSplit.splitIsUnsupportedDescription": "{modelType} による分割はサポートされていません。",
"visTypeTimeseries.validateInterval.notifier.maxBucketsExceededErrorMessage": "バケットの最高数を超えました。{buckets} が {maxBuckets} を超えています。パネルオプションでより広い間隔を試してみてください。",
"visTypeTimeseries.vars.variableNameAriaLabel": "変数名",
"visTypeTimeseries.vars.variableNamePlaceholder": "変数名",
"visTypeTimeseries.visEditorVisualization.applyChangesLabel": "変更を適用",
Expand Down
1 change: 0 additions & 1 deletion x-pack/plugins/translations/translations/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -3632,7 +3632,6 @@
"visTypeTimeseries.unsupportedAgg.aggIsNotSupportedDescription": "不再支持 {modelType} 聚合。",
"visTypeTimeseries.unsupportedAgg.aggIsTemporaryUnsupportedDescription": "当前不支持 {modelType} 聚合。",
"visTypeTimeseries.unsupportedSplit.splitIsUnsupportedDescription": "不支持拆分依据 {modelType}。",
"visTypeTimeseries.validateInterval.notifier.maxBucketsExceededErrorMessage": "超过最大桶数:{buckets} 大于 {maxBuckets},请在面板选项中尝试较大的时间间隔。",
"visTypeTimeseries.vars.variableNameAriaLabel": "变量名称",
"visTypeTimeseries.vars.variableNamePlaceholder": "变量名称",
"visTypeTimeseries.visEditorVisualization.applyChangesLabel": "应用更改",
Expand Down

0 comments on commit e28d5e7

Please sign in to comment.