Skip to content

Commit

Permalink
Labels for external repositories
Browse files Browse the repository at this point in the history
  • Loading branch information
juancorr committed Sep 23, 2024
1 parent b7ea89a commit 6a92c7d
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import edu.harvard.iq.dataverse.api.dto.DatasetDTO;
import edu.harvard.iq.dataverse.api.dto.DatasetVersionDTO;
import edu.harvard.iq.dataverse.api.dto.FieldDTO;
import edu.harvard.iq.dataverse.api.dto.FileDTO;
import edu.harvard.iq.dataverse.api.dto.LicenseDTO;
import edu.harvard.iq.dataverse.api.dto.MetadataBlockDTO;
import edu.harvard.iq.dataverse.harvest.server.OAIRecordServiceBean;
Expand Down Expand Up @@ -185,6 +186,12 @@ private static void createOAIDC(XMLStreamWriter xmlw, DatasetDTO datasetDto, Str
writeFullElementList(xmlw, dcFlavor+":"+"language", isoLanguages);

writeFullElement(xmlw, dcFlavor+":"+"date", dto2Primitive(version, DatasetFieldConstant.dateOfDeposit)); // MADROÑO. For us, the deposit date is more important one
List <FileDTO> files= version.getFiles();
for (FileDTO file: files) {
String format= file.getDataFile().getContentType();
writeFullElement(xmlw, dcFlavor+":"+"format", format);
}

// MADROÑO END

writeFullElement(xmlw, dcFlavor+":"+"contributor", dto2Primitive(version, DatasetFieldConstant.depositor));
Expand Down
1 change: 1 addition & 0 deletions src/main/java/propertyFiles/Bundle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2763,6 +2763,7 @@ api.errors.invalidApiToken=Invalid API token.


# New labels for Consorcio Madroño translation
Harvested=Other Repositories
madrono.survey.header=Survey
madrono.survey.title=e-cienciaDatos web Survey
madrono.survey.introduction=<p>e-cienciaDatos is the research data repository of the Consorcio Madro\u00f1o Universities. It is a member of the <a href="http://dataverse.harvard.edu">Harvard Dataverse Network</a>, suitable for major publishers (Elsevier, Springer, etc.). It is H2020 compliant.</p><p>We are committed to improving our service. Better understanding your expectations will help us tailor our services to your needs.</p><p>Please, <strong>select your institution</strong> to participate in this survey.</p><p>Thank you for your kind cooperation.</p>
Expand Down
1 change: 1 addition & 0 deletions src/main/java/propertyFiles/Bundle_en.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2763,6 +2763,7 @@ api.errors.invalidApiToken=Invalid API token.


# New labels for Consorcio Madroño translation
Harvested=Other Repositories
madrono.survey.header=Survey
madrono.survey.title=e-cienciaDatos web Survey
madrono.survey.introduction=<p>e-cienciaDatos is the research data repository of the Consorcio Madro\u00f1o Universities. It is a member of the <a href="http://dataverse.harvard.edu">Harvard Dataverse Network</a>, suitable for major publishers (Elsevier, Springer, etc.). It is H2020 compliant.</p><p>We are committed to improving our service. Better understanding your expectations will help us tailor our services to your needs.</p><p>Please, <strong>select your institution</strong> to participate in this survey.</p><p>Thank you for your kind cooperation.</p>
Expand Down
7 changes: 4 additions & 3 deletions src/main/java/propertyFiles/Bundle_es.Original.properties
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ header.noscript=Por favor, habilite el JavaScript en su navegador. Es necesario
header.status.header=Estado
header.search.title=Buscar en todos los dataverses...
header.about=Acerca de
header.support=Soporte
header.support=Ayuda
header.guides=Gu\u00edas
header.guides.user=Manual
header.guides.developer=Gu\u00eda del desarrollador
Expand Down Expand Up @@ -2469,6 +2469,7 @@ idp.defaultLogoAlt=


#New labels for Consorcio Madro\u00f1o translation
Harvested=Otros repositorios
Related\u0020Publication=Publicaci\u00f3n relacionaada
madrono.survey.header=Encuesta
madrono.survey.title=Encuesta satisfacci\u00f3n e-cienciaDatos
Expand All @@ -2478,7 +2479,7 @@ madrono.survey.later=Record\u00e1rmelo m\u00e1s tarde
madrono.survey.never=No volver a mostrar este mensaje

readmeTxt.title=Plantilla readme.txt
readmeTxt.text1=Readme.txt (<a target="_blank" href="https://edatos.consorciomadrono.es/resources/txt/readme-es.txt">acceso</a> <a target="_blank" download="readme-es.txt" href="https://edatos.consorciomadrono.es/resources/txt/readme-es.txt">descarga</a>) es una plantilla para que rellenen los investigadores que quieran depositar un dataset en e-cienciaDatos.
readmeTxt.text1=Readme.txt (<a target="_blank" download="readme-es.txt" href="https://edatos.consorciomadrono.es/resources/txt/readme-es.txt">versi\u00f3n en espa\u00f1ol</a>, <a target="_blank" download="readme-en.txt" href="https://edatos.consorciomadrono.es/resources/txt/readme-en.txt">versi\u00f3n en ingl\u00e9s</a>) es una plantilla para que rellenen los investigadores que quieran depositar un dataset en e-cienciaDatos.
readmeTxt.text2=Todos los conjuntos de datos han de estar documentados para ser comprensibles y reutilizables: autor\u00eda, t\u00edtulo, descripci\u00f3n, metodolog\u00eda, proyectos financiadores, cobertura temporal y geogr\u00e1fica, derechos de uso y privacidad, etc.
readmeTxt.text3=Los gestores del repositorio e-cienciaDatos utilizar\u00e1n la informaci\u00f3n proporcionada en la plantilla readme.txt para:
readmeTxt.text4=cumplimentar los metadatos estandarizados que describen el dataset y que son recolectados por diversos servidores cient\u00edficos.
Expand All @@ -2492,9 +2493,9 @@ madrono.metrics.index=index_es.html

madrono.technicalDescritionURL=http://www.consorciomadrono.es/docs/descripcionTecnicaECienciaDatos.pdf
madrono.technicalDescription=Descripci\u00f3n t\u00e9cnica
madrono.dataDeposit=Gu\u00eda de dep\u00f3sito de datos
madrono.preservationPlanURL=http://www.consorciomadrono.es/docs/PlanDePreservacion.pdf
madrono.preservationPlan=Plan de preservaci\u00f3n
madrono.mission=Misi\u00f3n
madrono.grantedLicense=Licencia de dep\u00f3sito y licencia concedidas

# End of new labels for Consorcio Madro\u00f1o translation
1 change: 1 addition & 0 deletions src/main/java/propertyFiles/Bundle_es.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2764,6 +2764,7 @@ api.errors.invalidApiToken=Token de API inv\u00e1lido.


#New labels for Consorcio Madro\u00f1o translation
Harvested=Otros Repositorios
Related\u0020Publication=Publicaci\u00f3n relacionaada
madrono.survey.header=Encuesta
madrono.survey.title=Encuesta satisfacci\u00f3n e-cienciaDatos
Expand Down
1 change: 1 addition & 0 deletions src/main/java/propertyFiles/Bundle_fr.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2759,6 +2759,7 @@ publishDatasetCommand.pidNotReserved=Impossible de publier l'ensemble de donn
api.errors.invalidApiToken=Jeton d'API non valide.

#New labels for Consorcio Madroño translation
Harvested=Other repositories
madrono.survey.header=Enquête
madrono.survey.title=e-cienciaDatos web Survey
madrono.survey.introduction=<p>e-cienciaDatos is the research data repository of the Consorcio Madro\u00f1o Universities. It is a member of the <a href="http://dataverse.harvard.edu">Harvard Dataverse Network</a>, suitable for major publishers (Elsevier, Springer, etc.). It is H2020 compliant.</p><p>We are committed to improving our service. Better understanding your expectations will help us tailor our services to your needs.</p><p>Please, <strong>select your institution</strong> to participate in this survey.</p><p>Thank you for your kind cooperation.</p>
Expand Down

0 comments on commit 6a92c7d

Please sign in to comment.