Subversion Repositories eFlore/Applications.cel

Compare Revisions

Ignore whitespace Rev 2649 → Rev 2650

/trunk/src/org/tela_botanica/client/modeles/objets/InfosReferentielNom.java
1,5 → 1,7
package org.tela_botanica.client.modeles.objets;
 
import org.tela_botanica.client.i18n.Msg;
 
public class InfosReferentielNom {
private String code = null;
8,11 → 10,10
private String intitule = null;
 
public InfosReferentielNom(String infosReferentiel) {
String[] codeCompletIntitule = infosReferentiel.split(",");
intitule = codeCompletIntitule[1];
String[] codeVersion = codeCompletIntitule[0].split(":");
String[] codeVersion = infosReferentiel.split(":");
code = codeVersion[0];
intitule = Msg.get("referentiel-"+code);
if(codeVersion.length > 1) {
version = codeVersion[1];
versionCourte = formaterVersionCourte(version);