diff --git a/superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx b/superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx index ad4ae769ef955..bda4b72aede73 100644 --- a/superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx +++ b/superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx @@ -555,20 +555,38 @@ const DatabaseModal: FunctionComponent = ({ closable={false} css={(theme: SupersetTheme) => antDAlertStyles(theme)} type="info" - message={t('Want to add a new database?')} + message={ + connectionAlert?.ADD_DATABASE?.message || + t('Want to add a new database?') + } description={ - <> - Any databases that allow connetions via SQL Alchemy URIs can be - added. Learn about how to connect a database driver{' '} - - here - - . - + connectionAlert?.ADD_DATABASE ? ( + <> + Any databases that allow connetions via SQL Alchemy URIs can be + added.{' '} + + {connectionAlert?.ADD_DATABASE.contact_description_link} + {' '} + {connectionAlert?.ADD_DATABASE.description} + + ) : ( + <> + Any databases that allow connetions via SQL Alchemy URIs can be + added. Learn about how to connect a database driver{' '} + + here + + . + + ) } />