#add auth source title international language support
with zh.json and en.json.
This commit is contained in:
@@ -37,6 +37,10 @@ const messages = defineMessages({
|
||||
id: 'token.invalid',
|
||||
defaultMessage: 'Token is invalid',
|
||||
},
|
||||
oauthSource: {
|
||||
id: 'auth.oauth-source',
|
||||
defaultMessage: 'Use Social Network',
|
||||
},
|
||||
oauthTitle: {
|
||||
id: 'auth.oauth-button',
|
||||
defaultMessage: 'Sign In with {provider}',
|
||||
|
||||
@@ -204,7 +204,7 @@ const Auth: FunctionComponent = () => {
|
||||
<>
|
||||
{hasOAuthProviders && (
|
||||
<>
|
||||
<h5 className={cn('auth-form-title', styles.title)}>Use Social Network</h5>
|
||||
<h5 className={cn('auth-form-title', styles.title)}>{intl.formatMessage(messages.oauthSource)}</h5>
|
||||
<OAuthProviders providers={oauthProviders} />
|
||||
</>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user