Skip to content

Commit f59f1cc

Browse files
author
Ryan Keairns
authored
Proofreading edits, UI text consistency (#24016)
1 parent e79533d commit f59f1cc

File tree

48 files changed

+88
-88
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+88
-88
lines changed

x-pack/plugins/canvas/canvas_plugin_src/elements/image/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import header from './header.png';
99
export const image = () => ({
1010
name: 'image',
1111
displayName: 'Image',
12-
help: 'A static image.',
12+
help: 'A static image',
1313
image: header,
1414
expression: `image dataurl=null mode="contain"
1515
| render`,

x-pack/plugins/canvas/canvas_plugin_src/elements/markdown/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,18 @@ export const markdown = () => ({
1313
image: header,
1414
expression: `filters
1515
| demodata
16-
| markdown "### Welcome to the Markdown Element.
16+
| markdown "### Welcome to the Markdown element
1717
1818
Good news! You're already connected to some demo data!
1919
20-
The datatable contains
20+
The data table contains
2121
**{{rows.length}} rows**, each containing
2222
the following columns:
2323
{{#each columns}}
2424
**{{name}}**
2525
{{/each}}
2626
27-
You can use standard Markdown in here, but you can also access your piped-in data using Handlebars. If you want to know more, check out the [Handlebars Documentation](http://handlebarsjs.com/expressions.html)
27+
You can use standard Markdown in here, but you can also access your piped-in data using Handlebars. If you want to know more, check out the [Handlebars documentation](http://handlebarsjs.com/expressions.html).
2828
2929
#### Enjoy!" | render`,
3030
});

x-pack/plugins/canvas/canvas_plugin_src/functions/browser/markdown.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export const markdown = () => ({
2525
},
2626
font: {
2727
types: ['style'],
28-
help: 'Font settings. Technically you can stick other styles in here too!',
28+
help: 'Font settings. Technically, you can add other styles in here as well',
2929
default: '{font}',
3030
},
3131
},

x-pack/plugins/canvas/canvas_plugin_src/functions/common/alterColumn.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ export const alterColumn = () => ({
2121
},
2222
type: {
2323
types: ['string'],
24-
help: 'The type to convert the column to. Leave blank to not change type.',
24+
help: 'The type to convert the column to. Leave blank to not change type',
2525
default: null,
2626
},
2727
name: {
2828
types: ['string'],
29-
help: 'The resultant column name. Leave blank to not rename.',
29+
help: 'The resultant column name. Leave blank to not rename',
3030
default: null,
3131
},
3232
},

x-pack/plugins/canvas/canvas_plugin_src/functions/common/axisConfig.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export const axisConfig = () => ({
2121
},
2222
position: {
2323
types: ['string'],
24-
help: 'Position of the axis labels. Eg, top, bottom, left, and right.',
24+
help: 'Position of the axis labels - top, bottom, left, and right',
2525
default: '',
2626
},
2727
min: {

x-pack/plugins/canvas/canvas_plugin_src/functions/common/case.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
export const caseFn = () => ({
88
name: 'case',
99
type: 'case',
10-
help: 'Build a case (including a condition/result) to pass to the switch function.',
10+
help: 'Build a case (including a condition/result) to pass to the switch function',
1111
args: {
1212
when: {
1313
aliases: ['_'],

x-pack/plugins/canvas/canvas_plugin_src/functions/common/date.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,19 @@ export const date = () => ({
2020
context: {
2121
types: ['null'],
2222
},
23-
help: 'Returns the current time, or a time parsed from a string, as milliseconds since epoch.',
23+
help: 'Returns the current time, or a time parsed from a string, as milliseconds since epoch',
2424
args: {
2525
value: {
2626
aliases: ['_'],
2727
types: ['string', 'null'],
2828
help:
29-
'An optional date string to parse into milliseconds since epoch. ' +
30-
'Can be either a valid Javascript Date input or a string to parse using the format argument. Must be an ISO 8601 string or you must provide the format.',
29+
'An optional date string to parse into milliseconds since epoch ' +
30+
'Can be either a valid Javascript Date input or a string to parse using the format argument. Must be an ISO 8601 string or you must provide the format',
3131
},
3232
format: {
3333
types: ['string'],
3434
help:
35-
'The momentJS format for parsing the optional date string (See https://momentjs.com/docs/#/displaying/).',
35+
'The momentJS format for parsing the optional date string (See https://momentjs.com/docs/#/displaying/)',
3636
},
3737
},
3838
fn: (context, args) => {

x-pack/plugins/canvas/canvas_plugin_src/functions/common/seriesStyle.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ export const seriesStyle = () => ({
1717
args: {
1818
label: {
1919
types: ['string'],
20-
displayName: 'Series Label',
20+
displayName: 'Series label',
2121
help:
22-
'The label of the line this style applies to, not the name you would like to give the line.',
22+
'The label of the line this style applies to, not the name you would like to give the line',
2323
},
2424
color: {
2525
types: ['string', 'null'],
@@ -33,12 +33,12 @@ export const seriesStyle = () => ({
3333
},
3434
bars: {
3535
types: ['number'],
36-
displayName: 'Bar Width',
36+
displayName: 'Bar width',
3737
help: 'Width of bars',
3838
},
3939
points: {
4040
types: ['number'],
41-
displayName: 'Show Points',
41+
displayName: 'Show points',
4242
help: 'Size of points on line',
4343
},
4444
fill: {
@@ -48,13 +48,13 @@ export const seriesStyle = () => ({
4848
},
4949
stack: {
5050
types: ['number', 'null'],
51-
displayName: 'Stack Series',
51+
displayName: 'Stack series',
5252
help:
5353
'Should we stack the series? This is the stack "id". Series with the same stack id will be stacked together',
5454
},
5555
horizontalBars: {
5656
types: ['boolean'],
57-
displayName: 'Horizontal Bars Orientation',
57+
displayName: 'Horizontal bars orientation',
5858
help: 'Sets the orientation of bars in the chart to horizontal',
5959
},
6060
},

x-pack/plugins/canvas/canvas_plugin_src/functions/common/staticColumn.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { getType } from '../../../common/lib/get_type';
99
export const staticColumn = () => ({
1010
name: 'staticColumn',
1111
type: 'datatable',
12-
help: 'Add a column with a static value.',
12+
help: 'Add a column with a static value',
1313
context: {
1414
types: ['datatable'],
1515
},

x-pack/plugins/canvas/canvas_plugin_src/functions/common/table.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export const table = () => ({
2121
paginate: {
2222
types: ['boolean'],
2323
default: true,
24-
help: 'Show pagination controls. If set to false only the first page will be displayed.',
24+
help: 'Show pagination controls. If set to false only the first page will be displayed',
2525
},
2626
perPage: {
2727
types: ['number'],
@@ -31,7 +31,7 @@ export const table = () => ({
3131
showHeader: {
3232
types: ['boolean'],
3333
default: true,
34-
help: 'Show or hide the header row with titles for each column.',
34+
help: 'Show or hide the header row with titles for each column',
3535
},
3636
},
3737
fn: (context, args) => {

0 commit comments

Comments
 (0)