# HG changeset patch # User Ingo Weinzierl # Date 1347544169 0 # Node ID 255decb144391e2169d196e30edbc8782dc8cad3 # Parent 9969e3b0d860201c21d92228e0346ac0b729cecf Improved i18n in minfo code. flys-client/trunk@5458 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 9969e3b0d860 -r 255decb14439 flys-client/ChangeLog --- a/flys-client/ChangeLog Thu Sep 13 12:09:53 2012 +0000 +++ b/flys-client/ChangeLog Thu Sep 13 13:49:29 2012 +0000 @@ -1,3 +1,14 @@ +2012-09-13 Ingo Weinzierl + + * 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/FLYSConstants_de.properties: + Added 'main_channel' and 'total_channel' strings. + + * src/main/java/de/intevation/flys/client/client/ui/ParameterMatrixPanel.java: + Use the correct label for the UI. + 2012-09-13 Ingo Weinzierl * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, diff -r 9969e3b0d860 -r 255decb14439 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 Thu Sep 13 12:09:53 2012 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.java Thu Sep 13 13:49:29 2012 +0000 @@ -263,6 +263,10 @@ String unitQTo(); String unitQStep(); + + String main_channel(); + + String total_channel(); String footerHome(); diff -r 9969e3b0d860 -r 255decb14439 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 Thu Sep 13 12:09:53 2012 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.properties Thu Sep 13 13:49:29 2012 +0000 @@ -171,6 +171,8 @@ unitQFrom = m³/s - unitQTo = m³/s a unitQStep = m³/s +main_channel = Main Channel +total_channel = Total Channel footerHome = Home footerContact = Kontakt footerImpressum = Impressum diff -r 9969e3b0d860 -r 255decb14439 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 Thu Sep 13 12:09:53 2012 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties Thu Sep 13 13:49:29 2012 +0000 @@ -158,6 +158,8 @@ unitQFrom = m\u00b3/s - unitQTo = m\u00b3/s a unitQStep = m\u00b3/s +main_channel = Hauptgerinne +total_channel = Gesamtgerinne footerHome = Home footerContact = Kontakt footerImpressum = Impressum diff -r 9969e3b0d860 -r 255decb14439 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 Thu Sep 13 12:09:53 2012 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties Thu Sep 13 13:49:29 2012 +0000 @@ -172,6 +172,8 @@ unitQFrom = m³/s - unitQTo = m³/s a unitQStep = m³/s +main_channel = Main Channel +total_channel = Total Channel footerHome = Home footerContact = Kontakt footerImpressum = Impressum diff -r 9969e3b0d860 -r 255decb14439 flys-client/src/main/java/de/intevation/flys/client/client/ui/ParameterMatrixPanel.java --- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/ParameterMatrixPanel.java Thu Sep 13 12:09:53 2012 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/ParameterMatrixPanel.java Thu Sep 13 13:49:29 2012 +0000 @@ -138,7 +138,8 @@ protected Canvas createTitle(DataList dataList) { - Label label = new Label(dataList.getState()); + Data data = dataList.get(0); + Label label = new Label(data.getDescription()); label.setHeight(35); return label;