i18n(App) syntax errors detected by Grammarly while translating (#6209)
This commit is contained in:
parent
735499cb53
commit
d6908eef49
|
|
@ -37,7 +37,7 @@
|
|||
null,
|
||||
null
|
||||
],
|
||||
"description": "Bounds for the Y axis. When left empty, the bounds are dynamically defined based on the min/max of the data. Note that this feature will only expand the axis range. It won't narrow the data's extent."
|
||||
"description": "Bounds for the Y-axis. When left empty, the bounds are dynamically defined based on the min/max of the data. Note that this feature will only expand the axis range. It won't narrow the data's extent."
|
||||
},
|
||||
"order_by_cols": {
|
||||
"type": "SelectControl",
|
||||
|
|
@ -253,7 +253,7 @@
|
|||
]
|
||||
],
|
||||
"default": "series",
|
||||
"description": "Defines how the color are attributed."
|
||||
"description": "Defines how the colors are attributed."
|
||||
},
|
||||
"canvas_image_rendering": {
|
||||
"type": "SelectControl",
|
||||
|
|
@ -753,7 +753,7 @@
|
|||
"label": "Reduce X ticks",
|
||||
"renderTrigger": true,
|
||||
"default": false,
|
||||
"description": "Reduces the number of X axis ticks to be rendered. If true, the x axis wont overflow and labels may be missing. If false, a minimum width will be applied to columns and the width may overflow into an horizontal scroll."
|
||||
"description": "Reduces the number of X-axis ticks to be rendered. If true, the x-axis won't overflow and labels may be missing. If false, a minimum width will be applied to columns and the width may overflow into a horizontal scroll."
|
||||
},
|
||||
"include_series": {
|
||||
"type": "CheckboxControl",
|
||||
|
|
@ -834,7 +834,7 @@
|
|||
"Usa"
|
||||
]
|
||||
],
|
||||
"description": "The name of country that Superset should display"
|
||||
"description": "The name of the country that Superset should display"
|
||||
},
|
||||
"country_fieldtype": {
|
||||
"type": "SelectControl",
|
||||
|
|
@ -2242,14 +2242,14 @@
|
|||
"label": "X bounds",
|
||||
"renderTrigger": true,
|
||||
"default": true,
|
||||
"description": "Whether to display the min and max values of the X axis"
|
||||
"description": "Whether to display the min and max values of the X-axis"
|
||||
},
|
||||
"y_axis_showminmax": {
|
||||
"type": "CheckboxControl",
|
||||
"label": "Y bounds",
|
||||
"renderTrigger": true,
|
||||
"default": true,
|
||||
"description": "Whether to display the min and max values of the Y axis"
|
||||
"description": "Whether to display the min and max values of the Y-axis"
|
||||
},
|
||||
"rich_tooltip": {
|
||||
"type": "CheckboxControl",
|
||||
|
|
@ -2263,14 +2263,14 @@
|
|||
"label": "Y Log Scale",
|
||||
"default": false,
|
||||
"renderTrigger": true,
|
||||
"description": "Use a log scale for the Y axis"
|
||||
"description": "Use a log scale for the Y-axis"
|
||||
},
|
||||
"x_log_scale": {
|
||||
"type": "CheckboxControl",
|
||||
"label": "X Log Scale",
|
||||
"default": false,
|
||||
"renderTrigger": true,
|
||||
"description": "Use a log scale for the X axis"
|
||||
"description": "Use a log scale for the X-axis"
|
||||
},
|
||||
"log_scale": {
|
||||
"type": "CheckboxControl",
|
||||
|
|
|
|||
|
|
@ -287,7 +287,7 @@ export function addTable(query, tableName, schemaName) {
|
|||
isMetadataLoading: false,
|
||||
}),
|
||||
),
|
||||
dispatch(addDangerToast(t('Error occurred while fetching table metadata'))),
|
||||
dispatch(addDangerToast(t('An error occurred while fetching table metadata'))),
|
||||
]),
|
||||
);
|
||||
|
||||
|
|
@ -300,7 +300,7 @@ export function addTable(query, tableName, schemaName) {
|
|||
.catch(() =>
|
||||
Promise.all([
|
||||
dispatch(mergeTable({ ...table, isExtraMetadataLoading: false })),
|
||||
dispatch(addDangerToast(t('Error occurred while fetching table metadata'))),
|
||||
dispatch(addDangerToast(t('An error occurred while fetching table metadata'))),
|
||||
]),
|
||||
);
|
||||
};
|
||||
|
|
|
|||
|
|
@ -173,7 +173,7 @@ class QueryTable extends React.PureComponent {
|
|||
<Link
|
||||
className="fa fa-pencil m-r-3"
|
||||
onClick={this.restoreSql.bind(this, query)}
|
||||
tooltip={t('Overwrite text in editor with a query on this table')}
|
||||
tooltip={t('Overwrite text in the editor with a query on this table')}
|
||||
placement="top"
|
||||
/>
|
||||
<Link
|
||||
|
|
|
|||
|
|
@ -143,7 +143,7 @@ class TableElement extends React.PureComponent {
|
|||
}
|
||||
text={table.selectStar}
|
||||
shouldShowText={false}
|
||||
tooltipText={t('Copy SELECT statement to clipboard')}
|
||||
tooltipText={t('Copy SELECT statement to the clipboard')}
|
||||
/>
|
||||
}
|
||||
<Link
|
||||
|
|
|
|||
|
|
@ -223,7 +223,7 @@ export const controls = {
|
|||
label: t('Y Axis Bounds'),
|
||||
renderTrigger: true,
|
||||
default: [null, null],
|
||||
description: t('Bounds for the Y axis. When left empty, the bounds are ' +
|
||||
description: t('Bounds for the Y-axis. When left empty, the bounds are ' +
|
||||
'dynamically defined based on the min/max of the data. Note that ' +
|
||||
"this feature will only expand the axis range. It won't " +
|
||||
"narrow the data's extent."),
|
||||
|
|
@ -485,8 +485,8 @@ export const controls = {
|
|||
label: t('Reduce X ticks'),
|
||||
renderTrigger: true,
|
||||
default: false,
|
||||
description: t('Reduces the number of X axis ticks to be rendered. ' +
|
||||
'If true, the x axis wont overflow and labels may be ' +
|
||||
description: t('Reduces the number of X-axis ticks to be rendered. ' +
|
||||
'If true, the x-axis will not overflow and labels may be ' +
|
||||
'missing. If false, a minimum width will be applied ' +
|
||||
'to columns and the width may overflow into an ' +
|
||||
'horizontal scroll.'),
|
||||
|
|
@ -534,7 +534,7 @@ export const controls = {
|
|||
'Usa',
|
||||
'Zambia',
|
||||
].map(s => [s, s]),
|
||||
description: t('The name of country that Superset should display'),
|
||||
description: t('The name of the country that Superset should display'),
|
||||
},
|
||||
country_fieldtype: {
|
||||
type: 'SelectControl',
|
||||
|
|
@ -741,7 +741,7 @@ export const controls = {
|
|||
default: 'auto',
|
||||
clearable: false,
|
||||
renderTrigger: true,
|
||||
description: t('The way the ticks are laid out on the X axis'),
|
||||
description: t('The way the ticks are laid out on the X-axis'),
|
||||
},
|
||||
|
||||
left_margin: {
|
||||
|
|
@ -1543,7 +1543,7 @@ export const controls = {
|
|||
label: t('X bounds'),
|
||||
renderTrigger: true,
|
||||
default: false,
|
||||
description: t('Whether to display the min and max values of the X axis'),
|
||||
description: t('Whether to display the min and max values of the X-axis'),
|
||||
},
|
||||
|
||||
y_axis_showminmax: {
|
||||
|
|
@ -1551,7 +1551,7 @@ export const controls = {
|
|||
label: t('Y bounds'),
|
||||
renderTrigger: true,
|
||||
default: false,
|
||||
description: t('Whether to display the min and max values of the Y axis'),
|
||||
description: t('Whether to display the min and max values of the Y-axis'),
|
||||
},
|
||||
|
||||
rich_tooltip: {
|
||||
|
|
@ -1568,7 +1568,7 @@ export const controls = {
|
|||
label: t('Y Log Scale'),
|
||||
default: false,
|
||||
renderTrigger: true,
|
||||
description: t('Use a log scale for the Y axis'),
|
||||
description: t('Use a log scale for the Y-axis'),
|
||||
},
|
||||
|
||||
x_log_scale: {
|
||||
|
|
@ -1576,7 +1576,7 @@ export const controls = {
|
|||
label: t('X Log Scale'),
|
||||
default: false,
|
||||
renderTrigger: true,
|
||||
description: t('Use a log scale for the X axis'),
|
||||
description: t('Use a log scale for the X-axis'),
|
||||
},
|
||||
|
||||
log_scale: {
|
||||
|
|
|
|||
|
|
@ -1369,7 +1369,7 @@ export const visTypes = {
|
|||
},
|
||||
link_length: {
|
||||
label: t('No of Bins'),
|
||||
description: t('Select number of bins for the histogram'),
|
||||
description: t('Select the number of bins for the histogram'),
|
||||
default: 5,
|
||||
},
|
||||
global_opacity: {
|
||||
|
|
@ -1816,7 +1816,7 @@ export const visTypes = {
|
|||
],
|
||||
},
|
||||
{
|
||||
label: t('Additional meta data'),
|
||||
label: t('Additional metadata'),
|
||||
controlSetRows: [
|
||||
['all_columns'],
|
||||
],
|
||||
|
|
@ -1837,11 +1837,11 @@ export const visTypes = {
|
|||
},
|
||||
row_limit: {
|
||||
label: t('Event count limit'),
|
||||
description: t('The maximum number of events to return, equivalent to number of rows'),
|
||||
description: t('The maximum number of events to return, equivalent to the number of rows'),
|
||||
},
|
||||
all_columns: {
|
||||
label: t('Meta data'),
|
||||
description: t('Select any columns for meta data inspection'),
|
||||
description: t('Select any columns for metadata inspection'),
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
|||
|
|
@ -121,7 +121,7 @@ class DruidMetricInlineView(CompactCRUDMixin, SupersetModelView): # noqa
|
|||
'[Druid Post Aggregation]'
|
||||
'(http://druid.io/docs/latest/querying/post-aggregations.html)',
|
||||
True),
|
||||
'is_restricted': _('Whether the access to this metric is restricted '
|
||||
'is_restricted': _('Whether access to this metric is restricted '
|
||||
'to certain roles. Only roles with the permission '
|
||||
"'metric access on XXX (the name of this metric)' "
|
||||
'are allowed to access this metric'),
|
||||
|
|
|
|||
|
|
@ -108,7 +108,7 @@ class SqlMetricInlineView(CompactCRUDMixin, SupersetModelView): # noqa
|
|||
'expression': utils.markdown(
|
||||
'a valid, *aggregating* SQL expression as supported by the '
|
||||
'underlying backend. Example: `count(DISTINCT userid)`', True),
|
||||
'is_restricted': _('Whether the access to this metric is restricted '
|
||||
'is_restricted': _('Whether access to this metric is restricted '
|
||||
'to certain roles. Only roles with the permission '
|
||||
"'metric access on XXX (the name of this metric)' "
|
||||
'are allowed to access this metric'),
|
||||
|
|
|
|||
Loading…
Reference in New Issue