mirror of
https://github.com/logto-io/logto.git
synced 2025-03-24 22:41:28 -05:00
fix(console): correct sentence cases in the sie change alert modal (#2378)
This commit is contained in:
parent
28d4414320
commit
19137fa400
2 changed files with 10 additions and 2 deletions
|
@ -70,7 +70,11 @@ const SignInDiffSection = ({ before, after, isAfter = false }: Props) => {
|
|||
hasChanged={hasAuthenticationChanged(identifierKey, 'verificationCode')}
|
||||
isAfter={isAfter}
|
||||
>
|
||||
{t('sign_in_exp.sign_up_and_sign_in.sign_in.verification_code_auth')}
|
||||
{needDisjunction
|
||||
? t(
|
||||
'sign_in_exp.sign_up_and_sign_in.sign_in.verification_code_auth'
|
||||
).toLocaleLowerCase()
|
||||
: t('sign_in_exp.sign_up_and_sign_in.sign_in.verification_code_auth')}
|
||||
</DiffSegment>
|
||||
)}
|
||||
{hasAuthentication && ')'}
|
||||
|
|
|
@ -41,7 +41,11 @@ const SignUpDiffSection = ({ before, after, isAfter = false }: Props) => {
|
|||
{needConjunction && ` ${String(t('sign_in_exp.sign_up_and_sign_in.and'))} `}
|
||||
{verify && (
|
||||
<DiffSegment hasChanged={hasChanged('verify')} isAfter={isAfter}>
|
||||
{t('sign_in_exp.sign_up_and_sign_in.sign_up.verify_at_sign_up_option')}
|
||||
{needConjunction
|
||||
? t(
|
||||
'sign_in_exp.sign_up_and_sign_in.sign_up.verify_at_sign_up_option'
|
||||
).toLowerCase()
|
||||
: t('sign_in_exp.sign_up_and_sign_in.sign_up.verify_at_sign_up_option')}
|
||||
</DiffSegment>
|
||||
)}
|
||||
{hasAuthentication && ')'}
|
||||
|
|
Loading…
Add table
Reference in a new issue