0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-06 20:40:08 -05:00

chore: fix typos and errors in i18n phrases (#2632)

This commit is contained in:
Charles Zhao 2022-12-12 14:28:18 +08:00 committed by GitHub
parent 2c1640d889
commit e255021501
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 28 additions and 31 deletions

View file

@ -58,16 +58,13 @@ const ConnectorForm = ({ connector, isAllowEditTarget }: Props) => {
<div className={styles.tip}>{t('connectors.guide.name_tip')}</div> <div className={styles.tip}>{t('connectors.guide.name_tip')}</div>
</FormField> </FormField>
<FormField title="connectors.guide.logo"> <FormField title="connectors.guide.logo">
<TextInput <TextInput placeholder={t('connectors.guide.logo_placeholder')} {...register('logo')} />
placeholder={t('connectors.guide.logo_placelholder')}
{...register('logo')}
/>
<div className={styles.tip}>{t('connectors.guide.logo_tip')}</div> <div className={styles.tip}>{t('connectors.guide.logo_tip')}</div>
</FormField> </FormField>
{darkVisible && ( {darkVisible && (
<FormField title="connectors.guide.logo_dark"> <FormField title="connectors.guide.logo_dark">
<TextInput <TextInput
placeholder={t('connectors.guide.logo_dark_placelholder')} placeholder={t('connectors.guide.logo_dark_placeholder')}
{...register('logoDark')} {...register('logoDark')}
/> />
<div className={styles.tip}>{t('connectors.guide.logo_dark_tip')}</div> <div className={styles.tip}>{t('connectors.guide.logo_dark_tip')}</div>

View file

@ -34,10 +34,10 @@ const connectors = {
name: 'Connector name', // UNTRANSLATED name: 'Connector name', // UNTRANSLATED
name_tip: 'Connector buttons name will display as "Continue with {{Connector Name}}".', // UNTRANSLATED name_tip: 'Connector buttons name will display as "Continue with {{Connector Name}}".', // UNTRANSLATED
logo: 'Connector logo URL', // UNTRANSLATED logo: 'Connector logo URL', // UNTRANSLATED
logo_placelholder: 'https://your.cdn.domain/logo.png', // UNTRANSLATED logo_placeholder: 'https://your.cdn.domain/logo.png', // UNTRANSLATED
logo_tip: 'The logo image will also display on the connector button.', // UNTRANSLATED logo_tip: 'The logo image will also display on the connector button.', // UNTRANSLATED
logo_dark: 'Connector logo URL (Dark mode)', // UNTRANSLATED logo_dark: 'Connector logo URL (Dark mode)', // UNTRANSLATED
logo_dark_placelholder: 'https://your.cdn.domain/logo.png', // UNTRANSLATED logo_dark_placeholder: 'https://your.cdn.domain/logo.png', // UNTRANSLATED
logo_dark_tip: logo_dark_tip:
'This will be used when opening “Enable dark mode” in the setting of sign in experience.', // UNTRANSLATED 'This will be used when opening “Enable dark mode” in the setting of sign in experience.', // UNTRANSLATED
logo_dark_collapse: 'Collapse', // UNTRANSLATED logo_dark_collapse: 'Collapse', // UNTRANSLATED
@ -45,7 +45,7 @@ const connectors = {
target: 'Connector identity target', // UNTRANSLATED target: 'Connector identity target', // UNTRANSLATED
target_tip: 'A unique identifier for the connector.', // UNTRANSLATED target_tip: 'A unique identifier for the connector.', // UNTRANSLATED
config: 'Enter your JSON here', // UNTRANSLATED config: 'Enter your JSON here', // UNTRANSLATED
sync_profile: 'Sync profile information form the social provider', // UNTRANSLATED sync_profile: 'Sync profile information from the social provider', // UNTRANSLATED
sync_profile_only_at_register: 'Only sync at register', // UNTRANSLATED sync_profile_only_at_register: 'Only sync at register', // UNTRANSLATED
sync_profile_each_sign_in: 'Always sync at each sign-in', // UNTRANSLATED sync_profile_each_sign_in: 'Always sync at each sign-in', // UNTRANSLATED
}, },

View file

@ -34,10 +34,10 @@ const connectors = {
name: 'Connector name', name: 'Connector name',
name_tip: 'Connector buttons name will display as "Continue with {{Connector Name}}".', name_tip: 'Connector buttons name will display as "Continue with {{Connector Name}}".',
logo: 'Connector logo URL', logo: 'Connector logo URL',
logo_placelholder: 'https://your.cdn.domain/logo.png', logo_placeholder: 'https://your.cdn.domain/logo.png',
logo_tip: 'The logo image will also display on the connector button.', logo_tip: 'The logo image will also display on the connector button.',
logo_dark: 'Connector logo URL (Dark mode)', logo_dark: 'Connector logo URL (Dark mode)',
logo_dark_placelholder: 'https://your.cdn.domain/logo.png', logo_dark_placeholder: 'https://your.cdn.domain/logo.png',
logo_dark_tip: logo_dark_tip:
'This will be used when opening “Enable dark mode” in the setting of sign in experience.', 'This will be used when opening “Enable dark mode” in the setting of sign in experience.',
logo_dark_collapse: 'Collapse', logo_dark_collapse: 'Collapse',
@ -45,7 +45,7 @@ const connectors = {
target: 'Connector identity target', target: 'Connector identity target',
target_tip: 'A unique identifier for the connector.', target_tip: 'A unique identifier for the connector.',
config: 'Enter your JSON here', config: 'Enter your JSON here',
sync_profile: 'Sync profile information form the social provider', sync_profile: 'Sync profile information from the social provider',
sync_profile_only_at_register: 'Only sync at register', sync_profile_only_at_register: 'Only sync at register',
sync_profile_each_sign_in: 'Always sync at each sign-in', sync_profile_each_sign_in: 'Always sync at each sign-in',
}, },

View file

@ -35,10 +35,10 @@ const connectors = {
name: 'Connector name', // UNTRANSLATED name: 'Connector name', // UNTRANSLATED
name_tip: 'Connector buttons name will display as "Continue with {{Connector Name}}".', // UNTRANSLATED name_tip: 'Connector buttons name will display as "Continue with {{Connector Name}}".', // UNTRANSLATED
logo: 'Connector logo URL', // UNTRANSLATED logo: 'Connector logo URL', // UNTRANSLATED
logo_placelholder: 'https://your.cdn.domain/logo.png', // UNTRANSLATED logo_placeholder: 'https://your.cdn.domain/logo.png', // UNTRANSLATED
logo_tip: 'The logo image will also display on the connector button.', // UNTRANSLATED logo_tip: 'The logo image will also display on the connector button.', // UNTRANSLATED
logo_dark: 'Connector logo URL (Dark mode)', // UNTRANSLATED logo_dark: 'Connector logo URL (Dark mode)', // UNTRANSLATED
logo_dark_placelholder: 'https://your.cdn.domain/logo.png', // UNTRANSLATED logo_dark_placeholder: 'https://your.cdn.domain/logo.png', // UNTRANSLATED
logo_dark_tip: logo_dark_tip:
'This will be used when opening “Enable dark mode” in the setting of sign in experience.', // UNTRANSLATED 'This will be used when opening “Enable dark mode” in the setting of sign in experience.', // UNTRANSLATED
logo_dark_collapse: 'Collapse', // UNTRANSLATED logo_dark_collapse: 'Collapse', // UNTRANSLATED
@ -46,7 +46,7 @@ const connectors = {
target: 'Connector identity target', // UNTRANSLATED target: 'Connector identity target', // UNTRANSLATED
target_tip: 'A unique identifier for the connector.', // UNTRANSLATED target_tip: 'A unique identifier for the connector.', // UNTRANSLATED
config: 'Enter your JSON here', // UNTRANSLATED config: 'Enter your JSON here', // UNTRANSLATED
sync_profile: 'Sync profile information form the social provider', // UNTRANSLATED sync_profile: 'Sync profile information from the social provider', // UNTRANSLATED
sync_profile_only_at_register: 'Only sync at register', // UNTRANSLATED sync_profile_only_at_register: 'Only sync at register', // UNTRANSLATED
sync_profile_each_sign_in: 'Always sync at each sign-in', // UNTRANSLATED sync_profile_each_sign_in: 'Always sync at each sign-in', // UNTRANSLATED
}, },

View file

@ -34,10 +34,10 @@ const connectors = {
name: 'Connector name', // UNTRANSLATED name: 'Connector name', // UNTRANSLATED
name_tip: 'Connector buttons name will display as "Continue with {{Connector Name}}".', // UNTRANSLATED name_tip: 'Connector buttons name will display as "Continue with {{Connector Name}}".', // UNTRANSLATED
logo: 'Connector logo URL', // UNTRANSLATED logo: 'Connector logo URL', // UNTRANSLATED
logo_placelholder: 'https://your.cdn.domain/logo.png', // UNTRANSLATED logo_placeholder: 'https://your.cdn.domain/logo.png', // UNTRANSLATED
logo_tip: 'The logo image will also display on the connector button.', // UNTRANSLATED logo_tip: 'The logo image will also display on the connector button.', // UNTRANSLATED
logo_dark: 'Connector logo URL (Dark mode)', // UNTRANSLATED logo_dark: 'Connector logo URL (Dark mode)', // UNTRANSLATED
logo_dark_placelholder: 'https://your.cdn.domain/logo.png', // UNTRANSLATED logo_dark_placeholder: 'https://your.cdn.domain/logo.png', // UNTRANSLATED
logo_dark_tip: logo_dark_tip:
'This will be used when opening “Enable dark mode” in the setting of sign in experience.', // UNTRANSLATED 'This will be used when opening “Enable dark mode” in the setting of sign in experience.', // UNTRANSLATED
logo_dark_collapse: 'Collapse', // UNTRANSLATED logo_dark_collapse: 'Collapse', // UNTRANSLATED
@ -45,7 +45,7 @@ const connectors = {
target: 'Connector identity target', // UNTRANSLATED target: 'Connector identity target', // UNTRANSLATED
target_tip: 'A unique identifier for the connector.', // UNTRANSLATED target_tip: 'A unique identifier for the connector.', // UNTRANSLATED
config: 'Enter your JSON here', // UNTRANSLATED config: 'Enter your JSON here', // UNTRANSLATED
sync_profile: 'Sync profile information form the social provider', // UNTRANSLATED sync_profile: 'Sync profile information from the social provider', // UNTRANSLATED
sync_profile_only_at_register: 'Only sync at register', // UNTRANSLATED sync_profile_only_at_register: 'Only sync at register', // UNTRANSLATED
sync_profile_each_sign_in: 'Always sync at each sign-in', // UNTRANSLATED sync_profile_each_sign_in: 'Always sync at each sign-in', // UNTRANSLATED
}, },

View file

@ -35,10 +35,10 @@ const connectors = {
name: 'Nome do conector', name: 'Nome do conector',
name_tip: 'O nome do botão do conector será exibido como "Continue com {{Connector Name}}".', name_tip: 'O nome do botão do conector será exibido como "Continue com {{Connector Name}}".',
logo: 'URL do logotipo do conector', logo: 'URL do logotipo do conector',
logo_placelholder: 'https://your.cdn.domain/logo.png', logo_placeholder: 'https://your.cdn.domain/logo.png',
logo_tip: 'A imagem do logotipo também será exibida no botão do conector.', logo_tip: 'A imagem do logotipo também será exibida no botão do conector.',
logo_dark: 'URL do logotipo do conector (modo escuro)', logo_dark: 'URL do logotipo do conector (modo escuro)',
logo_dark_placelholder: 'https://your.cdn.domain/logo.png', logo_dark_placeholder: 'https://your.cdn.domain/logo.png',
logo_dark_tip: logo_dark_tip:
'Isso será usado ao abrir "Ativar modo escuro" na configuração da experiência de login.', 'Isso será usado ao abrir "Ativar modo escuro" na configuração da experiência de login.',
logo_dark_collapse: 'Collapse', logo_dark_collapse: 'Collapse',

View file

@ -34,10 +34,10 @@ const connectors = {
name: 'Connector name', // UNTRANSLATED name: 'Connector name', // UNTRANSLATED
name_tip: 'Connector buttons name will display as "Continue with {{Connector Name}}".', // UNTRANSLATED name_tip: 'Connector buttons name will display as "Continue with {{Connector Name}}".', // UNTRANSLATED
logo: 'Connector logo URL', // UNTRANSLATED logo: 'Connector logo URL', // UNTRANSLATED
logo_placelholder: 'https://your.cdn.domain/logo.png', // UNTRANSLATED logo_placeholder: 'https://your.cdn.domain/logo.png', // UNTRANSLATED
logo_tip: 'The logo image will also display on the connector button.', // UNTRANSLATED logo_tip: 'The logo image will also display on the connector button.', // UNTRANSLATED
logo_dark: 'Connector logo URL (Dark mode)', // UNTRANSLATED logo_dark: 'Connector logo URL (Dark mode)', // UNTRANSLATED
logo_dark_placelholder: 'https://your.cdn.domain/logo.png', // UNTRANSLATED logo_dark_placeholder: 'https://your.cdn.domain/logo.png', // UNTRANSLATED
logo_dark_tip: logo_dark_tip:
'This will be used when opening “Enable dark mode” in the setting of sign in experience.', // UNTRANSLATED 'This will be used when opening “Enable dark mode” in the setting of sign in experience.', // UNTRANSLATED
logo_dark_collapse: 'Collapse', // UNTRANSLATED logo_dark_collapse: 'Collapse', // UNTRANSLATED
@ -45,7 +45,7 @@ const connectors = {
target: 'Connector identity target', // UNTRANSLATED target: 'Connector identity target', // UNTRANSLATED
target_tip: 'A unique identifier for the connector.', // UNTRANSLATED target_tip: 'A unique identifier for the connector.', // UNTRANSLATED
config: 'Enter your JSON here', // UNTRANSLATED config: 'Enter your JSON here', // UNTRANSLATED
sync_profile: 'Sync profile information form the social provider', // UNTRANSLATED sync_profile: 'Sync profile information from the social provider', // UNTRANSLATED
sync_profile_only_at_register: 'Only sync at register', // UNTRANSLATED sync_profile_only_at_register: 'Only sync at register', // UNTRANSLATED
sync_profile_each_sign_in: 'Always sync at each sign-in', // UNTRANSLATED sync_profile_each_sign_in: 'Always sync at each sign-in', // UNTRANSLATED
}, },

View file

@ -35,10 +35,10 @@ const connectors = {
name: 'Connector name', // UNTRANSLATED name: 'Connector name', // UNTRANSLATED
name_tip: 'Connector buttons name will display as "Continue with {{Connector Name}}".', // UNTRANSLATED name_tip: 'Connector buttons name will display as "Continue with {{Connector Name}}".', // UNTRANSLATED
logo: 'Connector logo URL', // UNTRANSLATED logo: 'Connector logo URL', // UNTRANSLATED
logo_placelholder: 'https://your.cdn.domain/logo.png', // UNTRANSLATED logo_placeholder: 'https://your.cdn.domain/logo.png', // UNTRANSLATED
logo_tip: 'The logo image will also display on the connector button.', // UNTRANSLATED logo_tip: 'The logo image will also display on the connector button.', // UNTRANSLATED
logo_dark: 'Connector logo URL (Dark mode)', // UNTRANSLATED logo_dark: 'Connector logo URL (Dark mode)', // UNTRANSLATED
logo_dark_placelholder: 'https://your.cdn.domain/logo.png', // UNTRANSLATED logo_dark_placeholder: 'https://your.cdn.domain/logo.png', // UNTRANSLATED
logo_dark_tip: logo_dark_tip:
'This will be used when opening “Enable dark mode” in the setting of sign in experience.', // UNTRANSLATED 'This will be used when opening “Enable dark mode” in the setting of sign in experience.', // UNTRANSLATED
logo_dark_collapse: 'Collapse', // UNTRANSLATED logo_dark_collapse: 'Collapse', // UNTRANSLATED
@ -46,7 +46,7 @@ const connectors = {
target: 'Connector identity target', // UNTRANSLATED target: 'Connector identity target', // UNTRANSLATED
target_tip: 'A unique identifier for the connector.', // UNTRANSLATED target_tip: 'A unique identifier for the connector.', // UNTRANSLATED
config: 'Enter your JSON here', // UNTRANSLATED config: 'Enter your JSON here', // UNTRANSLATED
sync_profile: 'Sync profile information form the social provider', // UNTRANSLATED sync_profile: 'Sync profile information from the social provider', // UNTRANSLATED
sync_profile_only_at_register: 'Only sync at register', // UNTRANSLATED sync_profile_only_at_register: 'Only sync at register', // UNTRANSLATED
sync_profile_each_sign_in: 'Always sync at each sign-in', // UNTRANSLATED sync_profile_each_sign_in: 'Always sync at each sign-in', // UNTRANSLATED
}, },

View file

@ -28,7 +28,7 @@ const application_details = {
post_sign_out_redirect_uris: 'Post sign out redirect URIs', post_sign_out_redirect_uris: 'Post sign out redirect URIs',
post_sign_out_redirect_uri_placeholder: 'https://your.website.com/home', post_sign_out_redirect_uri_placeholder: 'https://your.website.com/home',
post_sign_out_redirect_uri_tip: post_sign_out_redirect_uri_tip:
'在用户登出后重定向的目标 URI可选。在某些应用类型中可能无实质作用。', '在用户退出登录后重定向的目标 URI可选。在某些应用类型中可能无实质作用。',
cors_allowed_origins: 'CORS Allowed Origins', cors_allowed_origins: 'CORS Allowed Origins',
cors_allowed_origins_placeholder: 'https://your.website.com', cors_allowed_origins_placeholder: 'https://your.website.com',
cors_allowed_origins_tip: cors_allowed_origins_tip:

View file

@ -33,10 +33,10 @@ const connectors = {
name: '连接器名称', name: '连接器名称',
name_tip: '连接器按钮名将会是「通过 {{连接器名称}} 登录」。', name_tip: '连接器按钮名将会是「通过 {{连接器名称}} 登录」。',
logo: '连接器图标地址', logo: '连接器图标地址',
logo_placelholder: 'https://your.cdn.domain/logo.png', logo_placeholder: 'https://your.cdn.domain/logo.png',
logo_tip: '图标将会在连接器按钮中展示', logo_tip: '图标将会在连接器按钮中展示',
logo_dark: '连接器图标地址(深色模式)', logo_dark: '连接器图标地址(深色模式)',
logo_dark_placelholder: 'https://your.cdn.domain/logo.png', logo_dark_placeholder: 'https://your.cdn.domain/logo.png',
logo_dark_tip: '在登录体验设置中打开「启用深色模式」后生效', logo_dark_tip: '在登录体验设置中打开「启用深色模式」后生效',
logo_dark_collapse: '折叠', logo_dark_collapse: '折叠',
logo_dark_show: '显示「深色模式图标」', logo_dark_show: '显示「深色模式图标」',

View file

@ -136,11 +136,11 @@ const sign_in_exp = {
setup_warning: { setup_warning: {
no_connector: '', no_connector: '',
no_connector_sms: no_connector_sms:
'你尚未设置 SMS 短信连接器。在完成该配置前,你将无法登录。<a>{{link}}</a>其他社交连接器。', '你尚未设置 SMS 短信连接器。在完成该配置前,你将无法登录。<a>{{link}}</a>连接器。',
no_connector_email: no_connector_email:
'你尚未设置电子邮件连接器。在完成该配置前,你将无法登录。<a>{{link}}</a>其他社交连接器。', '你尚未设置电子邮件连接器。在完成该配置前,你将无法登录。<a>{{link}}</a>连接器。',
no_connector_social: no_connector_social:
'你尚未设置社交连接器。在完成该配置前,你将无法登录。<a>{{link}}</a>其他社交连接器。', '你尚未设置社交连接器。在完成该配置前,你将无法登录。<a>{{link}}</a>连接器。',
no_added_social_connector: '你已经成功设置了一些社交连接器。点按「+」添加一些到你的登录体验。', no_added_social_connector: '你已经成功设置了一些社交连接器。点按「+」添加一些到你的登录体验。',
setup_link: '立即设置', setup_link: '立即设置',
}, },