Skip to content

Commit

Permalink
fix branded header test
Browse files Browse the repository at this point in the history
  • Loading branch information
adlius committed Oct 24, 2023
1 parent 5ef48b9 commit 4c3ae45
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,10 @@ export default class BrandedHeader extends Component<InputArgs> {

@computed('args.translationParent')
get headerAriaLabel() {
return this.intl.t(`${this.args.translationParent}.header.osf_registrations`);
if (this.args.translationParent === 'preprints') {
return this.intl.t(`${this.args.translationParent}.header.osf_preprints`);
}
return this.intl.t(`${this.args.translationParent}.header.osf_registrations`);
}

@action
Expand Down

0 comments on commit 4c3ae45

Please sign in to comment.