Skip to content
This repository was archived by the owner on Apr 14, 2026. It is now read-only.

Commit 6b7b8a4

Browse files
authored
Update submit button label (#2111)
1 parent fe05a9b commit 6b7b8a4

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

app/preprints/index/template.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
local-class='btn btn-success btn-lg'
3636
@href={{concat this.theme.pathPrefix 'submit'}}
3737
>
38-
{{t 'preprints.header.submit_label' documentType=this.theme.provider.content.documentType}}
38+
{{t 'preprints.header.submit_label' documentType=this.theme.provider.documentType.singular}}
3939
</OsfLink>
4040
<div local-class='example-container'>
4141
<OsfLink

translations/en-us.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1225,9 +1225,8 @@ preprints:
12251225
search_help: 'Search help'
12261226
powered_by: 'Powered by OSF Preprints'
12271227
or: 'or'
1228-
submit_label: 'Submit a preprint'
1228+
submit_label: 'Submit a {documentType}'
12291229
example: 'See an example'
1230-
authors_label:
12311230
subjects:
12321231
heading:
12331232
provider: 'Browse by provider'

0 commit comments

Comments
 (0)