# HG changeset patch # User Felix Wolfsteller # Date 1328776839 0 # Node ID 41a5c87c2761785ab89f13f29df7d62f727951df # Parent 51f530476e36ea748922c6c79514f6919ff5d287 Renamed data item names to allow translations. flys-artifacts/trunk@3982 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 51f530476e36 -r 41a5c87c2761 flys-artifacts/ChangeLog --- a/flys-artifacts/ChangeLog Wed Feb 08 16:51:15 2012 +0000 +++ b/flys-artifacts/ChangeLog Thu Feb 09 08:40:39 2012 +0000 @@ -1,7 +1,13 @@ +2012-02-09 Felix Wolfsteller + + * src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java, + doc/conf/artifacts/winfo.xml: Renamed data item names to allow + translations. + 2012-02-08 Felix Wolfsteller * src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveState.java: - Give (Normalized)ReferenceCurveFacets are more approriate + Give (Normalized)ReferenceCurveFacets are more appropriate description (to be seen in client). 2012-02-08 Felix Wolfsteller diff -r 51f530476e36 -r 41a5c87c2761 flys-artifacts/doc/conf/artifacts/winfo.xml --- a/flys-artifacts/doc/conf/artifacts/winfo.xml Wed Feb 08 16:51:15 2012 +0000 +++ b/flys-artifacts/doc/conf/artifacts/winfo.xml Thu Feb 09 08:40:39 2012 +0000 @@ -174,7 +174,7 @@ - + @@ -183,7 +183,7 @@ - + diff -r 51f530476e36 -r 41a5c87c2761 flys-artifacts/src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java --- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java Wed Feb 08 16:51:15 2012 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java Thu Feb 09 08:40:39 2012 +0000 @@ -689,7 +689,7 @@ /** Get reference (start) km. */ protected Double getReferenceStartKm() { - StateData sd = getData("reference.startpoint"); + StateData sd = getData("reference_startpoint"); if (sd == null) { logger.warn("no reference start given."); @@ -717,7 +717,7 @@ protected double [] getReferenceEndKms() { - StateData sd = getData("reference.endpoint"); + StateData sd = getData("reference_endpoint"); if (sd == null) { logger.warn("no reference end given.");