You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ma...@apache.org on 2018/03/19 18:02:12 UTC
[incubator-superset] branch master updated: part1 (#4641)
This is an automated email from the ASF dual-hosted git repository.
maximebeauchemin 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 e9b5b1a part1 (#4641)
e9b5b1a is described below
commit e9b5b1a305f81baff7e2a95ad8c643751bbf1cc0
Author: Hugh A. Miles II <hu...@gmail.com>
AuthorDate: Mon Mar 19 11:02:03 2018 -0700
part1 (#4641)
---
.../assets/javascripts/explore/components/ExploreChartHeader.jsx | 4 ++--
superset/assets/javascripts/explore/components/SaveModal.jsx | 8 ++++----
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/superset/assets/javascripts/explore/components/ExploreChartHeader.jsx b/superset/assets/javascripts/explore/components/ExploreChartHeader.jsx
index 00231df..69871dc 100644
--- a/superset/assets/javascripts/explore/components/ExploreChartHeader.jsx
+++ b/superset/assets/javascripts/explore/components/ExploreChartHeader.jsx
@@ -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"
diff --git a/superset/assets/javascripts/explore/components/SaveModal.jsx b/superset/assets/javascripts/explore/components/SaveModal.jsx
index 6cc1a8c..5489fba 100644
--- a/superset/assets/javascripts/explore/components/SaveModal.jsx
+++ b/superset/assets/javascripts/explore/components/SaveModal.jsx
@@ -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"
--
To stop receiving notification emails like this one, please contact
maximebeauchemin@apache.org.