mirror of https://github.com/apache/superset.git
part1 (#4641)
This commit is contained in:
parent
97afcd5809
commit
e9b5b1a305
|
@ -49,7 +49,7 @@ class ExploreChartHeader extends React.PureComponent {
|
|||
this.props.actions.createNewSlice(
|
||||
data.can_add, data.can_download, data.can_overwrite,
|
||||
data.slice, data.form_data);
|
||||
this.props.addHistory({ isReplace: true, title: `[slice] ${data.slice.slice_name}` });
|
||||
this.props.addHistory({ isReplace: true, title: `[chart] ${data.slice.slice_name}` });
|
||||
} else {
|
||||
this.props.actions.updateChartTitle(newTitle);
|
||||
}
|
||||
|
@ -97,7 +97,7 @@ class ExploreChartHeader extends React.PureComponent {
|
|||
|
||||
<TooltipWrapper
|
||||
label="edit-desc"
|
||||
tooltip={t('Edit slice properties')}
|
||||
tooltip={t('Edit chart properties')}
|
||||
>
|
||||
<a
|
||||
className="edit-desc-icon"
|
||||
|
|
|
@ -129,7 +129,7 @@ class SaveModal extends React.Component {
|
|||
>
|
||||
<Modal.Header closeButton>
|
||||
<Modal.Title>
|
||||
{t('Save A Slice')}
|
||||
{t('Save A Chart')}
|
||||
</Modal.Title>
|
||||
</Modal.Header>
|
||||
<Modal.Body>
|
||||
|
@ -150,7 +150,7 @@ class SaveModal extends React.Component {
|
|||
checked={this.state.action === 'overwrite'}
|
||||
onChange={this.changeAction.bind(this, 'overwrite')}
|
||||
>
|
||||
{t('Overwrite slice %s', this.props.slice.slice_name)}
|
||||
{t('Overwrite chart %s', this.props.slice.slice_name)}
|
||||
</Radio>
|
||||
}
|
||||
|
||||
|
@ -163,7 +163,7 @@ class SaveModal extends React.Component {
|
|||
</Radio>
|
||||
<input
|
||||
name="new_slice_name"
|
||||
placeholder={t('[slice name]')}
|
||||
placeholder={t('[chart name]')}
|
||||
onChange={this.onChange.bind(this, 'newSliceName')}
|
||||
onFocus={this.changeAction.bind(this, 'saveas')}
|
||||
/>
|
||||
|
@ -184,7 +184,7 @@ class SaveModal extends React.Component {
|
|||
checked={this.state.addToDash === 'existing'}
|
||||
onChange={this.changeDash.bind(this, 'existing')}
|
||||
>
|
||||
{t('Add slice to existing dashboard')}
|
||||
{t('Add chart to existing dashboard')}
|
||||
</Radio>
|
||||
<Select
|
||||
className="save-modal-selector"
|
||||
|
|
Loading…
Reference in New Issue