mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
chore: fix typos and errors in i18n phrases (#2632)
This commit is contained in:
parent
2c1640d889
commit
e255021501
11 changed files with 28 additions and 31 deletions
|
@ -58,16 +58,13 @@ const ConnectorForm = ({ connector, isAllowEditTarget }: Props) => {
|
|||
<div className={styles.tip}>{t('connectors.guide.name_tip')}</div>
|
||||
</FormField>
|
||||
<FormField title="connectors.guide.logo">
|
||||
<TextInput
|
||||
placeholder={t('connectors.guide.logo_placelholder')}
|
||||
{...register('logo')}
|
||||
/>
|
||||
<TextInput placeholder={t('connectors.guide.logo_placeholder')} {...register('logo')} />
|
||||
<div className={styles.tip}>{t('connectors.guide.logo_tip')}</div>
|
||||
</FormField>
|
||||
{darkVisible && (
|
||||
<FormField title="connectors.guide.logo_dark">
|
||||
<TextInput
|
||||
placeholder={t('connectors.guide.logo_dark_placelholder')}
|
||||
placeholder={t('connectors.guide.logo_dark_placeholder')}
|
||||
{...register('logoDark')}
|
||||
/>
|
||||
<div className={styles.tip}>{t('connectors.guide.logo_dark_tip')}</div>
|
||||
|
|
|
@ -34,10 +34,10 @@ const connectors = {
|
|||
name: 'Connector name', // UNTRANSLATED
|
||||
name_tip: 'Connector button’s name will display as "Continue with {{Connector Name}}".', // 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_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:
|
||||
'This will be used when opening “Enable dark mode” in the setting of sign in experience.', // UNTRANSLATED
|
||||
logo_dark_collapse: 'Collapse', // UNTRANSLATED
|
||||
|
@ -45,7 +45,7 @@ const connectors = {
|
|||
target: 'Connector identity target', // UNTRANSLATED
|
||||
target_tip: 'A unique identifier for the connector.', // 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_each_sign_in: 'Always sync at each sign-in', // UNTRANSLATED
|
||||
},
|
||||
|
|
|
@ -34,10 +34,10 @@ const connectors = {
|
|||
name: 'Connector name',
|
||||
name_tip: 'Connector button’s name will display as "Continue with {{Connector Name}}".',
|
||||
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_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:
|
||||
'This will be used when opening “Enable dark mode” in the setting of sign in experience.',
|
||||
logo_dark_collapse: 'Collapse',
|
||||
|
@ -45,7 +45,7 @@ const connectors = {
|
|||
target: 'Connector identity target',
|
||||
target_tip: 'A unique identifier for the connector.',
|
||||
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_each_sign_in: 'Always sync at each sign-in',
|
||||
},
|
||||
|
|
|
@ -35,10 +35,10 @@ const connectors = {
|
|||
name: 'Connector name', // UNTRANSLATED
|
||||
name_tip: 'Connector button’s name will display as "Continue with {{Connector Name}}".', // 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_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:
|
||||
'This will be used when opening “Enable dark mode” in the setting of sign in experience.', // UNTRANSLATED
|
||||
logo_dark_collapse: 'Collapse', // UNTRANSLATED
|
||||
|
@ -46,7 +46,7 @@ const connectors = {
|
|||
target: 'Connector identity target', // UNTRANSLATED
|
||||
target_tip: 'A unique identifier for the connector.', // 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_each_sign_in: 'Always sync at each sign-in', // UNTRANSLATED
|
||||
},
|
||||
|
|
|
@ -34,10 +34,10 @@ const connectors = {
|
|||
name: 'Connector name', // UNTRANSLATED
|
||||
name_tip: 'Connector button’s name will display as "Continue with {{Connector Name}}".', // 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_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:
|
||||
'This will be used when opening “Enable dark mode” in the setting of sign in experience.', // UNTRANSLATED
|
||||
logo_dark_collapse: 'Collapse', // UNTRANSLATED
|
||||
|
@ -45,7 +45,7 @@ const connectors = {
|
|||
target: 'Connector identity target', // UNTRANSLATED
|
||||
target_tip: 'A unique identifier for the connector.', // 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_each_sign_in: 'Always sync at each sign-in', // UNTRANSLATED
|
||||
},
|
||||
|
|
|
@ -35,10 +35,10 @@ const connectors = {
|
|||
name: 'Nome do conector',
|
||||
name_tip: 'O nome do botão do conector será exibido como "Continue com {{Connector Name}}".',
|
||||
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_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:
|
||||
'Isso será usado ao abrir "Ativar modo escuro" na configuração da experiência de login.',
|
||||
logo_dark_collapse: 'Collapse',
|
||||
|
|
|
@ -34,10 +34,10 @@ const connectors = {
|
|||
name: 'Connector name', // UNTRANSLATED
|
||||
name_tip: 'Connector button’s name will display as "Continue with {{Connector Name}}".', // 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_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:
|
||||
'This will be used when opening “Enable dark mode” in the setting of sign in experience.', // UNTRANSLATED
|
||||
logo_dark_collapse: 'Collapse', // UNTRANSLATED
|
||||
|
@ -45,7 +45,7 @@ const connectors = {
|
|||
target: 'Connector identity target', // UNTRANSLATED
|
||||
target_tip: 'A unique identifier for the connector.', // 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_each_sign_in: 'Always sync at each sign-in', // UNTRANSLATED
|
||||
},
|
||||
|
|
|
@ -35,10 +35,10 @@ const connectors = {
|
|||
name: 'Connector name', // UNTRANSLATED
|
||||
name_tip: 'Connector button’s name will display as "Continue with {{Connector Name}}".', // 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_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:
|
||||
'This will be used when opening “Enable dark mode” in the setting of sign in experience.', // UNTRANSLATED
|
||||
logo_dark_collapse: 'Collapse', // UNTRANSLATED
|
||||
|
@ -46,7 +46,7 @@ const connectors = {
|
|||
target: 'Connector identity target', // UNTRANSLATED
|
||||
target_tip: 'A unique identifier for the connector.', // 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_each_sign_in: 'Always sync at each sign-in', // UNTRANSLATED
|
||||
},
|
||||
|
|
|
@ -28,7 +28,7 @@ const application_details = {
|
|||
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_tip:
|
||||
'在用户登出后重定向的目标 URI(可选)。在某些应用类型中可能无实质作用。',
|
||||
'在用户退出登录后重定向的目标 URI(可选)。在某些应用类型中可能无实质作用。',
|
||||
cors_allowed_origins: 'CORS Allowed Origins',
|
||||
cors_allowed_origins_placeholder: 'https://your.website.com',
|
||||
cors_allowed_origins_tip:
|
||||
|
|
|
@ -33,10 +33,10 @@ const connectors = {
|
|||
name: '连接器名称',
|
||||
name_tip: '连接器按钮名将会是「通过 {{连接器名称}} 登录」。',
|
||||
logo: '连接器图标地址',
|
||||
logo_placelholder: 'https://your.cdn.domain/logo.png',
|
||||
logo_placeholder: 'https://your.cdn.domain/logo.png',
|
||||
logo_tip: '图标将会在连接器按钮中展示',
|
||||
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_collapse: '折叠',
|
||||
logo_dark_show: '显示「深色模式图标」',
|
||||
|
|
|
@ -136,11 +136,11 @@ const sign_in_exp = {
|
|||
setup_warning: {
|
||||
no_connector: '',
|
||||
no_connector_sms:
|
||||
'你尚未设置 SMS 短信连接器。在完成该配置前,你将无法登录。<a>{{link}}</a>其他社交连接器。',
|
||||
'你尚未设置 SMS 短信连接器。在完成该配置前,你将无法登录。<a>{{link}}</a>连接器。',
|
||||
no_connector_email:
|
||||
'你尚未设置电子邮件连接器。在完成该配置前,你将无法登录。<a>{{link}}</a>其他社交连接器。',
|
||||
'你尚未设置电子邮件连接器。在完成该配置前,你将无法登录。<a>{{link}}</a>连接器。',
|
||||
no_connector_social:
|
||||
'你尚未设置社交连接器。在完成该配置前,你将无法登录。<a>{{link}}</a>其他社交连接器。',
|
||||
'你尚未设置社交连接器。在完成该配置前,你将无法登录。<a>{{link}}</a>连接器。',
|
||||
no_added_social_connector: '你已经成功设置了一些社交连接器。点按「+」添加一些到你的登录体验。',
|
||||
setup_link: '立即设置',
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue