Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Visualizations] Update the texts on the wizard #82926

Merged
merged 10 commits into from
Nov 24, 2020
2 changes: 1 addition & 1 deletion src/plugins/vis_type_metric/public/metric_vis_type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const createMetricVisTypeDefinition = (): BaseVisTypeOptions => ({
title: i18n.translate('visTypeMetric.metricTitle', { defaultMessage: 'Metric' }),
icon: 'visMetric',
description: i18n.translate('visTypeMetric.metricDescription', {
defaultMessage: 'Display a calculation as a single number',
defaultMessage: 'Show a calculation as a single number.',
}),
toExpressionAst,
visConfig: {
Expand Down
4 changes: 2 additions & 2 deletions src/plugins/vis_type_table/public/table_vis_type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ import { TableVisParams } from './types';
export const tableVisTypeDefinition: BaseVisTypeOptions<TableVisParams> = {
name: 'table',
title: i18n.translate('visTypeTable.tableVisTitle', {
defaultMessage: 'Data Table',
defaultMessage: 'Data table',
}),
icon: 'visTable',
description: i18n.translate('visTypeTable.tableVisDescription', {
defaultMessage: 'Display values in a table',
defaultMessage: 'Display data in rows and columns.',
}),
getSupportedTriggers: () => {
return [VIS_EVENT_TO_TRIGGER.filter];
Expand Down
4 changes: 2 additions & 2 deletions src/plugins/vis_type_tagcloud/public/tag_cloud_type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ import { toExpressionAst } from './to_ast';

export const tagCloudVisTypeDefinition = {
name: 'tagcloud',
title: i18n.translate('visTypeTagCloud.vis.tagCloudTitle', { defaultMessage: 'Tag Cloud' }),
title: i18n.translate('visTypeTagCloud.vis.tagCloudTitle', { defaultMessage: 'Tag cloud' }),
icon: 'visTagCloud',
getSupportedTriggers: () => {
return [VIS_EVENT_TO_TRIGGER.filter];
},
description: i18n.translate('visTypeTagCloud.vis.tagCloudDescription', {
defaultMessage: 'A group of words, sized according to their importance',
defaultMessage: 'Display word frequency with font size.',
}),
visConfig: {
defaults: {
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/vis_type_timelion/public/timelion_vis_type.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export function getTimelionVisDefinition(dependencies: TimelionVisDependencies)
title: 'Timelion',
icon: 'visTimelion',
description: i18n.translate('timelion.timelionDescription', {
defaultMessage: 'Build time-series using functional expressions',
defaultMessage: 'Show time series data on a graph.',
}),
visConfig: {
defaults: {
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/vis_type_vislib/public/area.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const areaVisTypeDefinition: BaseVisTypeOptions<BasicVislibParams> = {
title: i18n.translate('visTypeVislib.area.areaTitle', { defaultMessage: 'Area' }),
icon: 'visArea',
description: i18n.translate('visTypeVislib.area.areaDescription', {
defaultMessage: 'Emphasize the quantity beneath a line chart',
defaultMessage: 'Emphasize the data between an axis and a line.',
}),
getSupportedTriggers: () => [VIS_EVENT_TO_TRIGGER.filter, VIS_EVENT_TO_TRIGGER.brush],
toExpressionAst,
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/vis_type_vislib/public/gauge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export const gaugeVisTypeDefinition: BaseVisTypeOptions<BasicVislibParams> = {
title: i18n.translate('visTypeVislib.gauge.gaugeTitle', { defaultMessage: 'Gauge' }),
icon: 'visGauge',
description: i18n.translate('visTypeVislib.gauge.gaugeDescription', {
defaultMessage: 'Gauges indicate the status of a metric.',
defaultMessage: 'Show the status of a metric.',
}),
toExpressionAst,
visConfig: {
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/vis_type_vislib/public/goal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const goalVisTypeDefinition: BaseVisTypeOptions<BasicVislibParams> = {
title: i18n.translate('visTypeVislib.goal.goalTitle', { defaultMessage: 'Goal' }),
icon: 'visGoal',
description: i18n.translate('visTypeVislib.goal.goalDescription', {
defaultMessage: 'A goal chart indicates how close you are to your final goal.',
defaultMessage: 'Track how a metric progresses to a goal.',
}),
toExpressionAst,
visConfig: {
Expand Down
4 changes: 2 additions & 2 deletions src/plugins/vis_type_vislib/public/heatmap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ export interface HeatmapVisParams extends CommonVislibParams, ColorSchemaParams

export const heatmapVisTypeDefinition: BaseVisTypeOptions<BasicVislibParams> = {
name: 'heatmap',
title: i18n.translate('visTypeVislib.heatmap.heatmapTitle', { defaultMessage: 'Heat Map' }),
title: i18n.translate('visTypeVislib.heatmap.heatmapTitle', { defaultMessage: 'Heat map' }),
icon: 'heatmap',
description: i18n.translate('visTypeVislib.heatmap.heatmapDescription', {
defaultMessage: 'Shade cells within a matrix',
defaultMessage: 'Shade cells in cells in a matrix.',
}),
getSupportedTriggers: () => [VIS_EVENT_TO_TRIGGER.filter],
toExpressionAst,
Expand Down
4 changes: 2 additions & 2 deletions src/plugins/vis_type_vislib/public/histogram.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ import { toExpressionAst } from './to_ast';
export const histogramVisTypeDefinition: BaseVisTypeOptions<BasicVislibParams> = {
name: 'histogram',
title: i18n.translate('visTypeVislib.histogram.histogramTitle', {
defaultMessage: 'Vertical Bar',
defaultMessage: 'Vertical bar',
}),
icon: 'visBarVertical',
description: i18n.translate('visTypeVislib.histogram.histogramDescription', {
defaultMessage: 'Assign a continuous variable to each axis',
defaultMessage: 'Present data in vertical bars on an axis.',
}),
getSupportedTriggers: () => [VIS_EVENT_TO_TRIGGER.filter, VIS_EVENT_TO_TRIGGER.brush],
toExpressionAst,
Expand Down
4 changes: 2 additions & 2 deletions src/plugins/vis_type_vislib/public/horizontal_bar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ import { toExpressionAst } from './to_ast';
export const horizontalBarVisTypeDefinition: BaseVisTypeOptions<BasicVislibParams> = {
name: 'horizontal_bar',
title: i18n.translate('visTypeVislib.horizontalBar.horizontalBarTitle', {
defaultMessage: 'Horizontal Bar',
defaultMessage: 'Horizontal bar',
}),
icon: 'visBarHorizontal',
description: i18n.translate('visTypeVislib.horizontalBar.horizontalBarDescription', {
defaultMessage: 'Assign a continuous variable to each axis',
defaultMessage: 'Present data in horizontal bars on an axis.',
}),
getSupportedTriggers: () => [VIS_EVENT_TO_TRIGGER.filter, VIS_EVENT_TO_TRIGGER.brush],
toExpressionAst,
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/vis_type_vislib/public/line.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const lineVisTypeDefinition: BaseVisTypeOptions<BasicVislibParams> = {
title: i18n.translate('visTypeVislib.line.lineTitle', { defaultMessage: 'Line' }),
icon: 'visLine',
description: i18n.translate('visTypeVislib.line.lineDescription', {
defaultMessage: 'Emphasize trends',
defaultMessage: 'Display data as a series of points.',
}),
getSupportedTriggers: () => [VIS_EVENT_TO_TRIGGER.filter, VIS_EVENT_TO_TRIGGER.brush],
toExpressionAst,
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/vis_type_vislib/public/pie.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export const pieVisTypeDefinition: BaseVisTypeOptions<PieVisParams> = {
title: i18n.translate('visTypeVislib.pie.pieTitle', { defaultMessage: 'Pie' }),
icon: 'visPie',
description: i18n.translate('visTypeVislib.pie.pieDescription', {
defaultMessage: 'Compare parts of a whole',
defaultMessage: 'Compare data in proportion to a whole.',
}),
getSupportedTriggers: () => [VIS_EVENT_TO_TRIGGER.filter],
toExpressionAst,
Expand Down
10 changes: 5 additions & 5 deletions test/functional/apps/visualize/_chart_types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,18 +49,18 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
let expectedChartTypes = [
'Area',
'Coordinate Map',
'Data Table',
'Data table',
'Gauge',
'Goal',
'Heat Map',
'Horizontal Bar',
'Heat map',
'Horizontal bar',
'Line',
'Metric',
'Pie',
'Region Map',
'Tag Cloud',
'Tag cloud',
'Timelion',
'Vertical Bar',
'Vertical bar',
];
if (!isOss) {
expectedChartTypes = _.remove(expectedChartTypes, function (n) {
Expand Down
16 changes: 0 additions & 16 deletions x-pack/plugins/translations/translations/ja-JP.json
Original file line number Diff line number Diff line change
Expand Up @@ -3460,7 +3460,6 @@
"timelion.serverSideErrors.wrongFunctionArgumentTypeErrorMessage": "{functionName} ({argumentName}) は {requiredTypes} の内の 1 つでなければなりません。{actualType} を入手",
"timelion.serverSideErrors.yaxisFunction.notSupportedUnitTypeErrorMessage": "{units} はサポートされているユニットタイプではありません。.",
"timelion.serverSideErrors.yaxisFunction.notValidCurrencyFormatErrorMessage": "通貨は 3 文字のコードでなければなりません",
"timelion.timelionDescription": "関数式で時系列チャートを作成します。",
"timelion.topNavMenu.addChartButtonAriaLabel": "チャートを追加",
"timelion.topNavMenu.addChartButtonLabel": "追加",
"timelion.topNavMenu.delete.modal.confirmButtonLabel": "削除",
Expand Down Expand Up @@ -3700,7 +3699,6 @@
"visTypeMetric.function.showLabels.help": "メトリック値の下にラベルを表示します。",
"visTypeMetric.function.subText.help": "メトリックの下に表示するカスタムテキスト",
"visTypeMetric.function.useRanges.help": "有効な色範囲です。",
"visTypeMetric.metricDescription": "計算結果を単独の数字として表示します。",
"visTypeMetric.metricTitle": "メトリック",
"visTypeMetric.params.color.useForLabel": "使用する色",
"visTypeMetric.params.percentageModeLabel": "パーセンテージモード",
Expand All @@ -3726,11 +3724,9 @@
"visTypeTable.params.showPartialRowsTip": "部分データのある行を表示。表示されていなくてもすべてのバケット/レベルのメトリックが計算されます。",
"visTypeTable.params.showTotalLabel": "合計を表示",
"visTypeTable.params.totalFunctionLabel": "合計機能",
"visTypeTable.tableVisDescription": "テーブルに値を表示します。",
"visTypeTable.tableVisEditorConfig.schemas.bucketTitle": "行を分割",
"visTypeTable.tableVisEditorConfig.schemas.metricTitle": "メトリック",
"visTypeTable.tableVisEditorConfig.schemas.splitTitle": "テーブルを分割",
"visTypeTable.tableVisTitle": "データテーブル",
"visTypeTable.totalAggregations.averageText": "平均",
"visTypeTable.totalAggregations.countText": "カウント",
"visTypeTable.totalAggregations.maxText": "最高",
Expand All @@ -3752,8 +3748,6 @@
"visTypeTagCloud.vis.editorConfig.scales.squareRootText": "平方根",
"visTypeTagCloud.vis.schemas.metricTitle": "タグサイズ",
"visTypeTagCloud.vis.schemas.segmentTitle": "タグ",
"visTypeTagCloud.vis.tagCloudDescription": "重要度に基づき大きさを変えた単語のグループ表示です。",
"visTypeTagCloud.vis.tagCloudTitle": "タグクラウド",
"visTypeTagCloud.visParams.fontSizeLabel": "フォントサイズ範囲 (ピクセル)",
"visTypeTagCloud.visParams.orientationsLabel": "方向",
"visTypeTagCloud.visParams.showLabelToggleLabel": "ラベルを表示",
Expand Down Expand Up @@ -4352,7 +4346,6 @@
"visTypeVislib.advancedSettings.visualization.heatmap.maxBucketsText": "1つのデータソースが返せるバケットの最大数です。値が大きいとブラウザのレンダリング速度が下がる可能性があります。",
"visTypeVislib.advancedSettings.visualization.heatmap.maxBucketsTitle": "ヒートマップの最大バケット数",
"visTypeVislib.aggResponse.allDocsTitle": "すべてのドキュメント",
"visTypeVislib.area.areaDescription": "折れ線グラフの下の数量を強調します。",
"visTypeVislib.area.areaTitle": "エリア",
"visTypeVislib.area.countText": "カウント",
"visTypeVislib.area.groupTitle": "系列を分割",
Expand Down Expand Up @@ -4471,26 +4464,19 @@
"visTypeVislib.gauge.gaugeTypes.circleText": "円",
"visTypeVislib.gauge.groupTitle": "グループを分割",
"visTypeVislib.gauge.metricTitle": "メトリック",
"visTypeVislib.goal.goalDescription": "ゴールチャートは、最終目標にどれだけ近いかを示します。",
"visTypeVislib.goal.goalTitle": "ゴール",
"visTypeVislib.goal.groupTitle": "グループを分割",
"visTypeVislib.goal.metricTitle": "メトリック",
"visTypeVislib.heatmap.groupTitle": "Y 軸",
"visTypeVislib.heatmap.heatmapDescription": "マトリックス内のセルに影をつける。",
"visTypeVislib.heatmap.heatmapTitle": "ヒートマップ",
"visTypeVislib.heatmap.metricTitle": "値",
"visTypeVislib.heatmap.segmentTitle": "X 軸",
"visTypeVislib.heatmap.splitTitle": "チャートを分割",
"visTypeVislib.histogram.groupTitle": "系列を分割",
"visTypeVislib.histogram.histogramDescription": "連続変数を各軸に割り当てる。",
"visTypeVislib.histogram.histogramTitle": "縦棒",
"visTypeVislib.histogram.metricTitle": "Y 軸",
"visTypeVislib.histogram.radiusTitle": "点のサイズ",
"visTypeVislib.histogram.segmentTitle": "X 軸",
"visTypeVislib.histogram.splitTitle": "チャートを分割",
"visTypeVislib.horizontalBar.groupTitle": "系列を分割",
"visTypeVislib.horizontalBar.horizontalBarDescription": "連続変数を各軸に割り当てる。",
"visTypeVislib.horizontalBar.horizontalBarTitle": "横棒",
"visTypeVislib.horizontalBar.metricTitle": "Y 軸",
"visTypeVislib.horizontalBar.radiusTitle": "点のサイズ",
"visTypeVislib.horizontalBar.segmentTitle": "X 軸",
Expand All @@ -4503,14 +4489,12 @@
"visTypeVislib.legendPositions.rightText": "右",
"visTypeVislib.legendPositions.topText": "トップ",
"visTypeVislib.line.groupTitle": "系列を分割",
"visTypeVislib.line.lineDescription": "トレンドを強調します。",
"visTypeVislib.line.lineTitle": "折れ線",
"visTypeVislib.line.metricTitle": "Y 軸",
"visTypeVislib.line.radiusTitle": "点のサイズ",
"visTypeVislib.line.segmentTitle": "X 軸",
"visTypeVislib.line.splitTitle": "チャートを分割",
"visTypeVislib.pie.metricTitle": "サイズのスライス",
"visTypeVislib.pie.pieDescription": "全体に対する内訳を表現する。",
"visTypeVislib.pie.pieTitle": "パイ",
"visTypeVislib.pie.segmentTitle": "スライスの分割",
"visTypeVislib.pie.splitTitle": "チャートを分割",
Expand Down
16 changes: 0 additions & 16 deletions x-pack/plugins/translations/translations/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -3461,7 +3461,6 @@
"timelion.serverSideErrors.wrongFunctionArgumentTypeErrorMessage": "{functionName}({argumentName}) 必须是 {requiredTypes} 之一。得到:{actualType}",
"timelion.serverSideErrors.yaxisFunction.notSupportedUnitTypeErrorMessage": "{units} 为不受支持的单元类型。",
"timelion.serverSideErrors.yaxisFunction.notValidCurrencyFormatErrorMessage": "货币必须使用三个字母的代码",
"timelion.timelionDescription": "使用函数表达式构建时间序列",
"timelion.topNavMenu.addChartButtonAriaLabel": "添加图表",
"timelion.topNavMenu.addChartButtonLabel": "添加",
"timelion.topNavMenu.delete.modal.confirmButtonLabel": "删除",
Expand Down Expand Up @@ -3701,7 +3700,6 @@
"visTypeMetric.function.showLabels.help": "在指标值下显示标签。",
"visTypeMetric.function.subText.help": "要在指标下显示的定制文本",
"visTypeMetric.function.useRanges.help": "已启用颜色范围。",
"visTypeMetric.metricDescription": "将计算结果显示为单个数字",
"visTypeMetric.metricTitle": "指标",
"visTypeMetric.params.color.useForLabel": "将颜色用于",
"visTypeMetric.params.percentageModeLabel": "百分比模式",
Expand All @@ -3727,11 +3725,9 @@
"visTypeTable.params.showPartialRowsTip": "显示具有部分数据的行。这仍将计算每个桶/级别的指标,即使它们未显示。",
"visTypeTable.params.showTotalLabel": "显示汇总",
"visTypeTable.params.totalFunctionLabel": "汇总函数",
"visTypeTable.tableVisDescription": "在表中显示值",
"visTypeTable.tableVisEditorConfig.schemas.bucketTitle": "拆分行",
"visTypeTable.tableVisEditorConfig.schemas.metricTitle": "指标",
"visTypeTable.tableVisEditorConfig.schemas.splitTitle": "拆分表",
"visTypeTable.tableVisTitle": "数据表",
"visTypeTable.totalAggregations.averageText": "平均值",
"visTypeTable.totalAggregations.countText": "计数",
"visTypeTable.totalAggregations.maxText": "最大值",
Expand All @@ -3753,8 +3749,6 @@
"visTypeTagCloud.vis.editorConfig.scales.squareRootText": "平方根",
"visTypeTagCloud.vis.schemas.metricTitle": "标记大小",
"visTypeTagCloud.vis.schemas.segmentTitle": "标记",
"visTypeTagCloud.vis.tagCloudDescription": "一组字词,可根据其重要性调整大小",
"visTypeTagCloud.vis.tagCloudTitle": "标签云图",
"visTypeTagCloud.visParams.fontSizeLabel": "字体大小范围(像素)",
"visTypeTagCloud.visParams.orientationsLabel": "方向",
"visTypeTagCloud.visParams.showLabelToggleLabel": "显示标签",
Expand Down Expand Up @@ -4354,7 +4348,6 @@
"visTypeVislib.advancedSettings.visualization.heatmap.maxBucketsText": "单个数据源可以返回的最大存储桶数目。较高的数目可能对浏览器呈现性能有负面影响",
"visTypeVislib.advancedSettings.visualization.heatmap.maxBucketsTitle": "热图最大存储桶数",
"visTypeVislib.aggResponse.allDocsTitle": "所有文档",
"visTypeVislib.area.areaDescription": "突出折线图下方的数量",
"visTypeVislib.area.areaTitle": "面积图",
"visTypeVislib.area.countText": "计数",
"visTypeVislib.area.groupTitle": "拆分序列",
Expand Down Expand Up @@ -4473,26 +4466,19 @@
"visTypeVislib.gauge.gaugeTypes.circleText": "圆形",
"visTypeVislib.gauge.groupTitle": "拆分组",
"visTypeVislib.gauge.metricTitle": "指标",
"visTypeVislib.goal.goalDescription": "目标图指示与最终目标的接近程度。",
"visTypeVislib.goal.goalTitle": "目标图",
"visTypeVislib.goal.groupTitle": "拆分组",
"visTypeVislib.goal.metricTitle": "指标",
"visTypeVislib.heatmap.groupTitle": "Y 轴",
"visTypeVislib.heatmap.heatmapDescription": "为矩阵中的单元格添加阴影",
"visTypeVislib.heatmap.heatmapTitle": "热力图",
"visTypeVislib.heatmap.metricTitle": "值",
"visTypeVislib.heatmap.segmentTitle": "X 轴",
"visTypeVislib.heatmap.splitTitle": "拆分图表",
"visTypeVislib.histogram.groupTitle": "拆分序列",
"visTypeVislib.histogram.histogramDescription": "向每个轴赋予连续变量",
"visTypeVislib.histogram.histogramTitle": "垂直条形图",
"visTypeVislib.histogram.metricTitle": "Y 轴",
"visTypeVislib.histogram.radiusTitle": "点大小",
"visTypeVislib.histogram.segmentTitle": "X 轴",
"visTypeVislib.histogram.splitTitle": "拆分图表",
"visTypeVislib.horizontalBar.groupTitle": "拆分序列",
"visTypeVislib.horizontalBar.horizontalBarDescription": "向每个轴赋予连续变量",
"visTypeVislib.horizontalBar.horizontalBarTitle": "水平条形图",
"visTypeVislib.horizontalBar.metricTitle": "Y 轴",
"visTypeVislib.horizontalBar.radiusTitle": "点大小",
"visTypeVislib.horizontalBar.segmentTitle": "X 轴",
Expand All @@ -4505,14 +4491,12 @@
"visTypeVislib.legendPositions.rightText": "右",
"visTypeVislib.legendPositions.topText": "上",
"visTypeVislib.line.groupTitle": "拆分序列",
"visTypeVislib.line.lineDescription": "突出趋势",
"visTypeVislib.line.lineTitle": "折线图",
"visTypeVislib.line.metricTitle": "Y 轴",
"visTypeVislib.line.radiusTitle": "点大小",
"visTypeVislib.line.segmentTitle": "X 轴",
"visTypeVislib.line.splitTitle": "拆分图表",
"visTypeVislib.pie.metricTitle": "切片大小",
"visTypeVislib.pie.pieDescription": "比较整体的各个部分",
"visTypeVislib.pie.pieTitle": "饼图",
"visTypeVislib.pie.segmentTitle": "拆分切片",
"visTypeVislib.pie.splitTitle": "拆分图表",
Expand Down