/branches/v1.2-lithium/src/org/tela_botanica/del/client/services/ReferentielService.java |
---|
23,7 → 23,7 |
referentiels.put("bdtfx", I18n.getVocabulary().referentielBdtfx()); |
referentiels.put("bdtxa", I18n.getVocabulary().referentielBdtxa()); |
referentiels.put("isfan", I18n.getVocabulary().referentielIsfan()); |
referentiels.put("bdtao", I18n.getVocabulary().referentielBdtao()); |
referentiels.put("apd", I18n.getVocabulary().referentielApd()); |
} |
return referentiels; |
} |
/branches/v1.2-lithium/src/org/tela_botanica/del/client/modeles/Observation.java |
---|
264,8 → 264,13 |
String refFmt = ""; |
// on ne renvoie que le code du référentiel, sans version, et seulement également si l'on possède |
// un numéro nomenclatural associé (ce qui nous assure une certaine cohérence) |
if(referentiel.length() >= 5 && numNomenclatural != null && !numNomenclatural.equals("0")) { |
refFmt = referentiel.substring(0, 5); |
if(referentiel.length() >= 3 && numNomenclatural != null && !numNomenclatural.equals("0")) { |
int positionDeuxPoints = referentiel.indexOf(':'); |
if (positionDeuxPoints == -1) { |
refFmt = referentiel; |
} else { |
refFmt = referentiel.substring(0, positionDeuxPoints); |
} |
} |
return refFmt; |
} |
/branches/v1.2-lithium/src/org/tela_botanica/del/client/i18n/Vocabulary.properties |
---|
181,7 → 181,7 |
referentielBdtfx = Trachéophytes de France métropolitaine |
referentielBdtxa = Trachéophytes des Antilles françaises |
referentielIsfan = Flore d'Afrique du Nord |
referentielBdtao = Flore d'Afrique de l'Ouest et du Centre |
referentielApd = Flore d'Afrique de l'Ouest et du Centre |
#composant pagination |
/branches/v1.2-lithium/src/org/tela_botanica/del/client/i18n/Vocabulary.java |
---|
1101,8 → 1101,8 |
* @return translated "Flore d'Afrique de l'Ouest et du Centre" |
*/ |
@DefaultStringValue("Flore d'Afrique de l'Ouest et du Centre") |
@Key("referentielBdtao") |
String referentielBdtao(); |
@Key("referentielApd") |
String referentielApd(); |
/** |
* Translated "Tous les référentiels". |