Commit 0ee03814 authored by Moritz Schepp's avatar Moritz Schepp
Browse files

pulled registers and translations from staging

parent d6be45e4
<?xml version="1.0" encoding="UTF-8"?>
<translation xmlns="https://sade.textgrid.de/ns/langfile">
<word key="Search">
<lang key="de">Suche</lang>
......@@ -10,11 +9,6 @@
<lang key="en">Results of Search</lang>
<lang key="fr">Résultats</lang>
</word>
<word key="search">
<lang key="de">suchen</lang>
<lang key="en">search</lang>
<lang key="fr">rechercher</lang>
</word>
<word key="Language">
<lang key="de">Deutsch</lang>
<lang key="en">English</lang>
......@@ -55,6 +49,16 @@
<lang key="en">Contact</lang>
<lang key="fr">Contact</lang>
</word>
<word key="Itineraries">
<lang key="de">Reiseverläufe</lang>
<lang key="en">Itineraries</lang>
<lang key="fr">Itinéraires des voyageurs</lang>
</word>
<word key="Timeline">
<lang key="de">Timeline</lang>
<lang key="en">Timeline</lang>
<lang key="fr">Frise chronologique</lang>
</word>
<word key="Imprint">
<lang key="de">Impressum</lang>
<lang key="en">Imprint</lang>
......@@ -337,6 +341,11 @@
<lang key="en">pages</lang>
<lang key="fr">Pages</lang>
</word>
<word key="page">
<lang key="de">Seite</lang>
<lang key="en">pages</lang>
<lang key="fr">Page</lang>
</word>
<word key="legendDates">
<lang key="de">Datum</lang>
<lang key="en">dates</lang>
......@@ -367,230 +376,229 @@
<lang key="en">showAdditionalContent</lang>
<lang key="fr">Afficher les ajouts de l'auteur</lang>
</word>
<word key="joinWord">
<lang key="de">joint correction</lang>
<lang key="en">joint correction</lang>
<lang key="fr">joint correction</lang>
</word>
<word key="showJoinWords">
<lang key="de">show joint correction</lang>
<lang key="en">show joint correction</lang>
<lang key="fr">show joint correction</lang>
</word>
<word key="showInfo">
<lang key="de">show Info</lang>
<lang key="de">Zeige Info</lang>
<lang key="en">show Info</lang>
<lang key="fr">show Info</lang>
<lang key="fr">Afficher l'info</lang>
</word>
<word key="showFacs">
<lang key="de">show Facs</lang>
<lang key="de">Zeige Faksimiles</lang>
<lang key="en">show Facs</lang>
<lang key="fr">show Facs</lang>
<lang key="fr">Afficher les fac-similés</lang>
</word>
<word key="showEdition">
<lang key="de">show Edition</lang>
<lang key="de">Zeige Edition</lang>
<lang key="en">show Edition</lang>
<lang key="fr">show Edition</lang>
<lang key="fr">Afficher l'édition</lang>
</word>
<word key="showTranslation">
<lang key="de">show Translation</lang>
<lang key="de">Zeige Übersetzung</lang>
<lang key="en">show Translation</lang>
<lang key="fr">show Translation</lang>
<lang key="fr">Afficher la traduction</lang>
</word>
<word key="showXML">
<lang key="de">show XML</lang>
<lang key="de">Zeige XML</lang>
<lang key="en">show XML</lang>
<lang key="fr">show XML</lang>
<lang key="fr">Afficher l'XML</lang>
</word>
<word key="unidentifiedPerson">
<lang key="de">This person could not be identified</lang>
<lang key="de">Diese Person konnte nicht identifiziert werden.</lang>
<lang key="en">This person could not be identified</lang>
<lang key="fr">This person could not be identified</lang>
<lang key="fr">Cette personne n'a pas pu être identifiée.</lang>
</word>
<word key="unidentifiedPlace">
<lang key="de">This place could not be identified</lang>
<lang key="de">Dieser Ort konnte nicht identifiziert werden.</lang>
<lang key="en">This place could not be identified</lang>
<lang key="fr">This place could not be identified</lang>
<lang key="fr">Ce lieu n'a pas pu être identifié.</lang>
</word>
<word key="unidentifiedWork">
<lang key="de">This work could not be identified</lang>
<lang key="de">Dieses Werk konnte nicht identifiziert werden.</lang>
<lang key="en">This work could not be identified</lang>
<lang key="fr">This work could not be identified</lang>
<lang key="fr">Cette œuvre n'a pas pu être identifiée</lang>
</word>
<word key="generalInformation">
<lang key="de">General Information</lang>
<lang key="de">Allgemeine Informationen</lang>
<lang key="en">General Information</lang>
<lang key="fr">General Information</lang>
<lang key="fr">Informations générales</lang>
</word>
<word key="description">
<lang key="de">Description</lang>
<lang key="de">Zusatzinformationen</lang>
<lang key="en">Description</lang>
<lang key="fr">Description</lang>
<lang key="fr">Informations complémentaires</lang>
</word>
<word key="occurences">
<lang key="de">Occurences</lang>
<lang key="de">Erwähnungen</lang>
<lang key="en">Occurences</lang>
<lang key="fr">Occurences</lang>
</word>
<word key="inEncodedText">
<lang key="de">in encoded text</lang>
<lang key="de">im Text von</lang>
<lang key="en">in encoded text</lang>
<lang key="fr">in encoded text</lang>
<lang key="fr">dans le texte de</lang>
</word>
<word key="inEncodedPlaces">
<lang key="de">in register places</lang>
<lang key="de">im Ortsregister</lang>
<lang key="en">in register places</lang>
<lang key="fr">in register places</lang>
<lang key="fr">dans l'index des lieux</lang>
</word>
<word key="inEncodedWorks">
<lang key="de">in register works</lang>
<lang key="de">im Werkregister</lang>
<lang key="en">in register works</lang>
<lang key="fr">in register works</lang>
<lang key="fr">dans l'index des œuvres</lang>
</word>
<word key="publicRegisterLink">
<lang key="de">Public Register Link: </lang>
<lang key="de">Öffentliches Verzeichnis: </lang>
<lang key="en">Public Register Link: </lang>
<lang key="fr">Public Register Link: </lang>
<lang key="fr">Référentiel: </lang>
</word>
<word key="registerNationality">
<lang key="de">Nationality: </lang>
<lang key="de">Nationalität: </lang>
<lang key="en">Nationality: </lang>
<lang key="fr">Nationality: </lang>
<lang key="fr">Nationalité: </lang>
</word>
<word key="registerFunction">
<lang key="de">Function: </lang>
<lang key="de">Funktionen: </lang>
<lang key="en">Function: </lang>
<lang key="fr">Function: </lang>
<lang key="fr">Fonction(s): </lang>
</word>
<word key="registerBirthdate">
<lang key="de">Birthdate: </lang>
<lang key="de">Geburtsdatum: </lang>
<lang key="en">Birthdate: </lang>
<lang key="fr">Birthdate: </lang>
<lang key="fr">Date de naissance: </lang>
</word>
<word key="registerBirthplace">
<lang key="de">Birthplace: </lang>
<lang key="de">Geburtsort: </lang>
<lang key="en">Birthplace: </lang>
<lang key="fr">Birthplace: </lang>
<lang key="fr">Lieu de naissance: </lang>
</word>
<word key="registerDeathdate">
<lang key="de">Deathdate: </lang>
<lang key="de">Sterbedatum: </lang>
<lang key="en">Deathdate: </lang>
<lang key="fr">Deathdate: </lang>
<lang key="fr">Date de décès: </lang>
</word>
<word key="registerDeathplace">
<lang key="de">Deathplace: </lang>
<lang key="de">Sterbeort: </lang>
<lang key="en">Deathplace: </lang>
<lang key="fr">Deathplace: </lang>
<lang key="fr">Lieu de décès: </lang>
</word>
<word key="registerType">
<lang key="de">Type: </lang>
<lang key="de">Kategorie: </lang>
<lang key="en">Type: </lang>
<lang key="fr">Type: </lang>
<lang key="fr">Catégorie: </lang>
</word>
<word key="registerPlaceNameCurrent">
<lang key="de">PlaceName (current): </lang>
<lang key="de">Aktueller Ortsname: </lang>
<lang key="en">PlaceName (current): </lang>
<lang key="fr">PlaceName (current): </lang>
<lang key="fr">Nom actuel: </lang>
</word>
<word key="registerPlaceNameHistorical">
<lang key="de">PlaceName (historical): </lang>
<lang key="de">Historischer Ortsname: </lang>
<lang key="en">PlaceName (historical): </lang>
<lang key="fr">PlaceName (historical): </lang>
<lang key="fr">Nom historique: </lang>
</word>
<word key="registerState">
<lang key="de">State: </lang>
<lang key="de">Zustand: </lang>
<lang key="en">State: </lang>
<lang key="fr">State: </lang>
<lang key="fr">État actuel: </lang>
</word>
<word key="registerArtist">
<lang key="de">Artist: </lang>
<lang key="de">Künstler/Autor(en): </lang>
<lang key="en">Artist: </lang>
<lang key="fr">Artist: </lang>
<lang key="fr">Artiste(s)/Auteur(s): </lang>
</word>
<word key="registerConstruction">
<lang key="de">Construction: </lang>
<lang key="de">Chronologie: </lang>
<lang key="en">Construction: </lang>
<lang key="fr">Construction: </lang>
<lang key="fr">Chronologie: </lang>
</word>
<word key="registerLocation">
<lang key="de">Location: </lang>
<lang key="de">Geolokalisation: </lang>
<lang key="en">Location: </lang>
<lang key="fr">Location: </lang>
<lang key="fr">Géolocalisation: </lang>
</word>
<word key="registerDate">
<lang key="de">Date: </lang>
<lang key="de">Datum: </lang>
<lang key="en">Date: </lang>
<lang key="fr">Date: </lang>
<lang key="fr">Date(s): </lang>
</word>
<word key="registerMaterial">
<lang key="de">Material: </lang>
<lang key="de">Material und Technik: </lang>
<lang key="en">Material: </lang>
<lang key="fr">Material: </lang>
<lang key="fr">Matières et techniques: </lang>
</word>
<word key="registerDimensions">
<lang key="de">Dimensions: </lang>
<lang key="de">Maße: </lang>
<lang key="en">Dimensions: </lang>
<lang key="fr">Dimensions: </lang>
</word>
<word key="registerLocationCurrent">
<lang key="de">Aktueller Aufbewahrungsort: </lang>
<lang key="en">Dimensions: </lang>
<lang key="fr">Localisation actuelle: </lang>
</word>
<word key="registerLocationFormer">
<lang key="de">Ehemaliger Aufbewahrungsort: </lang>
<lang key="en">Dimensions: </lang>
<lang key="fr">Localisation ancienne: </lang>
</word>
<word key="citationRecommendation">
<lang key="de">Zitationsempfehlung für diese Edition</lang>
<lang key="en">citation recommendation</lang>
<lang key="fr">citation recommendation</lang>
</word>
<word key="translationNote">
<lang key="de">TranslationNote</lang>
<lang key="de">Anmerkung zur Übersetzung</lang>
<lang key="en">TranslationNote</lang>
<lang key="fr">TranslationNote</lang>
<lang key="fr">Note de traduction</lang>
</word>
<word key="scientificNote">
<lang key="de">Wissenschaftliche Anmerkung</lang>
<lang key="en">ScientificNote</lang>
<lang key="fr">ScientificNote</lang>
<lang key="fr">Note scientifique</lang>
</word>
<word key="editorialNote">
<lang key="de">Editorische Anmerkung</lang>
<lang key="en">EditorialNote</lang>
<lang key="fr">EditorialNote</lang>
<lang key="fr">Note éditoriale</lang>
</word>
<!-- by Moritz -->
<word key="editions">
<lang key="de">Editionen</lang>
<lang key="en">editions</lang>
<lang key="fr">éditions</lang>
<word key="noEntriesRegister">
<lang key="de">keine Treffer</lang>
<lang key="en">no entries found</lang>
<lang key="fr">aucun résultat</lang>
</word>
<word key="people">
<word key="register_persons">
<lang key="de">Personen</lang>
<lang key="en">people</lang>
<lang key="fr">personnes</lang>
<lang key="en">Persons</lang>
<lang key="fr">Personnes</lang>
</word>
<word key="places">
<word key="register_places">
<lang key="de">Orte</lang>
<lang key="en">places</lang>
<lang key="fr">endroits</lang>
<lang key="en">Places</lang>
<lang key="fr">Lieux</lang>
</word>
<word key="workTypes">
<word key="register_works">
<lang key="de">Werke</lang>
<lang key="en">artworks</lang>
<lang key="fr">œuvres</lang>
</word>
<word key="page">
<lang key="de">Seite</lang>
<lang key="en">page</lang>
<lang key="fr">page</lang>
</word>
<word key="no_results">
<lang key="de">keine Ergebnisse</lang>
<lang key="en">no results</lang>
<lang key="fr">aucun résultat</lang>
</word>
<word key="show_results_in_other_languages">
<lang key="de">auch Ergebnisse in anderen Sprachen anzeigen</lang>
<lang key="en">also show results in other languages</lang>
<lang key="fr">afficher les résultats dans d'autres langues</lang>
</word>
<word key="german">
<lang key="de">deutsch</lang>
<lang key="en">German</lang>
<lang key="fr">allemand</lang>
</word>
<word key="english">
<lang key="de">Englisch</lang>
<lang key="en">English</lang>
<lang key="fr">anglais</lang>
</word>
<word key="french">
<lang key="de">französisch</lang>
<lang key="en">French</lang>
<lang key="fr">français</lang>
<lang key="en">Works</lang>
<lang key="fr">Œuvres</lang>
</word>
<word key="button_other">
<lang key="de">andere</lang>
<lang key="en">other</lang>
<lang key="fr">autre</lang>
</word>
<word key="button_unnamed">
<lang key="de">nicht identifiziert</lang>
<lang key="en">not identified</lang>
<lang key="fr">non identifié</lang>
</word>
</translation>
\ No newline at end of file
......@@ -29,7 +29,6 @@ declare function elastic:drop-index($index) {
let $response := http:send-request(
<http:request method="DELETE" href="{$elastic:uri}/{$elastic:prefix}{$index}" />
)
let $ok := elastic:require_ok($response)
return $response
};
......
......@@ -74,19 +74,28 @@ export class ArchSearchResult extends React.Component {
d.highlight[`name.${otherLocale()}`] ||
[]
return hl[0] ||
let result = hl[0] ||
d._source.name[locale()] ||
d._source.name[otherLocale()]
// its an array if there are e.g. historical names (or empty tags for
// historical names)
if (Array.isArray(result)) {
result = result.filter(x => !!x).join(', ')
}
return result
}
if (this.isType('edition')) {
let page = ` (${t('page')} ${this.props.data._source.page_number})`
return(
let page = this.props.data._source.page_number
let base = (
(this.props.data.highlight.name || [])[0] ||
this.props.data._source.name ||
`${this.props.data._source.id}${page}`
`${this.props.data._source.id}`
)
return `${base} (${t('page')} ${page})`
}
if (this.isType('page')) {
......@@ -99,6 +108,8 @@ export class ArchSearchResult extends React.Component {
}
render() {
let name = this.name() || t('button_unnamed')
return(
<a
className="arch-search-result d-block mb-3 p-3"
......@@ -110,7 +121,7 @@ export class ArchSearchResult extends React.Component {
>
<em
className="arch-title"
dangerouslySetInnerHTML={{__html: this.name()}}
dangerouslySetInnerHTML={{__html: name}}
/>
{this.highlights()}
</a>
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment