# HG changeset patch # User Christian Lins # Date 1347365108 0 # Node ID 4e32de1b6a9e8609eac249d82570e50450ce1df2 # Parent 394e1a9915ecb7f17aadfbc5349a3671a1a92da0 Fix for line label text in Delta W(t) chart (#837). flys-client/trunk@5430 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 394e1a9915ec -r 4e32de1b6a9e flys-client/ChangeLog --- 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 + + * 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 * src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java: diff -r 394e1a9915ec -r 4e32de1b6a9e flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.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(); diff -r 394e1a9915ec -r 4e32de1b6a9e flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.properties --- 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 diff -r 394e1a9915ec -r 4e32de1b6a9e flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties --- 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 diff -r 394e1a9915ec -r 4e32de1b6a9e flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties --- 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 diff -r 394e1a9915ec -r 4e32de1b6a9e flys-client/src/main/java/de/intevation/flys/client/client/ui/StyleEditorWindow.java --- 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 valueMap = new LinkedHashMap(); - 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); }