changeset 1580:0dad8ab80005

#469 Use correct I18N string to display inserted locations in LocationDistancePanel. flys-client/trunk@3850 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Wed, 01 Feb 2012 09:28:39 +0000
parents 637481aeae43
children 70321da6e1e1
files flys-client/ChangeLog flys-client/src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java
diffstat 2 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/flys-client/ChangeLog	Wed Feb 01 08:52:35 2012 +0000
+++ b/flys-client/ChangeLog	Wed Feb 01 09:28:39 2012 +0000
@@ -1,3 +1,10 @@
+2012-02-01  Ingo Weinzierl <ingo@intevation.de>
+
+	flys/issue469 (I18N der Zahlen Parameterisierung (z.B. Orte))
+
+	* src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java:
+	  Display the I18N location string in createOld().
+
 2012-02-01  Felix Wolfsteller <felix.wolfsteller@intevation.de>
 
 	* src/main/java/de/intevation/flys/client/client/ui/chart/CrossSectionChartThemePanel.java,
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java	Wed Feb 01 08:52:35 2012 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java	Wed Feb 01 09:28:39 2012 +0000
@@ -602,7 +602,7 @@
         Data       dLocations = getData(items, "ld_locations");
         DataItem[] lItems     = dLocations.getItems();
 
-        String value = lItems[0].getStringValue();
+        String value = lItems[0].getLabel();
 
         Label selected = new Label(value);
         selected.setWidth(130);

http://dive4elements.wald.intevation.org