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 <vanio.begic123@gmail.com>
This commit is contained in:
thecooldrop 2023-11-26 18:42:43 +01:00 committed by GitHub
parent a5f276ce28
commit a5ce7c4661
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -136,6 +136,7 @@ policy=Privacy policy
applicationType=Application type
status=Status
logo=Logo
hasAccessTo=Has access to
#Delete account page
doDelete=Delete

View file

@ -220,7 +220,7 @@ export class ApplicationsPage extends React.Component<ApplicationsPageProps, App
{application.consent &&
<React.Fragment>
<DescriptionListGroup>
<DescriptionListTerm>Has access to</DescriptionListTerm>
<DescriptionListTerm>{Msg.localize('hasAccessTo')}</DescriptionListTerm>
{application.consent.grantedScopes.map((scope: GrantedScope, scopeIndex: number) => {
return (
<React.Fragment key={'scope-' + scopeIndex} >