chore: more 'datasource' -> 'dataset' renaming (#11055)

* chore: more 'datasource' -> 'dataset' renaming

* fix build

* explicitely setting disabled to false to avoid cypress confusion

* fix tests

* RAT
This commit is contained in:
Maxime Beauchemin
2020-10-05 20:04:17 -07:00
committed by GitHub
parent 6f619829d2
commit 3d7b805755
15 changed files with 25 additions and 26 deletions

View File

@@ -37,8 +37,8 @@ interface ChangeDatasourceModalProps {
const TABLE_COLUMNS = ['name', 'type', 'schema', 'connection', 'creator'];
const TABLE_FILTERABLE = ['rawName', 'type', 'schema', 'connection', 'creator'];
const CHANGE_WARNING_MSG = t(
'Changing the datasource may break the chart if the chart relies ' +
'on columns or metadata that does not exist in the target datasource',
'Changing the dataset may break the chart if the chart relies ' +
'on columns or metadata that does not exist in the target dataset',
);
const ChangeDatasourceModal: FunctionComponent<ChangeDatasourceModalProps> = ({
@@ -123,7 +123,7 @@ const ChangeDatasourceModal: FunctionComponent<ChangeDatasourceModalProps> = ({
return (
<Modal show={show} onHide={onHide} onEnter={onEnterModal} bsSize="large">
<Modal.Header closeButton>
<Modal.Title>{t('Select a datasource')}</Modal.Title>
<Modal.Title>{t('Select a dataset')}</Modal.Title>
</Modal.Header>
<Modal.Body>
<Alert bsStyle="warning">