From a5ce7c46612c468f43143b73cf9083a91c049be8 Mon Sep 17 00:00:00 2001 From: thecooldrop Date: Sun, 26 Nov 2023 18:42:43 +0100 Subject: [PATCH] Replace static text with reference to translation in Applications page (#25021) In this commit static text has been replaced by reference to translation. Currently only English value has been provided. Closes #24527 Signed-off-by: TheCoolDrop --- .../theme/keycloak.v2/account/messages/messages_en.properties | 1 + .../src/app/content/applications-page/ApplicationsPage.tsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/themes/src/main/resources/theme/keycloak.v2/account/messages/messages_en.properties b/themes/src/main/resources/theme/keycloak.v2/account/messages/messages_en.properties index fcc289d8ff..12b5a37b54 100644 --- a/themes/src/main/resources/theme/keycloak.v2/account/messages/messages_en.properties +++ b/themes/src/main/resources/theme/keycloak.v2/account/messages/messages_en.properties @@ -136,6 +136,7 @@ policy=Privacy policy applicationType=Application type status=Status logo=Logo +hasAccessTo=Has access to #Delete account page doDelete=Delete diff --git a/themes/src/main/resources/theme/keycloak.v2/account/src/app/content/applications-page/ApplicationsPage.tsx b/themes/src/main/resources/theme/keycloak.v2/account/src/app/content/applications-page/ApplicationsPage.tsx index 569dcdad15..c333f928f3 100644 --- a/themes/src/main/resources/theme/keycloak.v2/account/src/app/content/applications-page/ApplicationsPage.tsx +++ b/themes/src/main/resources/theme/keycloak.v2/account/src/app/content/applications-page/ApplicationsPage.tsx @@ -220,7 +220,7 @@ export class ApplicationsPage extends React.Component - Has access to + {Msg.localize('hasAccessTo')} {application.consent.grantedScopes.map((scope: GrantedScope, scopeIndex: number) => { return (