From 627fd05d71fd34906a2b5253e39f9bbc6f44dfdf Mon Sep 17 00:00:00 2001 From: Stavros Date: Sun, 1 Feb 2026 18:58:03 +0200 Subject: [PATCH] i18n: authorize page error messages --- frontend/src/lib/i18n/locales/en-US.json | 2 ++ frontend/src/lib/i18n/locales/en.json | 2 ++ frontend/src/pages/authorize-page.tsx | 4 ++-- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/frontend/src/lib/i18n/locales/en-US.json b/frontend/src/lib/i18n/locales/en-US.json index bc4236e..a023bae 100644 --- a/frontend/src/lib/i18n/locales/en-US.json +++ b/frontend/src/lib/i18n/locales/en-US.json @@ -68,6 +68,8 @@ "authorizeLoadingSubtitle": "Please wait while we load the client information.", "authorizeSuccessTitle": "Authorized", "authorizeSuccessSubtitle": "You will be redirected to the app in a few seconds.", + "authorizeErrorClientInfo": "An error occurred while loading the client information. Please try again later.", + "authorizeErrorMissingParams": "The following parameters are missing: {{missingParams}}", "openidScopeName": "OpenID Connect", "openidScopeDescription": "Allows the app to access your OpenID Connect information.", "emailScopeName": "Email", diff --git a/frontend/src/lib/i18n/locales/en.json b/frontend/src/lib/i18n/locales/en.json index bc4236e..a023bae 100644 --- a/frontend/src/lib/i18n/locales/en.json +++ b/frontend/src/lib/i18n/locales/en.json @@ -68,6 +68,8 @@ "authorizeLoadingSubtitle": "Please wait while we load the client information.", "authorizeSuccessTitle": "Authorized", "authorizeSuccessSubtitle": "You will be redirected to the app in a few seconds.", + "authorizeErrorClientInfo": "An error occurred while loading the client information. Please try again later.", + "authorizeErrorMissingParams": "The following parameters are missing: {{missingParams}}", "openidScopeName": "OpenID Connect", "openidScopeDescription": "Allows the app to access your OpenID Connect information.", "emailScopeName": "Email", diff --git a/frontend/src/pages/authorize-page.tsx b/frontend/src/pages/authorize-page.tsx index 50acb02..26c7934 100644 --- a/frontend/src/pages/authorize-page.tsx +++ b/frontend/src/pages/authorize-page.tsx @@ -112,7 +112,7 @@ export const AuthorizePage = () => { if (missingParams.length > 0) { return ( ); @@ -138,7 +138,7 @@ export const AuthorizePage = () => { if (getClientInfo.isError) { return ( );