0
Fork 0
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:
Gao Sun 2024-05-30 13:11:59 +08:00 committed by GitHub
parent 07ac3e87ce
commit d5f67ecc77
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 7 additions and 7 deletions

View file

@ -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,

View file

@ -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]

View file

@ -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;

View file

@ -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',

View file

@ -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: 'Youve set up connectors. Make sure to configure it in <a>{{link}}</a>.',
config_sie_link_text: 'sign in experience',

View file

@ -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 havent set up any social connector yet. Add connectors first to apply social sign in methods. <a>{{link}}</a> in “Connectors”.',
'You havent 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: {