Skip to content

Commit

Permalink
part1 (apache#4641)
Browse files Browse the repository at this point in the history
  • Loading branch information
hughhhh authored and michellethomas committed May 23, 2018
1 parent cfdc6f3 commit a00f669
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down Expand Up @@ -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"
Expand Down
8 changes: 4 additions & 4 deletions superset/assets/javascripts/explore/components/SaveModal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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>
}

Expand All @@ -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')}
/>
Expand All @@ -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"
Expand Down

0 comments on commit a00f669

Please sign in to comment.