changeset 3360:00fd2bd71ac9

FixA: Replaced discharge sectors with more human readable labels. flys-client/trunk@5047 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Wed, 18 Jul 2012 17:14:16 +0000
parents 7b601099db10
children 89df168f289c
files flys-client/ChangeLog flys-client/src/main/java/de/intevation/flys/client/client/ui/fixation/FixGaugeSelectPanel.java
diffstat 2 files changed, 10 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/flys-client/ChangeLog	Wed Jul 18 17:05:02 2012 +0000
+++ b/flys-client/ChangeLog	Wed Jul 18 17:14:16 2012 +0000
@@ -1,3 +1,8 @@
+2012-07-18	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
+
+	* src/main/java/de/intevation/flys/client/client/ui/fixation/FixGaugeSelectPanel.java:
+	  Replaced discharge sectors with more human readable labels.
+
 2012-07-18	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
 
 	* src/main/webapp/WEB-INF/stylesheets/fixoverview2html.xsl:
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/fixation/FixGaugeSelectPanel.java	Wed Jul 18 17:05:02 2012 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/fixation/FixGaugeSelectPanel.java	Wed Jul 18 17:14:16 2012 +0000
@@ -45,11 +45,12 @@
 
     public FixGaugeSelectPanel() {
         htmlOverview = "";
+        // TODO: i18n
         mapValues = new LinkedHashMap();
-        mapValues.put("0", "[0, (MNQ+MQ)/2)");
-        mapValues.put("1", "[(MNQ+MQ)/2, (MQ+MHQ)/2)");
-        mapValues.put("2", "[(MQ+MHQ)/2, HQ5)");
-        mapValues.put("3", "[HQ5, \u221e)");
+        mapValues.put("0", "um MNQ");
+        mapValues.put("1", "um MQ");
+        mapValues.put("2", "um MHQ");
+        mapValues.put("3", "\u00fcber HQ5");
     }
 
     public Canvas createWidget(DataList data) {

http://dive4elements.wald.intevation.org