Translate flashed messages (and add one) for authentication flow #28
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I have observed recently that some new users are unsure of what to do when they open the Superset
/login
page; it's not obvious to them that "Sign in with auth0" encompasses both signing up and logging in. I have therefore added a "welcome" message with helpful information about signing up or logging in to be flashed at the top of the page.In the same stroke, I have added translations for all of the messages flashed by
CustomAuth0AuthView
. The translations include all of the currently supported (by us) languages in Superset - en, pt_BR, nl, es, fr.