Mercurial > dive4elements > river
changeset 9592:e8d8f90308dc
Punkt 11.2 - Fließtiefe bundu und sinfo verschiedene Labels
author | gernotbelger |
---|---|
date | Fri, 11 Jan 2019 16:58:44 +0100 |
parents | ccbf8413ddbb |
children | 8f4e300b5f79 |
files | artifacts/src/main/java/org/dive4elements/river/artifacts/bundu/bezugswst/BezugswstDepthProcessor.java artifacts/src/main/resources/messages.properties artifacts/src/main/resources/messages_de.properties |
diffstat | 3 files changed, 8 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/bundu/bezugswst/BezugswstDepthProcessor.java Fri Jan 11 16:56:27 2019 +0100 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/bundu/bezugswst/BezugswstDepthProcessor.java Fri Jan 11 16:58:44 2019 +0100 @@ -46,7 +46,7 @@ private static final String FACET_FIELD_DEPTH_DESCRIPTION = "bundu_facet_field_depth.description"; - private static final String AXIS_LABEL = "sinfo.chart.flow_depth.section.yaxis.label"; + private static final String AXIS_LABEL = "bundu.chart.flow_depth.section.yaxis.label"; private static final Set<String> HANDLED_FACET_TYPES = new HashSet<>(); @@ -61,22 +61,21 @@ super(AXIS_LABEL, HANDLED_FACET_TYPES); } - public static Facet createFlowdepthFilteredFacet(final CallContext context, final String hash, final String id, final int facetIndex, - final int resultIndex, final String seriesName) { + public static Facet createFlowdepthFilteredFacet(final CallContext context, final String hash, final String id, final int facetIndex, final int resultIndex, + final String seriesName) { final String description = Resources.getMsg(context.getMeta(), FACET_FLOWDEPTH_FILTERED_DESCRIPTION, FACET_FLOWDEPTH_FILTERED_DESCRIPTION, seriesName); return new BezugswstResultFacet(facetIndex, resultIndex, FACET_FLOWDEPTH_FILTERED, description, AXIS_LABEL, id, hash); } - public static Facet createChanneldepthFacet(final CallContext context, final String hash, final String id, final int facetIndex, - final int resultIndex) { + public static Facet createChanneldepthFacet(final CallContext context, final String hash, final String id, final int facetIndex, final int resultIndex) { final String description = Resources.getMsg(context.getMeta(), FACET_CHANNELDEPTH_DESCRIPTION, FACET_CHANNELDEPTH_DESCRIPTION); return new BezugswstResultFacet(facetIndex, resultIndex, FACET_CHANNELDEPTH, description, AXIS_LABEL, id, hash); } - public static Facet createFieldDepthFacet(final CallContext context, final String hash, final String id, final int facetIndex, - final int resultIndex, final int fieldIndex) { + public static Facet createFieldDepthFacet(final CallContext context, final String hash, final String id, final int facetIndex, final int resultIndex, + final int fieldIndex) { final String description = Resources.getMsg(context.getMeta(), FACET_FIELD_DEPTH_DESCRIPTION, FACET_FIELD_DEPTH_DESCRIPTION, fieldIndex); final String facetName = String.format(FACET_FIELD_DEPTH_FORMAT, fieldIndex);
--- a/artifacts/src/main/resources/messages.properties Fri Jan 11 16:56:27 2019 +0100 +++ b/artifacts/src/main/resources/messages.properties Fri Jan 11 16:58:44 2019 +0100 @@ -978,7 +978,7 @@ sinfo.chart.km.xaxis.label = {0}-km sinfo.chart.flow_depth.yaxis.label = Flow Depth [m] - +bundu.chart.flow_depth.section.yaxis.label = Flow Depth (Ref. W.) [m] sinfo.chart.flow_depth.section.yaxis.label=Flow Depth [m] sinfo.facet.flow_depth.filtered.description = h ({0}) sinfo.facet.flow_depth.raw.description = h ({0}) (raw)
--- a/artifacts/src/main/resources/messages_de.properties Fri Jan 11 16:56:27 2019 +0100 +++ b/artifacts/src/main/resources/messages_de.properties Fri Jan 11 16:58:44 2019 +0100 @@ -978,7 +978,7 @@ sinfo.chart.km.xaxis.label = {0}-km sinfo.chart.flow_depth.yaxis.label = Flie\u00dftiefe [m] - +bundu.chart.flow_depth.section.yaxis.label = Flie\u00dftiefe (Bezugsw.) [m] sinfo.chart.flow_depth.section.yaxis.label = Flie\u00dftiefe [m] sinfo.facet.flow_depth.filtered.description = h ({0}) sinfo.facet.flow_depth.raw.description = h ({0}) (Rohdaten)