mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-24 03:33:27 +00:00
Merge pull request #12698 from overleaf/jk-full-stops
[web] Add full-stops after 'Please use a different password' GitOrigin-RevId: 9cac7c70358db11a74858252001a2dee211c0325
This commit is contained in:
parent
f5740e6b17
commit
724a8d6113
2 changed files with 6 additions and 6 deletions
|
@ -26,11 +26,11 @@ block content
|
|||
|
||||
+customFormMessage('password-contains-email', 'danger')
|
||||
| #{translate('invalid_password_contains_email')}.
|
||||
| #{translate('use_a_different_password')}
|
||||
| #{translate('use_a_different_password')}.
|
||||
|
||||
+customFormMessage('password-too-similar', 'danger')
|
||||
| #{translate('invalid_password_too_similar')}.
|
||||
| #{translate('use_a_different_password')}
|
||||
| #{translate('use_a_different_password')}.
|
||||
|
||||
+customFormMessage('token-expired', 'danger')
|
||||
| #{translate('password_reset_token_expired')}
|
||||
|
@ -54,7 +54,7 @@ block content
|
|||
)
|
||||
|
||||
+customValidationMessage('invalid-password')
|
||||
| #{translate('invalid_password')}
|
||||
| #{translate('invalid_password')}.
|
||||
|
||||
+customValidationMessage('password-must-be-different')
|
||||
| #{translate('password_cant_be_the_same_as_current_one')}.
|
||||
|
|
|
@ -162,17 +162,17 @@ function PasswordForm() {
|
|||
/>,
|
||||
]}
|
||||
/>
|
||||
. {t('use_a_different_password')}
|
||||
. {t('use_a_different_password')}.
|
||||
</>
|
||||
) : getErrorMessageKey(error) === 'password-contains-email' ? (
|
||||
<>
|
||||
{t('invalid_password_contains_email')}.{' '}
|
||||
{t('use_a_different_password')}
|
||||
{t('use_a_different_password')}.
|
||||
</>
|
||||
) : getErrorMessageKey(error) === 'password-too-similar' ? (
|
||||
<>
|
||||
{t('invalid_password_too_similar')}.{' '}
|
||||
{t('use_a_different_password')}
|
||||
{t('use_a_different_password')}.
|
||||
</>
|
||||
) : (
|
||||
getUserFacingMessage(error)
|
||||
|
|
Loading…
Reference in a new issue