Skip to content

Commit

Permalink
Update submit button label (#2111)
Browse files Browse the repository at this point in the history
  • Loading branch information
futa-ikeda authored Jan 30, 2024
1 parent fe05a9b commit 6b7b8a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/preprints/index/template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
local-class='btn btn-success btn-lg'
@href={{concat this.theme.pathPrefix 'submit'}}
>
{{t 'preprints.header.submit_label' documentType=this.theme.provider.content.documentType}}
{{t 'preprints.header.submit_label' documentType=this.theme.provider.documentType.singular}}
</OsfLink>
<div local-class='example-container'>
<OsfLink
Expand Down
3 changes: 1 addition & 2 deletions translations/en-us.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1225,9 +1225,8 @@ preprints:
search_help: 'Search help'
powered_by: 'Powered by OSF Preprints'
or: 'or'
submit_label: 'Submit a preprint'
submit_label: 'Submit a {documentType}'
example: 'See an example'
authors_label:
subjects:
heading:
provider: 'Browse by provider'
Expand Down

0 comments on commit 6b7b8a4

Please sign in to comment.