You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by vi...@apache.org on 2020/11/19 10:05:51 UTC

[incubator-superset] branch master updated: chore: Text change Allow Data Upload (#11736)

This is an automated email from the ASF dual-hosted git repository.

villebro 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 c79dc47  chore: Text change Allow Data Upload (#11736)
c79dc47 is described below

commit c79dc4763b48535f292c43f70fc28fb10ceb3e28
Author: Amit Miran <47...@users.noreply.github.com>
AuthorDate: Thu Nov 19 12:05:14 2020 +0200

    chore: Text change Allow Data Upload (#11736)
    
    * chore: Text change Allow CSV/Excel Upload
    
    today there are 2 ways of uploading data CSV or Excel
    config on the database allow_csv_upload applies to both options
    so the client facing text should also indicate that
    
    * Allow Data Upload
---
 superset-frontend/src/views/CRUD/data/database/DatabaseModal.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/superset-frontend/src/views/CRUD/data/database/DatabaseModal.tsx b/superset-frontend/src/views/CRUD/data/database/DatabaseModal.tsx
index 1fa7f7b..fa8a362 100644
--- a/superset-frontend/src/views/CRUD/data/database/DatabaseModal.tsx
+++ b/superset-frontend/src/views/CRUD/data/database/DatabaseModal.tsx
@@ -601,10 +601,10 @@ const DatabaseModal: FunctionComponent<DatabaseModalProps> = ({
                 checked={db ? !!db.allow_csv_upload : false}
                 onChange={onInputChange}
               />
-              <div>{t('Allow CSV Upload')}</div>
+              <div>{t('Allow Data Upload')}</div>
               <InfoTooltip
                 tooltip={t(
-                  'If selected, please set the schemas allowed for csv upload in Extra.',
+                  'If selected, please set the schemas allowed for data upload in Extra.',
                 )}
               />
             </div>