Add translation keys for reset password page (#1502)

* Begin Work

* Add email sent notification keys

* Finish adding notification keys

* Fix lint error

* Finish work (I think)

* Remove password label (generic)

* Add password label key

* Re-organize Reset password page messages (#11)

- Group messages by their use
- Change some of the keys for clarity
- Change some keys to conform to conventions

---------

Co-authored-by: Sasha Sorokin <10401817+brawaru@users.noreply.github.com>
Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com>
This commit is contained in:
Mysterious_Dev
2024-01-27 18:27:34 +01:00
committed by GitHub
parent 52b299315d
commit f0631d734e
3 changed files with 142 additions and 19 deletions

View File

@@ -1,4 +1,43 @@
{
"auth.reset-password.method-choice.action": {
"message": "Send recovery email"
},
"auth.reset-password.method-choice.description": {
"message": "Enter your email below and we'll send a recovery link to allow you to recover your account."
},
"auth.reset-password.method-choice.email-username.label": {
"message": "Email or username"
},
"auth.reset-password.method-choice.email-username.placeholder": {
"message": "Email"
},
"auth.reset-password.notification.email-sent.text": {
"message": "An email with instructions has been sent to you if the email was previously saved on your account."
},
"auth.reset-password.notification.email-sent.title": {
"message": "Email sent"
},
"auth.reset-password.notification.password-reset.text": {
"message": "You can now log-in into your account with your new password."
},
"auth.reset-password.notification.password-reset.title": {
"message": "Password successfully reset"
},
"auth.reset-password.post-challenge.action": {
"message": "Reset password"
},
"auth.reset-password.post-challenge.confirm-password.label": {
"message": "Confirm password"
},
"auth.reset-password.post-challenge.description": {
"message": "Enter your new password below to gain access to your account."
},
"auth.reset-password.title": {
"message": "Reset Password"
},
"auth.reset-password.title.long": {
"message": "Reset your password"
},
"auth.welcome.checkbox.subscribe": {
"message": "Subscribe to updates about Modrinth"
},
@@ -122,6 +161,9 @@
"input.view.list": {
"message": "List view"
},
"label.password": {
"message": "Password"
},
"label.collections": {
"message": "Collections"
},