diff --git a/local/languages/de.ini b/local/languages/de.ini index 858806bb0a3..3f07a33a6a7 100644 --- a/local/languages/de.ini +++ b/local/languages/de.ini @@ -196,14 +196,14 @@ Related Subjects = "Thema" Related Entries = "Weitere Beteiligte" relator_ann = "Annotator" relator_bkd = "Druckerei" -relator_bnd = "???" -relator_dis = "???" -relator_dte = "???" -relator_dto = "???" +relator_bnd = "Buchbinder" +relator_dis = "Praeses" +relator_dte = "Widmungsempfänger" +relator_dto = "Widmungsverfasser" relator_fmo = "Vorbesitzer" -relator_opn = "???" -relator_ppm = "???" -relator_scr = "???" +relator_opn = "Respondens" +relator_ppm = "Papierhersteller" +relator_scr = "Schreiber" request_place_text = "Bestellen" request_title = "Sie bestellen" request_submit_text = "Bestellen" diff --git a/local/languages/en.ini b/local/languages/en.ini index 1fa5c18e90b..75b1217ea0f 100644 --- a/local/languages/en.ini +++ b/local/languages/en.ini @@ -196,14 +196,14 @@ Related Subjects = "Subject" Related Entries = "Additionaly involved" relator_ann = "Annotator" relator_bkd = "Printer" -relator_bnd = "???" -relator_dis = "???" -relator_dte = "???" -relator_dto = "???" +relator_bnd = "Binder" +relator_dis = "Praeses" +relator_dte = "Dedicatee" +relator_dto = "Dedicator" relator_fmo = "Previous owner" -relator_opn = "???" -relator_ppm = "???" -relator_scr = "???" +relator_opn = "Opponent" +relator_ppm = "Papermaker" +relator_scr = "Scribe" request_place_text = "Order" request_title = "You are ordering" request_submit_text = "Order" diff --git a/local/languages/fr.ini b/local/languages/fr.ini index e2eab9ad8ee..16abcaf82da 100644 --- a/local/languages/fr.ini +++ b/local/languages/fr.ini @@ -196,14 +196,14 @@ Related Subjects = "Sujet" Related Entries = "Participants additionnels" relator_ann = "Annotateur" relator_bkd = "Imprimeur" -relator_bnd = "???" -relator_dis = "???" -relator_dte = "???" -relator_dto = "???" +relator_bnd = "Relieur" +relator_dis = "Praeses" +relator_dte = "Dédicataire" +relator_dto = "Auteur de dedicace" relator_fmo = "Possesseur précédent" -relator_opn = "???" -relator_ppm = "???" -relator_scr = "???" +relator_opn = "Respondens" +relator_ppm = "Papetier" +relator_scr = "Scribe" request_place_text = "Commander" request_title = "Vous commandez" request_submit_text = "Commander" diff --git a/local/languages/it.ini b/local/languages/it.ini index f113c3504db..4ab09544a99 100644 --- a/local/languages/it.ini +++ b/local/languages/it.ini @@ -196,14 +196,14 @@ Related Subjects = "Soggetto" Related Entries = "Partecipi" relator_ann = "Annotatore" relator_bkd = "Stampatore" -relator_bnd = "???" -relator_dis = "???" -relator_dte = "???" -relator_dto = "???" +relator_bnd = "Rilegatore" +relator_dis = "Praeses" +relator_dte = "Dedicatee" +relator_dto = "Dedicator" relator_fmo = "Possessore precedente" -relator_opn = "???" -relator_ppm = "???" -relator_scr = "???" +relator_opn = "Respondens" +relator_ppm = "Papermaker" +relator_scr = "Scriba" request_place_text = "Ordinare" request_title = "Ordini" request_submit_text = "Ordinare" diff --git a/module/Swissbib/src/Swissbib/View/Helper/FormatRelatedEntries.php b/module/Swissbib/src/Swissbib/View/Helper/FormatRelatedEntries.php index 759a2f3169f..3a01d5d16c8 100644 --- a/module/Swissbib/src/Swissbib/View/Helper/FormatRelatedEntries.php +++ b/module/Swissbib/src/Swissbib/View/Helper/FormatRelatedEntries.php @@ -107,8 +107,16 @@ protected function formatRelatedPerson(array $relatedPerson) $formattedEntry = $relatedPerson['name']; } - if (isset($relatedPerson['secondName'])) { - $formattedEntry .= ', ' . $relatedPerson['secondName']; + if (isset($relatedPerson['forename'])) { + $formattedEntry .= ', ' . $relatedPerson['forename']; + } + + if (isset($relatedPerson['1titles'])) { + $formattedEntry .= ' ' . $relatedPerson['1titles']; + } + + if (isset($relatedPerson['dates'])) { + $formattedEntry .= ' (' . $relatedPerson['dates'] . ')'; } $formattedEntry .= ' (' . $translatedRelatorCode . ')'; @@ -134,6 +142,12 @@ protected function formatRelatedCorporation(array $relatedCorporation) $formattedEntry = $relatedCorporation['name']; } + if (isset($relatedCorporation['unit'])) { + foreach($relatedCorporation['unit'] as $unit) { + $formattedEntry .= '. ' . $unit; + } + } + $formattedEntry .= ' (' . $translatedRelatorCode . ')'; return $formattedEntry;