changeset 3703:4e32de1b6a9e

Fix for line label text in Delta W(t) chart (#837). flys-client/trunk@5430 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Christian Lins <christian.lins@intevation.de>
date Tue, 11 Sep 2012 12:05:08 +0000
parents 394e1a9915ec
children 1ea53a363db4
files flys-client/ChangeLog flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.java flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.properties flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties flys-client/src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java
diffstat 6 files changed, 22 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/flys-client/ChangeLog	Mon Sep 10 19:24:10 2012 +0000
+++ b/flys-client/ChangeLog	Tue Sep 11 12:05:08 2012 +0000
@@ -1,3 +1,12 @@
+2012-09-11	Christian Lins 	<christian.lins@intevation.de>
+
+	* src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties,
+	  src/main/java/de/intevation/flys/client/client/FLYSConstants.java,
+	  src/main/java/de/intevation/flys/client/client/FLYSConstants.properties,
+	  src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java,
+	  src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties:
+	  Fix for line label text in Delta W(t) chart (#837).
+
 2012-09-10	Christian Lins	<christian.lins@intevation.de>
 
 	* src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java:
--- a/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.java	Mon Sep 10 19:24:10 2012 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.java	Tue Sep 11 12:05:08 2012 +0000
@@ -878,6 +878,10 @@
     String showhorizontalline();
 
     String showverticalline();
+    
+    String horizontal();
+    
+    String vertical();
 
     String textcolor();
 
--- a/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.properties	Mon Sep 10 19:24:10 2012 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.properties	Tue Sep 11 12:05:08 2012 +0000
@@ -470,6 +470,8 @@
 labelfontstyle = Label: Style
 labelbgcolor = Label: Background Color
 labelshowbg = Label: Show Background
+horizontal = horizontal
+vertical = vertical
 showwidth = Show width
 showlevel = Show waterlevel
 showminimum = Show minimum
--- a/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties	Mon Sep 10 19:24:10 2012 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties	Tue Sep 11 12:05:08 2012 +0000
@@ -470,6 +470,8 @@
 labelfontstyle = Beschriftung: Schriftstil
 labelbgcolor = Beschriftung: Hintergrundfarbe
 labelshowbg = Beschriftung: Hintergrund f\u00fcllen
+horizontal = horizontal
+vertical = vertikal
 showwidth = Breite anzeigen
 showlevel = Wasserstand anzeigen
 showminimum = Minimum anzeigen
--- a/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties	Mon Sep 10 19:24:10 2012 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties	Tue Sep 11 12:05:08 2012 +0000
@@ -471,6 +471,8 @@
 labelfontstyle = Label: Style
 labelbgcolor = Label: Background Color
 labelshowbg = Label: Show Background
+horizontal = horizontal
+vertical = vertical
 showwidth = Show width
 showlevel = Show waterlevel
 showminimum = Show minimum
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java	Mon Sep 10 19:24:10 2012 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java	Tue Sep 11 12:05:08 2012 +0000
@@ -295,7 +295,6 @@
                          "pointcolor",
                          "pointsize",
                          "textcolor",
-                         "textorientation",
                          "backgroundcolor",
                          "showbackground",
                          "showlinelabel",
@@ -303,6 +302,7 @@
                          "labelfontcolor",
                          "labelfontsize",
                          "labelfontstyle",
+                         "textorientation",
                          "labelshowbg",
                          "labelbgcolor",
                          "showpointlabel",
@@ -423,8 +423,8 @@
             if(name.equals("textorientation")) {
                 f = new SelectItem(name, MSG.getString(name));
                 LinkedHashMap<String, String> valueMap = new LinkedHashMap<String, String>();
-                valueMap.put("true", "horizontal");
-                valueMap.put("false", "vertical");
+                valueMap.put("true", MSG.getString("horizontal"));
+                valueMap.put("false", MSG.getString("vertical"));
                 f.setValueMap(valueMap);
                 f.setValue(value);
             }

http://dive4elements.wald.intevation.org