Skip to content

Commit 9675285

Browse files
fix(i18n): add missing translation keys for CREDENTIALS_FORM (#449)
* fix(i18n): add missing translation keys for CREDENTIALS_FORM Add missing translation keys in messages/en.json for the admin.CREDENTIALS_FORM section: - LOGIN_FAILED - ACCOUNT_NOT_FOUND - INVALID_PASSWORD - PROFILE_NOT_FOUND - GENERIC_ERROR_MESSAGE - RATE_LIMITED - USE_OAUTH_PROVIDER * fix(i18n): make OAuth provider message generic in CREDENTIALS_FORM Replace hardcoded Google or GitHub with generic social provider to support all configured OAuth providers.
1 parent db69615 commit 9675285

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

messages/en.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2678,7 +2678,14 @@
26782678
"FAILED_TO_LOAD_VERIFICATION": "Failed to load security verification. Please refresh the page.",
26792679
"VERIFICATION_EXPIRED": "Security verification expired. Please complete it again.",
26802680
"VERIFYING": "Verifying...",
2681-
"PLEASE_COMPLETE_VERIFICATION": "Please complete the security verification"
2681+
"PLEASE_COMPLETE_VERIFICATION": "Please complete the security verification",
2682+
"LOGIN_FAILED": "Login Failed",
2683+
"ACCOUNT_NOT_FOUND": "No account found with this email address. Please check your email or create a new account.",
2684+
"INVALID_PASSWORD": "Incorrect password. Please check your password and try again.",
2685+
"PROFILE_NOT_FOUND": "Account profile not found. Please contact support.",
2686+
"GENERIC_ERROR_MESSAGE": "An error occurred. Please try again.",
2687+
"RATE_LIMITED": "Too many attempts. Please wait a few minutes before trying again.",
2688+
"USE_OAUTH_PROVIDER": "This account uses social login. Please sign in with your social provider."
26822689
},
26832690
"FORGOT_PASSWORD_PAGE": {
26842691
"TITLE": "Forgot Password?",

0 commit comments

Comments
 (0)