From 60ebce8d853fdb7aa6a76d36724639ee595a9898 Mon Sep 17 00:00:00 2001 From: Thomas Darimont Date: Mon, 10 Jun 2024 10:16:58 +0200 Subject: [PATCH] Add translation for oid4vc protocol name Fixes #30286 Signed-off-by: Thomas Darimont --- .../theme/keycloak.v2/admin/messages/messages_en.properties | 1 + js/apps/admin-ui/src/clients/utils.ts | 2 ++ 2 files changed, 3 insertions(+) diff --git a/js/apps/admin-ui/maven-resources/theme/keycloak.v2/admin/messages/messages_en.properties b/js/apps/admin-ui/maven-resources/theme/keycloak.v2/admin/messages/messages_en.properties index 7cdf677a820e..24f146152854 100644 --- a/js/apps/admin-ui/maven-resources/theme/keycloak.v2/admin/messages/messages_en.properties +++ b/js/apps/admin-ui/maven-resources/theme/keycloak.v2/admin/messages/messages_en.properties @@ -491,6 +491,7 @@ loginWithEmailAllowed=Login with email expireTime=Expire time requestObject.request\ or\ request_uri=Request or Request URI policyProvider.user=Define conditions for your permissions where a set of one or more users is permitted to access an object. +protocolTypes.oid4vc=OpenID for Verifiable Credentials protocolTypes.openid-connect=OpenID Connect clientTypeHelp='OpenID Connect' allows Clients to verify the identity of the End-User based on the authentication performed by an Authorization Server.'SAML' enables web-based authentication and authorization scenarios including cross-domain single sign-on (SSO) and uses security tokens containing assertions to pass information. addOpenIdProvider=Add OpenID Connect provider diff --git a/js/apps/admin-ui/src/clients/utils.ts b/js/apps/admin-ui/src/clients/utils.ts index b976a5ea9a31..0eb72b781f8c 100644 --- a/js/apps/admin-ui/src/clients/utils.ts +++ b/js/apps/admin-ui/src/clients/utils.ts @@ -15,6 +15,8 @@ export const getProtocolName = (t: TFunction<"clients">, protocol: string) => { return t("protocolTypes.openid-connect"); case "saml": return t("protocolTypes.saml"); + case "oid4vc": + return t("protocolTypes.oid4vc"); default: return protocol; }