Commit 3583ca2d authored by Matija Obreza's avatar Matija Obreza
Browse files

l10n: Added missing translations

parent 58e53830
......@@ -150,7 +150,7 @@ class AccessionDetailsPage extends React.Component<AccessionDetailsPageProps & W
<Property title={ t('accession.instituteCode') } value={ details.institute.code } index={ propertyIndex++ }/>
}
{ details.institute && details.institute.owner &&
<Property title="Data provider" value={ details.institute.owner.name } index={ propertyIndex++ }/>
<Property title={ t('partner.name') } value={ details.institute.owner.name } index={ propertyIndex++ }/>
}
{ details.sampStat &&
<Property title={ t('accession.sampStat') } value={ t(`accession.sampleStatus.${details.sampStat}`) } index={ propertyIndex++ }/>
......@@ -161,7 +161,7 @@ class AccessionDetailsPage extends React.Component<AccessionDetailsPageProps & W
} index={ propertyIndex++ } />
}
{ details.ancest &&
<Property title="Ancestral information (pedigree)" value={ details.ancest } index={ propertyIndex++ }/>
<Property title={ t('accession.ancest') } value={ details.ancest } index={ propertyIndex++ }/>
}
{ details.storage && details.storage.length > 0 &&
<Property
......@@ -171,13 +171,13 @@ class AccessionDetailsPage extends React.Component<AccessionDetailsPageProps & W
index={ propertyIndex++ } />
}
{ details.aegis &&
<Property title="AEGIS" value="Accession is part of the European Collection" index={ propertyIndex++ }/>
<Property title={ t('accession.aegis') } value={ t('accession.aegis_yes') } index={ propertyIndex++ }/>
}
{ (details.donorCode || details.donorName) &&
<Property title="Donor institute" value={ <span>{ details.donorCode } { details.donorName }</span> } index={ propertyIndex++ }/>
<Property title={ t('accession.donor') } value={ <span>{ details.donorCode } { details.donorName }</span> } index={ propertyIndex++ }/>
}
{ details.donorNumb &&
<Property title="Donor accession number" value={ details.donorNumb } index={ propertyIndex++ }/>
<Property title={ t('accession.donorNumb') } value={ details.donorNumb } index={ propertyIndex++ }/>
}
{ details.duplSite && details.duplSite.length > 0 &&
<Property
......
......@@ -48,12 +48,17 @@
"doi": "Accession DOI",
"acceNumb": "Accession number",
"accessionName": "Accession name",
"aegis": "AEGIS status",
"aegis_yes": "Accession is part of the European Collection",
"alias": {
"OTHERNUMB": "Other identifier",
"ACCENAME": "Accession name",
"DONORNUMB": "Donor accession number",
"COLLNUMB": "Collecting number"
},
"ancest": "Ancestral information (pedigree)",
"donor": "Donor institute",
"donorNumb": "Donor accession number",
"taxonomy": {
"genus": "Genus",
"species": "Specific epithet",
......@@ -247,13 +252,12 @@
"source": "More information",
"createDate": "Metadata create date",
"lastModified": "Metadata updated date",
"accessions": "Accessions",
"details": {
"creators": "Dataset creators",
"dataProvider": "Data provider contact information",
"metadata": "Other metadata",
"accessions": "Accessions",
"traits": "Traits Observed",
"accessions": "Accessions evaluated in this dataset",
"traits": "Traits observed",
"locations": "Location information",
"repositoryFiles": "Dataset files"
}
......@@ -275,13 +279,15 @@
"creators": "Subset creators",
"lastModified": "Metadata updated date",
"institute": "Institute",
"accessions": "Accessions",
"details": {
"dataProvider": "Data provider contact information",
"metadata": "Other metadata",
"accessions": "Accessions"
"accessions": "Accessions in this subset"
}
},
"partner": {
"name": "Data provider name"
},
"request": {
"title": "Personal information",
"submit": "Submit request",
......
Supports Markdown
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