Skip to content

Fix Login Page Translation Error: "Invalid Username or Password" #3340

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Mar 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion client/modules/User/components/LoginForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,9 @@ function LoginForm() {
)}
</Field>
{submitError && !modifiedSinceLastSubmit && (
<span className="form-error">{submitError}</span>
<span className="form-error">
{t('LoginForm.Errors.invalidCredentials')}
</span>
)}
<Button type="submit" disabled={submitting}>
{t('LoginForm.Submit')}
Expand Down
5 changes: 4 additions & 1 deletion translations/locales/be/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,10 @@
"UsernameOrEmailARIA": "ইমেইল অথবা ব্যবহারকারীর নাম",
"Password": "পাসওয়ার্ড",
"PasswordARIA": "পাসওয়ার্ড",
"Submit": "লগ ইন করুন"
"Submit": "লগ ইন করুন",
"Errors": {
"invalidCredentials": "অবৈধ ইমেল বা পাসওয়ার্ড।"
}
},
"LoginView": {
"Title": "p5.js ওয়েব এডিটর | লগইন",
Expand Down
5 changes: 4 additions & 1 deletion translations/locales/en-US/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,10 @@
"UsernameOrEmailARIA": "Email or Username",
"Password": "Password",
"PasswordARIA": "Password",
"Submit": "Log In"
"Submit": "Log In",
"Errors": {
"invalidCredentials": "Invalid email or password."
}
},
"LoginView": {
"Title": "p5.js Web Editor | Login",
Expand Down
5 changes: 4 additions & 1 deletion translations/locales/hi/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,10 @@
"UsernameOrEmailARIA": "ईमेल या यूजरनेम",
"Password": "पासवर्ड",
"PasswordARIA": "पासवर्ड",
"Submit": "लॉग इन"
"Submit": "लॉग इन",
"Errors": {
"invalidCredentials": "अमान्य ईमेल या पासवर्ड।"
}
},
"LoginView": {
"Title": "p5.js वेब एडिटर | लॉग इन",
Expand Down