Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedDiameterTopFacet.java @ 8260:48d4921665e3
Making i18n work was just easier using less wrappers in this case (issue1631).
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Thu, 11 Sep 2014 17:37:03 +0200 |
parents | e4606eae8ea5 |
children |
comparison
equal
deleted
inserted
replaced
8259:1fc453fbc5df | 8260:48d4921665e3 |
---|---|
35 | 35 |
36 public BedDiameterTopFacet(int idx, String name, String description, | 36 public BedDiameterTopFacet(int idx, String name, String description, |
37 ComputeType type, String stateId, String hash) { | 37 ComputeType type, String stateId, String hash) { |
38 super(idx, name, description, type, hash, stateId); | 38 super(idx, name, description, type, hash, stateId); |
39 this.metaData.put("X", "chart.longitudinal.section.xaxis.label"); | 39 this.metaData.put("X", "chart.longitudinal.section.xaxis.label"); |
40 this.metaData.put("Y", "chart.bedquality.yaxis.label"); | 40 this.metaData.put("Y", "chart.bedquality.yaxis.label.diameter"); |
41 } | 41 } |
42 | 42 |
43 public Object getData(Artifact artifact, CallContext context) { | 43 public Object getData(Artifact artifact, CallContext context) { |
44 log.debug("Get data for bed diameter at index: " + index); | 44 log.debug("Get data for bed diameter at index: " + index); |
45 | 45 |