Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1356,7 +1356,7 @@ The following table gives a quick overview on the occurences of the form fields
| | **Affiliation** | 0-n | 0-n | `<contributor><affiliation>` |
| | *rorID* | 0-1 | 0-1 | `<contributor><contributorName><affiliation>` |
| Author (Institution) | | 0-n | 0-n | `<creators>` |
| | **Author Institution name** | 0-n | 0-n | `<creators><creator><creatorName nameType="Organizational">Institution Name</creatorName>` |
| | **Author Institution Name** | 0-n | 0-n | `<creators><creator><creatorName nameType="Organizational">Institution Name</creatorName>` |
| | **affiliation** | 0-n | 0-n | `<creator><affiliation>…</affiliation>` |
| | *rorID* | 0-1 | 0-1 | `<creator><affiliation affiliationIdentifierScheme="ROR" schemeURI="https://ror.org/" affiliationIdentifier="https://ror.org/XXXXXXXXX">…</affiliation>` |
| Originating Laboratory | | 0-n | 0-n | `<contributor contributorType="HostingInstitution"><contributorName>` |
Expand Down
2 changes: 1 addition & 1 deletion formgroups/authors.html
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@
<div class="input-group has-validation">
<div class="form-floating">
<input type="text" class="form-control" id="input-authorinstitution-name" name="authorinstitutionName[]">
<label for="input-authorinstitution-name" data-translate="authorsInstitutions.name">Author Institution name</label>
<label for="input-authorinstitution-name" data-translate="authorsInstitutions.name">Author Institution Name</label>
<div class="invalid-feedback" data-translate="authors.InstitutionsNameInvalid"></div>
</div>
</div>
Expand Down
6 changes: 3 additions & 3 deletions lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -164,11 +164,11 @@
"affiliationRorId": "ROR ID",
"affiliationRemove": "Remove affiliation",
"affiliationInvalid": "Please provide an affiliation.",
"InstitutionsNameInvalid": "Please provide an Institution name."
"InstitutionsNameInvalid": "Please provide an Institution Name."
},
"authorsInstitutions": {
"title": "Author: Institutions",
"name": "Author Institution name"
"name": "Author Institution Name"
},
"contactPersons": {
"contactPersonError": "Please add a contact in Authors or Contributors with a name and valid email address.",
Expand Down Expand Up @@ -199,7 +199,7 @@
},
"contributorInstitutions": {
"title": "Contributor: Institutions",
"organization": "Institution name",
"organization": "Institution Name",
"organizationInvalid": "Please enter a valid organization name."
},
"laboratory": {
Expand Down
2 changes: 1 addition & 1 deletion tests/playwright/formgroups/author-institution.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ test.describe('Author institution entries in the Authors form group', () => {

const nameInput = formGroup.locator('input[name="authorinstitutionName[]"]');
await expect(nameInput).toBeVisible();
await expect(page.getByLabel('Author Institution name')).toBeVisible();
await expect(page.getByLabel('Author Institution Name')).toBeVisible();

const affiliationEditor = firstRow.locator('[data-author-affiliation-editor]');
await expect(affiliationEditor).toBeVisible();
Expand Down
Loading