# HG changeset patch # User Ingo Weinzierl # Date 1307544587 0 # Node ID ec85bab86e7b5094d276ca23ce2c9562a0b9d683 # Parent 5749fd2b01382fc47c685583d825779f442163fd Added units to the selected W or Q values in the static UI part. flys-client/trunk@2088 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 5749fd2b0138 -r ec85bab86e7b flys-client/ChangeLog --- a/flys-client/ChangeLog Wed Jun 08 13:28:23 2011 +0000 +++ b/flys-client/ChangeLog Wed Jun 08 14:49:47 2011 +0000 @@ -1,3 +1,10 @@ +2011-06-08 Ingo Weinzierl + + flys/issue103 PART 2 (WINFO: Wasserspiegellagenberechnung / Layout-Inkonsistenz) + + * src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java: + Append the unit of W or Q to the values in the single mode. + 2011-06-08 Ingo Weinzierl flys/issue43 (i18n: Einige Verbesserungen) diff -r 5749fd2b0138 -r ec85bab86e7b flys-client/src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java --- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java Wed Jun 08 13:28:23 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java Wed Jun 08 14:49:47 2011 +0000 @@ -564,7 +564,7 @@ protected String createWString(DataItem single) { - return single.getLabel(); + return single.getLabel().replace(" ", " " + MESSAGE.unitWSingle() + " "); } @@ -582,7 +582,7 @@ protected String createQString(DataItem single) { - return single.getLabel(); + return single.getLabel().replace(" ", " " + MESSAGE.unitQSingle() + " "); }