diff --git a/src/app/cdk/side-bar/modals/modal-email/modal-email.component.html b/src/app/cdk/side-bar/modals/modal-email/modal-email.component.html index 15ecc86ac..7badc5956 100644 --- a/src/app/cdk/side-bar/modals/modal-email/modal-email.component.html +++ b/src/app/cdk/side-bar/modals/modal-email/modal-email.component.html @@ -128,8 +128,8 @@

formControlName="visibility" id="cy-domain-visibility" [itemTitle]="domain.value" - [ariaLabelPrivate]="ariaLabelVisibilityEmailTrustedParty" - [ariaLabelPublic]="ariaLabelVisibilityEmailTrustedParty" - [ariaLabelTrustedParty]="ariaLabelVisibilityEmailTrustedParty" + [ariaLabelPrivate]="ariaLabelVisibilityDomainPrivate" + [ariaLabelPublic]="ariaLabelVisibilityDomainPublic" + [ariaLabelTrustedParty]="ariaLabelVisibilityDomainTrustedParty" [mobile]="isMobile" [privacy]="domain.visibility" > diff --git a/src/app/cdk/side-bar/modals/modal-email/modal-email.component.ts b/src/app/cdk/side-bar/modals/modal-email/modal-email.component.ts index b3533cd0c..66f6bca98 100644 --- a/src/app/cdk/side-bar/modals/modal-email/modal-email.component.ts +++ b/src/app/cdk/side-bar/modals/modal-email/modal-email.component.ts @@ -69,6 +69,9 @@ export class ModalEmailComponent implements OnInit, OnDestroy { ariaLabelVisibilityEmailPublic = $localize`:@@side-bar.ariaLabelEmailPublic:Set email visibility to Everyone` ariaLabelVisibilityEmailTrustedParty = $localize`:@@side-bar.ariaLabelEmailTrustedParties:Set email visibility to Trusted Parties` ariaLabelVisibilityEmailPrivate = $localize`:@@side-bar.ariaLabelEmailPrivate:Set email visibility to Only Me` + ariaLabelVisibilityDomainPublic = $localize`:@@side-bar.ariaLabelDomainVisibilityPublic:Set domain visibility to Everyone` + ariaLabelVisibilityDomainTrustedParty = $localize`:@@side-bar.ariaLabelDomainVisibilityTrustedParties:Set domain visibility to Trusted Parties` + ariaLabelVisibilityDomainPrivate = $localize`:@@side-bar.ariaLabelDomainVisibilityPrivate:Set domain visibility to Only Me` ariaOpenAccountSettings = $localize`:@@side-bar.ariaOpenAccountSettings:Open your ORCID account settings` deleteTooltip = $localize`:@@side-bar.deleteTooltip:You can't delete the only email address in your account` visibilityTooltip = $localize`:@@side-bar.visibilityTooltip:Visibility set to Only me` diff --git a/src/locale/properties/side-bar/side-bar.en.properties b/src/locale/properties/side-bar/side-bar.en.properties index 7689206cc..dfed5e5f2 100644 --- a/src/locale/properties/side-bar/side-bar.en.properties +++ b/src/locale/properties/side-bar/side-bar.en.properties @@ -104,5 +104,8 @@ side-bar.ariaLabelOtherEmailPrivate=Set other email visibility to Only Me side-bar.ariaLabelEmailPublic=Set email visibility to Everyone side-bar.ariaLabelEmailTrustedParties=Set email visibility to Trusted Parties side-bar.ariaLabelEmailPrivate=Set email visibility to Only Me +side-bar.ariaLabelDomainVisibilityPublic=Set domain visibility to Everyone +side-bar.ariaLabelDomainVisibilityTrustedParties=Set domain visibility to Trusted Parties +side-bar.ariaLabelDomainVisibilityPrivate=Set domain visibility to Only Me side-bar.ariaOpenAccountSettings=Open your ORCID account settings side-bar.notificationsAreSentToEmail=Notifications are sent to