🔧 feat: Localize redirect message to OpenID provider in Login component

This commit is contained in:
Ruben Talstra 2025-03-10 12:55:46 +01:00
parent 14bd9f03fa
commit e34503edce
No known key found for this signature in database
GPG key ID: 2A5A7174A60F3BEA
2 changed files with 5 additions and 2 deletions

View file

@ -49,7 +49,9 @@ function Login() {
if (shouldAutoRedirect) {
return (
<div className="flex min-h-screen flex-col items-center justify-center p-4">
<p className="text-lg font-semibold">Redirecting to OpenID provider, please wait...</p>
<p className="text-lg font-semibold">
{localize('com_ui_redirecting_to_provider', { 0: startupConfig.openidLabel })}
</p>
<div className="mt-4">
<SocialButton
key="openid"

View file

@ -101,6 +101,7 @@
"com_auth_google_login": "Continue with Google",
"com_auth_here": "HERE",
"com_auth_login": "Login",
"com_ui_redirecting_to_provider": "Redirecting to {{0}}, please wait...",
"com_auth_login_with_new_password": "You may now login with your new password.",
"com_auth_name_max_length": "Name must be less than 80 characters",
"com_auth_name_min_length": "Name must be at least 3 characters",
@ -835,4 +836,4 @@
"com_ui_zoom": "Zoom",
"com_user_message": "You",
"com_warning_resubmit_unsupported": "Resubmitting the AI message is not supported for this endpoint."
}
}