You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by hu...@apache.org on 2018/05/04 22:05:52 UTC
[incubator-superset] branch master updated: rm-slices (#4899)
This is an automated email from the ASF dual-hosted git repository.
hugh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git
The following commit(s) were added to refs/heads/master by this push:
new 52a6bd1 rm-slices (#4899)
52a6bd1 is described below
commit 52a6bd1c7e05cea8177c1e6b1b114c7bf2728667
Author: Hugh A. Miles II <hu...@gmail.com>
AuthorDate: Sat May 5 00:05:49 2018 +0200
rm-slices (#4899)
---
superset/assets/src/addSlice/AddSliceContainer.jsx | 2 +-
superset/assets/src/components/AlteredSliceTag.jsx | 2 +-
superset/assets/src/dashboard/components/SaveModal.jsx | 2 +-
superset/assets/src/dashboard/components/SliceAdder.jsx | 10 +++++-----
4 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/superset/assets/src/addSlice/AddSliceContainer.jsx b/superset/assets/src/addSlice/AddSliceContainer.jsx
index 68b5eee..9b7c4bd 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 (
<div className="container">
- <Panel header={<h3>{t('Create a new slice')}</h3>}>
+ <Panel header={<h3>{t('Create a new chart')}</h3>}>
<div>
<p>{t('Choose a datasource')}</p>
<div style={styleSelectWidth}>
diff --git a/superset/assets/src/components/AlteredSliceTag.jsx b/superset/assets/src/components/AlteredSliceTag.jsx
index 5c77965..209e4a9 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 {
<ModalTrigger
animation
triggerNode={this.renderTriggerNode()}
- modalTitle={t('Slice changes')}
+ modalTitle={t('Chart changes')}
bsSize="large"
modalBody={this.renderModalBody()}
/>
diff --git a/superset/assets/src/dashboard/components/SaveModal.jsx b/superset/assets/src/dashboard/components/SaveModal.jsx
index a849954..d693385 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)}
/>
- <span className="m-l-5">also copy (duplicate) slices</span>
+ <span className="m-l-5">also copy (duplicate) charts</span>
</div>
</FormGroup>
}
diff --git a/superset/assets/src/dashboard/components/SliceAdder.jsx b/superset/assets/src/dashboard/components/SliceAdder.jsx
index d5be8ca..e99d00f 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')}
</button>
</div>
</div>
@@ -202,13 +202,13 @@ class SliceAdder extends React.Component {
return (
<ModalTrigger
triggerNode={this.props.triggerNode}
- tooltip={t('Add a new slice to the dashboard')}
+ tooltip={t('Add a new chart to the dashboard')}
beforeOpen={this.onEnterModal.bind(this)}
isMenuItem
modalBody={modalContent}
bsSize="large"
setModalAsTriggerChildren
- modalTitle={t('Add Slices to Dashboard')}
+ modalTitle={t('Add Charts to Dashboard')}
/>
);
}
--
To stop receiving notification emails like this one, please contact
hugh@apache.org.