diff --git a/js/apps/account-ui/src/applications/Applications.tsx b/js/apps/account-ui/src/applications/Applications.tsx index c6b6c1e837..a97e9ffe74 100644 --- a/js/apps/account-ui/src/applications/Applications.tsx +++ b/js/apps/account-ui/src/applications/Applications.tsx @@ -1,5 +1,6 @@ import { ContinueCancelModal, + label, useEnvironment, } from "@keycloak/keycloak-ui-shared"; import { @@ -142,14 +143,20 @@ export const Applications = () => { variant="link" onClick={() => window.open(application.effectiveUrl)} > - {application.clientName || application.clientId}{" "} + {label( + t, + application.clientName || application.clientId, + )}{" "} )} {!application.effectiveUrl && ( - - {application.clientName || application.clientId} - + <> + {label( + t, + application.clientName || application.clientId, + )} + )} , inUseClients, List offlineClients, Map consents) { ClientRepresentation representation = new ClientRepresentation(); representation.setClientId(model.getClientId()); - representation.setClientName(StringPropertyReplacer.replaceProperties(model.getName(), getProperties())); + representation.setClientName(model.getName()); representation.setDescription(model.getDescription()); representation.setUserConsentRequired(model.isConsentRequired()); representation.setInUse(inUseClients.contains(model.getClientId()));