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); |