Mercurial > dive4elements > river
changeset 3710:255decb14439
Improved i18n in minfo code.
flys-client/trunk@5458 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Thu, 13 Sep 2012 13:49:29 +0000 |
parents | 9969e3b0d860 |
children | e6ebbf4b253a |
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/ParameterMatrixPanel.java |
diffstat | 6 files changed, 23 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 <ingo@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/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 <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties,
--- 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();
--- 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
--- 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
--- 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
--- 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;