mirror of
https://github.com/logto-io/logto.git
synced 2025-02-24 22:05:56 -05:00
chore: fix typo (#5942)
This commit is contained in:
parent
07ac3e87ce
commit
d5f67ecc77
6 changed files with 7 additions and 7 deletions
|
@ -13,7 +13,7 @@ export const defaultMetadata: ConnectorMetadata = {
|
|||
logo: './logo.svg',
|
||||
logoDark: null,
|
||||
description: {
|
||||
en: 'The demo for social sign in',
|
||||
en: 'The demo for social sign-in',
|
||||
},
|
||||
readme: './README.md',
|
||||
isStandard: true,
|
||||
|
|
|
@ -51,14 +51,14 @@ const useSocial = () => {
|
|||
return;
|
||||
}
|
||||
|
||||
// Invoke Native Social Sign In flow
|
||||
// Invoke native social sign-in flow
|
||||
if (isNativeWebview()) {
|
||||
nativeSignInHandler(result.redirectTo, connector);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
// Invoke Web Social Sign In flow
|
||||
// Invoke web social sign-in flow
|
||||
window.location.assign(result.redirectTo);
|
||||
},
|
||||
[asyncInvokeSocialSignIn, handleError, nativeSignInHandler]
|
||||
|
|
|
@ -3,7 +3,7 @@ import LoadingLayer from '@/components/LoadingLayer';
|
|||
import useSocialSignInListener from './use-social-sign-in-listener';
|
||||
|
||||
/**
|
||||
* Social sign in callback page
|
||||
* Social sign-in callback page
|
||||
*/
|
||||
type Props = {
|
||||
readonly connectorId: string;
|
||||
|
|
|
@ -62,7 +62,7 @@ const cloud = {
|
|||
password: 'Password',
|
||||
verification_code: 'Verification code',
|
||||
},
|
||||
social_field: 'Social sign in',
|
||||
social_field: 'Social sign-in',
|
||||
finish_and_done: 'Finish and done',
|
||||
preview: {
|
||||
mobile_tab: 'Mobile',
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
const connectors = {
|
||||
page_title: 'Connectors',
|
||||
title: 'Connectors',
|
||||
subtitle: 'Set up connectors to enable passwordless and social sign in experience',
|
||||
subtitle: 'Set up connectors to enable passwordless and social sign-in experience',
|
||||
create: 'Add Social Connector',
|
||||
config_sie_notice: 'You’ve set up connectors. Make sure to configure it in <a>{{link}}</a>.',
|
||||
config_sie_link_text: 'sign in experience',
|
||||
|
|
|
@ -61,7 +61,7 @@ const sign_in_exp = {
|
|||
no_connector_email:
|
||||
'No email connector set-up yet. Before completing the configuration, users will not be able to sign in with this method. <a>{{link}}</a> in "Connectors"',
|
||||
no_connector_social:
|
||||
'You haven’t set up any social connector yet. Add connectors first to apply social sign in methods. <a>{{link}}</a> in “Connectors”.',
|
||||
'You haven’t set up any social connector yet. Add connectors first to apply social sign-in methods. <a>{{link}}</a> in “Connectors”.',
|
||||
setup_link: 'Set up',
|
||||
},
|
||||
save_alert: {
|
||||
|
|
Loading…
Add table
Reference in a new issue