Skip to content
Snippets Groups Projects

feat(bibliographies): [AOU-1785] import german translations of labels

1 unresolved thread
1 file
+ 21
0
Compare changes
  • Side-by-side
  • Inline
@@ -236,119 +236,140 @@ public class PublicationSubtypeService extends AouResourceService<PublicationSub
valueWithTranslations = this
.newValueWithEngFreTranslations(AouConstants.DEPOSIT_SUBTYPE_ARTICLE_SCIENTIFIQUE_NAME, SUBTYPE_ARTICLE_SCIENTIFIQUE_EN,
AouConstants.DEPOSIT_SUBTYPE_ARTICLE_SCIENTIFIQUE_NAME);
// valueWithTranslations.addTranslation(AouConstants.LANG_CODE_GERMAN, "");
valueWithTranslations.addTranslation(AouConstants.LANG_CODE_SPANISH, "Artículo científico");
break;
case AouConstants.DEPOSIT_SUBTYPE_ARTICLE_PROFESSIONNEL_NAME:
valueWithTranslations = this
.newValueWithEngFreTranslations(AouConstants.DEPOSIT_SUBTYPE_ARTICLE_PROFESSIONNEL_NAME, SUBTYPE_ARTICLE_PROFESSIONNEL_NAME_EN,
AouConstants.DEPOSIT_SUBTYPE_ARTICLE_PROFESSIONNEL_NAME);
// valueWithTranslations.addTranslation(AouConstants.LANG_CODE_GERMAN, "");
valueWithTranslations.addTranslation(AouConstants.LANG_CODE_SPANISH, "Artículo profesional");
break;
case AouConstants.DEPOSIT_SUBTYPE_AUTRE_ARTICLE_NAME:
valueWithTranslations = this
.newValueWithEngFreTranslations(AouConstants.DEPOSIT_SUBTYPE_AUTRE_ARTICLE_NAME, SUBTYPE_AUTRE_ARTICLE_NAME_EN,
AouConstants.DEPOSIT_SUBTYPE_AUTRE_ARTICLE_NAME);
// valueWithTranslations.addTranslation(AouConstants.LANG_CODE_GERMAN, "");
valueWithTranslations.addTranslation(AouConstants.LANG_CODE_SPANISH, "Otro artículo");
break;
case AouConstants.DEPOSIT_SUBTYPE_ACTES_DE_CONFERENCE_NAME:
valueWithTranslations = this
.newValueWithEngFreTranslations(AouConstants.DEPOSIT_SUBTYPE_ACTES_DE_CONFERENCE_NAME, SUBTYPE_ACTES_DE_CONFERENCE_NAME_EN,
AouConstants.DEPOSIT_SUBTYPE_ACTES_DE_CONFERENCE_NAME);
// valueWithTranslations.addTranslation(AouConstants.LANG_CODE_GERMAN, "");
valueWithTranslations.addTranslation(AouConstants.LANG_CODE_SPANISH, "Acta de congreso");
break;
case AouConstants.DEPOSIT_SUBTYPE_PRESENTATION_INTERVENTION_NAME:
valueWithTranslations = this.newValueWithEngFreTranslations(AouConstants.DEPOSIT_SUBTYPE_PRESENTATION_INTERVENTION_NAME,
SUBTYPE_PRESENTATION_INTERVENTION_NAME_EN, AouConstants.DEPOSIT_SUBTYPE_PRESENTATION_INTERVENTION_NAME);
// valueWithTranslations.addTranslation(AouConstants.LANG_CODE_GERMAN, "");
valueWithTranslations.addTranslation(AouConstants.LANG_CODE_SPANISH, "Presentación / Comunicación");
break;
case AouConstants.DEPOSIT_SUBTYPE_POSTER_NAME:
valueWithTranslations = this.newValueWithEngFreTranslations(AouConstants.DEPOSIT_SUBTYPE_POSTER_NAME, SUBTYPE_POSTER_NAME_EN,
AouConstants.DEPOSIT_SUBTYPE_POSTER_NAME);
// valueWithTranslations.addTranslation(AouConstants.LANG_CODE_GERMAN, "");
valueWithTranslations.addTranslation(AouConstants.LANG_CODE_SPANISH, "Póster");
break;
case AouConstants.DEPOSIT_SUBTYPE_CHAPITRE_D_ACTES_NAME:
valueWithTranslations = this
.newValueWithEngFreTranslations(AouConstants.DEPOSIT_SUBTYPE_CHAPITRE_D_ACTES_NAME, SUBTYPE_CHAPITRE_D_ACTES_NAME_EN,
AouConstants.DEPOSIT_SUBTYPE_CHAPITRE_D_ACTES_NAME);
// valueWithTranslations.addTranslation(AouConstants.LANG_CODE_GERMAN, "");
valueWithTranslations.addTranslation(AouConstants.LANG_CODE_SPANISH, "Artículo de acta");
break;
case AouConstants.DEPOSIT_SUBTYPE_THESE_NAME:
valueWithTranslations = this.newValueWithEngFreTranslations(AouConstants.DEPOSIT_SUBTYPE_THESE_NAME, SUBTYPE_THESE_NAME_EN,
AouConstants.DEPOSIT_SUBTYPE_THESE_NAME);
// valueWithTranslations.addTranslation(AouConstants.LANG_CODE_GERMAN, "");
valueWithTranslations.addTranslation(AouConstants.LANG_CODE_SPANISH, "Tesis doctoral");
break;
case AouConstants.DEPOSIT_SUBTYPE_MASTER_D_ETUDES_AVANCEES_NAME:
valueWithTranslations = this.newValueWithEngFreTranslations(AouConstants.DEPOSIT_SUBTYPE_MASTER_D_ETUDES_AVANCEES_NAME,
SUBTYPE_MASTER_D_ETUDES_AVANCEES_NAME_EN, AouConstants.DEPOSIT_SUBTYPE_MASTER_D_ETUDES_AVANCEES_NAME);
// valueWithTranslations.addTranslation(AouConstants.LANG_CODE_GERMAN, "");
valueWithTranslations.addTranslation(AouConstants.LANG_CODE_SPANISH, "Trabajo de máster de estudios avanzados");
break;
case AouConstants.DEPOSIT_SUBTYPE_MASTER_NAME:
valueWithTranslations = this.newValueWithEngFreTranslations(AouConstants.DEPOSIT_SUBTYPE_MASTER_NAME, SUBTYPE_MASTER_NAME_EN,
AouConstants.DEPOSIT_SUBTYPE_MASTER_NAME);
// valueWithTranslations.addTranslation(AouConstants.LANG_CODE_GERMAN, "");
valueWithTranslations.addTranslation(AouConstants.LANG_CODE_SPANISH, "Tesina de máster");
break;
case AouConstants.DEPOSIT_SUBTYPE_THESE_DE_PRIVAT_DOCENT_NAME:
valueWithTranslations = this
.newValueWithEngFreTranslations(AouConstants.DEPOSIT_SUBTYPE_THESE_DE_PRIVAT_DOCENT_NAME, SUBTYPE_THESE_DE_PRIVAT_DOCENT_NAME_EN,
AouConstants.DEPOSIT_SUBTYPE_THESE_DE_PRIVAT_DOCENT_NAME);
// valueWithTranslations.addTranslation(AouConstants.LANG_CODE_GERMAN, "");
valueWithTranslations.addTranslation(AouConstants.LANG_CODE_SPANISH, "Tesis \"privat-docent\"");
break;
case AouConstants.DEPOSIT_SUBTYPE_THESE_DOCTORAL_PROFESSIONAL_NAME:
valueWithTranslations = this
.newValueWithEngFreTranslations(AouConstants.DEPOSIT_SUBTYPE_THESE_DOCTORAL_PROFESSIONAL_NAME,
SUBTYPE_THESE_DOCTORAL_PROFESSIONAL_NAME_EN, SUBTYPE_THESE_DOCTORAL_PROFESSIONAL_NAME_FR);
// valueWithTranslations.addTranslation(AouConstants.LANG_CODE_GERMAN, "");
valueWithTranslations.addTranslation(AouConstants.LANG_CODE_SPANISH, "Tesis doctoral profesional en FC (DAPS)");
break;
case AouConstants.DEPOSIT_SUBTYPE_NUMERO_DE_REVUE_NAME:
valueWithTranslations = this
.newValueWithEngFreTranslations(AouConstants.DEPOSIT_SUBTYPE_NUMERO_DE_REVUE_NAME, SUBTYPE_NUMERO_DE_REVUE_NAME_EN,
AouConstants.DEPOSIT_SUBTYPE_NUMERO_DE_REVUE_NAME);
// valueWithTranslations.addTranslation(AouConstants.LANG_CODE_GERMAN, "");
valueWithTranslations.addTranslation(AouConstants.LANG_CODE_SPANISH, "Número de revista");
break;
case AouConstants.DEPOSIT_SUBTYPE_LIVRE_NAME:
valueWithTranslations = this.newValueWithEngFreTranslations(AouConstants.DEPOSIT_SUBTYPE_LIVRE_NAME, SUBTYPE_LIVRE_NAME_EN,
AouConstants.DEPOSIT_SUBTYPE_LIVRE_NAME);
// valueWithTranslations.addTranslation(AouConstants.LANG_CODE_GERMAN, "");
valueWithTranslations.addTranslation(AouConstants.LANG_CODE_SPANISH, "Libro");
break;
case AouConstants.DEPOSIT_SUBTYPE_OUVRAGE_COLLECTIF_NAME:
valueWithTranslations = this
.newValueWithEngFreTranslations(AouConstants.DEPOSIT_SUBTYPE_OUVRAGE_COLLECTIF_NAME, SUBTYPE_OUVRAGE_COLLECTIF_NAME_EN,
AouConstants.DEPOSIT_SUBTYPE_OUVRAGE_COLLECTIF_NAME);
// valueWithTranslations.addTranslation(AouConstants.LANG_CODE_GERMAN, "");
valueWithTranslations.addTranslation(AouConstants.LANG_CODE_SPANISH, "Obra colectiva");
break;
case AouConstants.DEPOSIT_SUBTYPE_CHAPITRE_DE_LIVRE_NAME:
valueWithTranslations = this
.newValueWithEngFreTranslations(AouConstants.DEPOSIT_SUBTYPE_CHAPITRE_DE_LIVRE_NAME, SUBTYPE_CHAPITRE_DE_LIVRE_NAME_EN,
AouConstants.DEPOSIT_SUBTYPE_CHAPITRE_DE_LIVRE_NAME);
// valueWithTranslations.addTranslation(AouConstants.LANG_CODE_GERMAN, "");
valueWithTranslations.addTranslation(AouConstants.LANG_CODE_SPANISH, "Capítulo de libro");
break;
case AouConstants.DEPOSIT_SUBTYPE_CONTRIBUTION_DICTIONNAIRE_ENCYCLOPEDIE_NAME:
valueWithTranslations = this.newValueWithEngFreTranslations(AouConstants.DEPOSIT_SUBTYPE_CONTRIBUTION_DICTIONNAIRE_ENCYCLOPEDIE_NAME,
SUBTYPE_CONTRIBUTION_DICTIONNAIRE_ENCYCLOPEDIE_NAME_EN,
AouConstants.DEPOSIT_SUBTYPE_CONTRIBUTION_DICTIONNAIRE_ENCYCLOPEDIE_NAME);
// valueWithTranslations.addTranslation(AouConstants.LANG_CODE_GERMAN, "");
valueWithTranslations.addTranslation(AouConstants.LANG_CODE_SPANISH, "Artículo de diccionario / enciclopedia");
break;
case AouConstants.DEPOSIT_SUBTYPE_RAPPORT_DE_RECHERCHE_NAME:
valueWithTranslations = this
.newValueWithEngFreTranslations(AouConstants.DEPOSIT_SUBTYPE_RAPPORT_DE_RECHERCHE_NAME, SUBTYPE_RAPPORT_DE_RECHERCHE_NAME_EN,
AouConstants.DEPOSIT_SUBTYPE_RAPPORT_DE_RECHERCHE_NAME);
// valueWithTranslations.addTranslation(AouConstants.LANG_CODE_GERMAN, "");
valueWithTranslations.addTranslation(AouConstants.LANG_CODE_SPANISH, "Informe de investigación");
break;
case AouConstants.DEPOSIT_SUBTYPE_RAPPORT_TECHNIQUE_NAME:
valueWithTranslations = this
.newValueWithEngFreTranslations(AouConstants.DEPOSIT_SUBTYPE_RAPPORT_TECHNIQUE_NAME, SUBTYPE_RAPPORT_TECHNIQUE_NAME_EN,
AouConstants.DEPOSIT_SUBTYPE_RAPPORT_TECHNIQUE_NAME);
// valueWithTranslations.addTranslation(AouConstants.LANG_CODE_GERMAN, "");
valueWithTranslations.addTranslation(AouConstants.LANG_CODE_SPANISH, "Informe técnico");
break;
case AouConstants.DEPOSIT_SUBTYPE_WORKING_PAPER_NAME:
valueWithTranslations = this
.newValueWithEngFreTranslations(AouConstants.DEPOSIT_SUBTYPE_WORKING_PAPER_NAME, SUBTYPE_WORKING_PAPER_NAME_EN,
AouConstants.DEPOSIT_SUBTYPE_WORKING_PAPER_NAME);
// valueWithTranslations.addTranslation(AouConstants.LANG_CODE_GERMAN, "");
valueWithTranslations.addTranslation(AouConstants.LANG_CODE_SPANISH, "Working paper");
break;
case AouConstants.DEPOSIT_SUBTYPE_PREPRINT_NAME:
valueWithTranslations = this.newValueWithEngFreTranslations(AouConstants.DEPOSIT_SUBTYPE_PREPRINT_NAME, SUBTYPE_PREPRINT_NAME_EN,
AouConstants.DEPOSIT_SUBTYPE_PREPRINT_NAME);
// valueWithTranslations.addTranslation(AouConstants.LANG_CODE_GERMAN, "");
valueWithTranslations.addTranslation(AouConstants.LANG_CODE_SPANISH, "Artículo preliminar");
break;
default:
Loading