Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/DurationCurveState.java @ 2718:9ea3ac23bd9d
Include km in duration curve facets names.
flys-artifacts/trunk@4447 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Mon, 21 May 2012 09:06:48 +0000 |
parents | 1d7fb2cabfc7 |
children | 7887112c37cc |
comparison
equal
deleted
inserted
replaced
2717:4cd55689e9a9 | 2718:9ea3ac23bd9d |
---|---|
64 } | 64 } |
65 | 65 |
66 WQDay wqday = (WQDay)res.getData(); | 66 WQDay wqday = (WQDay)res.getData(); |
67 | 67 |
68 if (wqday != null && facets != null) { | 68 if (wqday != null && facets != null) { |
69 // Create an i18ed name for a (w or q) duration curve facet. | |
69 Object[] args = new Object[] { | 70 Object[] args = new Object[] { |
70 FLYSUtils.getRiver(winfo).getName() | 71 FLYSUtils.getRiver(winfo).getName(), |
72 FLYSUtils.getLocations(winfo)[0] | |
71 }; | 73 }; |
72 | 74 |
73 String nameW = Resources.getMsg( | 75 String nameW = Resources.getMsg( |
74 context.getMeta(), | 76 context.getMeta(), |
75 "chart.duration.curve.curve.w", | 77 "chart.duration.curve.curve.w", |