Skip to content

Commit

Permalink
fix branded header test
Browse files Browse the repository at this point in the history
  • Loading branch information
adlius authored and bp-cos committed Oct 27, 2023
1 parent cfb857b commit ff60cd5
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 ff60cd5

Please sign in to comment.