diff --git a/src/app/shared/pipes/app-panels-collapse-aria-label/app-panels-collapse-aria-label.pipe.ts b/src/app/shared/pipes/app-panels-collapse-aria-label/app-panels-collapse-aria-label.pipe.ts index 4e8c81cee..975890c6e 100644 --- a/src/app/shared/pipes/app-panels-collapse-aria-label/app-panels-collapse-aria-label.pipe.ts +++ b/src/app/shared/pipes/app-panels-collapse-aria-label/app-panels-collapse-aria-label.pipe.ts @@ -49,7 +49,7 @@ export class AppPanelsCollapseAriaLabelPipe implements PipeTransform { } else if (panelType === 'side-bar' && args) { // emails-panel, websites-panel, personal-identifiers-panel, keywords-panel, countries-panel if (args === 'emails-panel') { - return $localize`:@@shared.emailsCollapseAriaLabel:Collapse Emails` + return $localize`:@@shared.hideEmailDetailsAriaLabel:Hide email details` } else if (args === 'websites-panel') { return $localize`:@@shared.websiteCollapseAriaLabel:Collapse Website & Social links` } else if (args === 'personal-identifiers-panel') { diff --git a/src/app/shared/pipes/app-panels-expand-aria-label/app-panels-expand-aria-label.pipe.ts b/src/app/shared/pipes/app-panels-expand-aria-label/app-panels-expand-aria-label.pipe.ts index cc1cf8661..a1a63b607 100644 --- a/src/app/shared/pipes/app-panels-expand-aria-label/app-panels-expand-aria-label.pipe.ts +++ b/src/app/shared/pipes/app-panels-expand-aria-label/app-panels-expand-aria-label.pipe.ts @@ -48,7 +48,7 @@ export class AppPanelsExpandAriaLabelPipe implements PipeTransform { } } else if (panelType === 'side-bar' && args) { if (args === 'emails-panel') { - return $localize`:@@shared.emailsExpandAriaLabel:Expand Emails` + return $localize`:@@shared.showEmailDetailsAriaLabel:Show email details` } else if (args === 'websites-panel') { return $localize`:@@shared.websiteExpandAriaLabel:Expand Website & Social links` } else if (args === 'personal-identifiers-panel') { diff --git a/src/locale/properties/shared/shared.en.properties b/src/locale/properties/shared/shared.en.properties index 65c0e52af..52458480b 100644 --- a/src/locale/properties/shared/shared.en.properties +++ b/src/locale/properties/shared/shared.en.properties @@ -529,11 +529,13 @@ shared.dialogAriaLabeledByPeerReview=Manage peer review dialog shared.dialogAriaLabeledByExternalIdentifier=Manage external identifier dialog shared.dialogAriaLabeledByBibtex=Manage bibtex dialog shared.emailsCollapseAriaLabel=Collapse Emails +shared.hideEmailDetailsAriaLabel=Hide email details shared.websiteCollapseAriaLabel=Collapse Website & Social links shared.personalIdsCollapseAriaLabel=Collapse Personal identifiers shared.keywordsCollapseAriaLabel=Collapse Keywords shared.countriesCollapseAriaLabel=Collapse Countries shared.emailsExpandAriaLabel=Expand Emails +shared.showEmailDetailsAriaLabel=Show email details shared.websiteExpandAriaLabel=Expand Website & Social links shared.personalIdsExpandAriaLabel=Expand Personal identifiers shared.keywordsExpandAriaLabel=Expand Keywords