diff --git a/superset/assets/src/addSlice/AddSliceContainer.jsx b/superset/assets/src/addSlice/AddSliceContainer.jsx index 68b5eee2502ce..9b7c4bd413ba9 100644 --- a/superset/assets/src/addSlice/AddSliceContainer.jsx +++ b/superset/assets/src/addSlice/AddSliceContainer.jsx @@ -56,7 +56,7 @@ export default class AddSliceContainer extends React.PureComponent { render() { return (
- {t('Create a new slice')}}> + {t('Create a new chart')}}>

{t('Choose a datasource')}

diff --git a/superset/assets/src/components/AlteredSliceTag.jsx b/superset/assets/src/components/AlteredSliceTag.jsx index 5c779651c2961..209e4a94bddd2 100644 --- a/superset/assets/src/components/AlteredSliceTag.jsx +++ b/superset/assets/src/components/AlteredSliceTag.jsx @@ -134,7 +134,7 @@ export default class AlteredSliceTag extends React.Component { diff --git a/superset/assets/src/dashboard/components/SaveModal.jsx b/superset/assets/src/dashboard/components/SaveModal.jsx index a849954bd68ee..d693385455080 100644 --- a/superset/assets/src/dashboard/components/SaveModal.jsx +++ b/superset/assets/src/dashboard/components/SaveModal.jsx @@ -138,7 +138,7 @@ class SaveModal extends React.PureComponent { checked={this.state.duplicateSlices} onChange={this.toggleDuplicateSlices.bind(this)} /> - also copy (duplicate) slices + also copy (duplicate) charts
} diff --git a/superset/assets/src/dashboard/components/SliceAdder.jsx b/superset/assets/src/dashboard/components/SliceAdder.jsx index d5be8caff6cfa..e99d00f3399c3 100644 --- a/superset/assets/src/dashboard/components/SliceAdder.jsx +++ b/superset/assets/src/dashboard/components/SliceAdder.jsx @@ -70,7 +70,7 @@ class SliceAdder extends React.Component { error: (error) => { this.errored = true; this.setState({ - errorMsg: t('Sorry, there was an error fetching slices to this dashboard: ') + + errorMsg: t('Sorry, there was an error fetching charts to this dashboard: ') + this.getAjaxErrorMsg(error), }); }, @@ -90,7 +90,7 @@ class SliceAdder extends React.Component { .fail((error) => { adder.errored = true; adder.setState({ - errorMsg: t('Sorry, there was an error adding slices to this dashboard: ') + + errorMsg: t('Sorry, there was an error adding charts to this dashboard: ') + this.getAjaxErrorMsg(error), }); }); @@ -193,7 +193,7 @@ class SliceAdder extends React.Component { onClick={this.addSlices} disabled={!enableAddSlice} > - {t('Add Slices')} + {t('Add Charts')}
@@ -202,13 +202,13 @@ class SliceAdder extends React.Component { return ( ); }