diff --git a/src/app/shared/clarin-item-author-preview/clarin-item-author-preview.component.html b/src/app/shared/clarin-item-author-preview/clarin-item-author-preview.component.html index 8b12fea783e..2d46cad5329 100644 --- a/src/app/shared/clarin-item-author-preview/clarin-item-author-preview.component.html +++ b/src/app/shared/clarin-item-author-preview/clarin-item-author-preview.component.html @@ -5,12 +5,14 @@ {{'item.view.box.author.preview.and' | translate}} - {{ author.name }} + {{ author.name }} +  
- {{ author.name }}; et al. + {{ author.name }} +  ; et al.
@@ -25,7 +27,8 @@ {{'item.view.box.author.preview.and' | translate}} - {{author.name}} + {{author.name}} +  
diff --git a/src/app/shared/clarin-item-box-view/clarin-author-name-link.model.ts b/src/app/shared/clarin-item-box-view/clarin-author-name-link.model.ts index ad6f73c37f4..856655b17fc 100644 --- a/src/app/shared/clarin-item-box-view/clarin-author-name-link.model.ts +++ b/src/app/shared/clarin-item-box-view/clarin-author-name-link.model.ts @@ -5,4 +5,5 @@ export class AuthorNameLink { name: string; url: string; + isAuthority: boolean; } diff --git a/src/app/shared/clarin-shared-util.ts b/src/app/shared/clarin-shared-util.ts index 89ff26c149e..44b087a9910 100644 --- a/src/app/shared/clarin-shared-util.ts +++ b/src/app/shared/clarin-shared-util.ts @@ -63,10 +63,19 @@ export function loadItemAuthors(item, itemAuthors, baseUrl, fields) { } const itemAuthorsLocal = []; authorsMV.forEach((authorMV: MetadataValue) => { - const authorSearchLink = baseUrl + '/search?f.author=' + encodeURIComponent(authorMV.value) + ',equals'; + let value: string, operator: string; + if (authorMV.authority) { + value = encodeURIComponent(authorMV.authority); + operator = 'authority'; + } else { + value = encodeURIComponent(authorMV.value); + operator = 'equals'; + } + const authorSearchLink = baseUrl + '/search?f.author=' + value + ',' + operator; const authorNameLink = Object.assign(new AuthorNameLink(), { name: authorMV.value, - url: authorSearchLink + url: authorSearchLink, + isAuthority: !!authorMV.authority }); itemAuthorsLocal.push(authorNameLink); }); diff --git a/src/assets/i18n/cs.json5 b/src/assets/i18n/cs.json5 index 3891178f1f6..dbb87969611 100644 --- a/src/assets/i18n/cs.json5 +++ b/src/assets/i18n/cs.json5 @@ -1743,8 +1743,31 @@ "form.no-results": "Nebyli nalezeny žádné výsledky", // "form.no-value": "No value entered", "form.no-value": "Nebyla zadána hodnota", - // "form.other-information": {}, - "form.other-information": {}, + + // "form.other-information.email": "Email", + "form.other-information.email": "Email", + + // "form.other-information.first-name": "First Name", + "form.other-information.first-name": "Křestní jméno", + + // "form.other-information.insolr": "In Solr Index", + "form.other-information.insolr": "V SOLR indexu", + + // "form.other-information.institution": "Institution", + "form.other-information.institution": "Organizace", + + // "form.other-information.last-name": "Last Name", + "form.other-information.last-name": "Příjmení", + + // "form.other-information.orcid": "ORCID", + "form.other-information.orcid": "ORCID", + + // "form.other-information.credit-name": "Credit Name", + "form.other-information.credit-name": "Preferované jméno", + + // "form.other-information.other-names": "Other Names", + "form.other-information.other-names": "Další jména", + // "form.remove": "Remove", "form.remove": "Smazat", // "form.save": "Save", @@ -4833,6 +4856,16 @@ "submission.sections.submit.progressbar.describe.stepone": "Popis", // "submission.sections.submit.progressbar.describe.steptwo": "Describe", "submission.sections.submit.progressbar.describe.steptwo": "Popis", + + // "submission.sections.submit.progressbar.describe.dataciterequired": "Required Properties", + "submission.sections.submit.progressbar.describe.dataciterequired": "Minimální popis (povinné)", + + // "submission.sections.submit.progressbar.describe.dataciterecommended": "Recommended Properties", + "submission.sections.submit.progressbar.describe.dataciterecommended": "Rozšířený popis (doporučené)", + + // "submission.sections.submit.progressbar.describe.dataciteoptional": "Optional Properties", + "submission.sections.submit.progressbar.describe.dataciteoptional": "Rozšířený popis (volitelné)", + // "submission.sections.submit.progressbar.detect-duplicate": "Potential duplicates", "submission.sections.submit.progressbar.detect-duplicate": "Potenciální duplicity", // "submission.sections.submit.progressbar.identifiers": "Identifiers", diff --git a/src/assets/i18n/en.json5 b/src/assets/i18n/en.json5 index 3580657175e..e6613160bd0 100644 --- a/src/assets/i18n/en.json5 +++ b/src/assets/i18n/en.json5 @@ -1820,6 +1820,10 @@ "form.other-information.orcid": "ORCID", + "form.other-information.credit-name": "Credit Name", + + "form.other-information.other-names": "Other Names", + "form.remove": "Remove", "form.save": "Save", @@ -4981,6 +4985,12 @@ "submission.sections.submit.progressbar.describe.steptwo": "Describe", + "submission.sections.submit.progressbar.describe.dataciterequired": "Required Properties", + + "submission.sections.submit.progressbar.describe.dataciterecommended": "Recommended Properties", + + "submission.sections.submit.progressbar.describe.dataciteoptional": "Optional Properties", + "submission.sections.submit.progressbar.detect-duplicate": "Potential duplicates", "submission.sections.submit.progressbar.identifiers": "Identifiers",