diff --git a/dspace/config/submission-forms.xml b/dspace/config/submission-forms.xml index 7008101b09..fb0c1dc347 100644 --- a/dspace/config/submission-forms.xml +++ b/dspace/config/submission-forms.xml @@ -63,9 +63,7 @@ onebox - Enter the name(s) of the author(s) of this item. To add - multiple authors, enter one name (last and first) - at a time and then click "Add more". + submission.hint.dc.contributor.author @@ -102,10 +100,7 @@ onebox - Enter the name(s) of any other contributors to the item - (e.g. editors, illustrators, narrators, etc.). To add - multiple contributors, enter one name (last and first) - at a time and then click "Add more". + submission.hint.dc.contributor @@ -120,11 +115,8 @@ onebox - If applicable, enter the name(s) of the advisor(s) who - oversaw the creation of this item. To add multiple - advisors, enter one name (last and first) at a time and - then click "Add more". - + submission.hint.dc.contributor.advisor + diff --git a/dspace/docs/SubmissionForm.md b/dspace/docs/SubmissionForm.md index 2f5b570f8b..eabad69705 100644 --- a/dspace/docs/SubmissionForm.md +++ b/dspace/docs/SubmissionForm.md @@ -41,6 +41,23 @@ Fields are listed in the order that they appear on the form. * Note (4): Dropdown using "common_iso_languages" value-pairs list * Note (5): In DSpace 6, uses Solr-based auto-suggest +## Form Field Hints + +The "hint" attribute for the following fields uses an I18n key instead of +hard-coding the text: + +| Schema Field | "hint" I18n Key | +| ---------------------- | -------------------------------------- | +| dc.contributor.author | submission.hint.dc.contributor.author | +| dc.contributor.advisor | submission.hint.dc.contributor.advisor | +| dc.contributor | submission.hint.dc.contributor | + +The text for the hints is specified in the “src/assets/i18n/en.json5” +localization file in the Angular front-end. + +I18n keys are used for these fields to allow for HTML tags to be used as part of +hint text. + ## Value-Pairs Lists The following value-pair lists were customized in DSpace 6, and seemed