diff --git a/public/locales/en/translation.json b/public/locales/en/translation.json index cc8bc168..85f2a6cd 100644 --- a/public/locales/en/translation.json +++ b/public/locales/en/translation.json @@ -143,7 +143,7 @@ "Enter your new password": "Enter your new password", "Enter": "Enter", "Error": "Error", - "Everything is ok, please give us your email address": "It's okay, just enter your email address to receive a password reset link.", + "Please give us your email address": "Please provide us your email address to get the password reset link", "Experience": "Experience", "FAQ": "Tips and suggestions", "Favorite topics": "Favorite topics", @@ -157,7 +157,6 @@ "Follow": "Follow", "Followers": "Followers", "Following": "Following", - "Forgot password?": "Forgot your password?", "Forward": "Forward", "Full name": "First and last name", "Gallery name": "Gallery name", @@ -308,7 +307,6 @@ "Reports": "Reports", "Required": "Required", "Resend code": "Send confirmation", - "Restore password": "Restore password", "Rules of the journal Discours": "Rules of the journal Discours", "Save draft": "Save draft", "Save settings": "Save settings", diff --git a/public/locales/ru/translation.json b/public/locales/ru/translation.json index 110a8495..bc783798 100644 --- a/public/locales/ru/translation.json +++ b/public/locales/ru/translation.json @@ -150,7 +150,7 @@ "Enter your new password": "Введите новый пароль", "Enter": "Войти", "Error": "Ошибка", - "Everything is ok, please give us your email address": "Ничего страшного, просто укажите свою почту, чтобы получить ссылку для сброса пароля.", + "Please give us your email address": "Пожалуйста, укажите свою почту, чтобы получить ссылку для сброса пароля", "Experience": "Личный опыт", "FAQ": "Советы и предложения", "Favorite topics": "Избранные темы", @@ -164,7 +164,6 @@ "Follow": "Подписаться", "Followers": "Подписчики", "Following": "Вы подписаны", - "Forgot password?": "Забыли пароль?", "Forward": "Переслать", "Full name": "Имя и фамилия", "Gallery name": "Название галереи", @@ -327,7 +326,7 @@ "Reports": "Репортажи", "Required": "Поле обязательно для заполнения", "Resend code": "Выслать подтверждение", - "Restore password": "Восстановить пароль", + "Set the new password": "Задать новый пароль", "Rules of the journal Discours": "Правила журнала Дискурс", "Save draft": "Сохранить черновик", "Save settings": "Сохранить настройки", @@ -343,7 +342,6 @@ "Self-publishing exists thanks to the help of wonderful people from all over the world. Thank you!": "Самиздат существуют благодаря помощи замечательных людей со всего мира. Спасибо Вам!", "Send link again": "Прислать ссылку ещё раз", "Send": "Отправить", - "Set the new password": "Задать новый пароль", "Settings": "Настройки", "Share publication": "Поделиться публикацией", "Share": "Поделиться", diff --git a/src/components/Nav/AuthModal/LoginForm.tsx b/src/components/Nav/AuthModal/LoginForm.tsx index 156feb6f..bbecdc48 100644 --- a/src/components/Nav/AuthModal/LoginForm.tsx +++ b/src/components/Nav/AuthModal/LoginForm.tsx @@ -55,7 +55,7 @@ export const LoginForm = () => { setIsLinkSent(true) setIsEmailNotConfirmed(false) setSubmitError('') - changeSearchParams({ mode: 'forgot-password' }) + changeSearchParams({ mode: 'send-reset-link' }) // NOTE: temporary solution, needs logic in authorizer /* FIXME: const { authorizer } = useSession() @@ -172,7 +172,7 @@ export const LoginForm = () => { class="link" onClick={() => changeSearchParams({ - mode: 'forgot-password', + mode: 'send-reset-link', }) } > diff --git a/src/components/Nav/AuthModal/RegisterForm.tsx b/src/components/Nav/AuthModal/RegisterForm.tsx index 09f4ecba..6b0b16f8 100644 --- a/src/components/Nav/AuthModal/RegisterForm.tsx +++ b/src/components/Nav/AuthModal/RegisterForm.tsx @@ -187,17 +187,16 @@ export const RegisterForm = () => { onBlur={handleEmailBlur} /> -