changeset 5634:b56422246f3a

Fix issue697 (i18n).
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Tue, 02 Apr 2013 10:28:52 +0200
parents 5fb103635427
children cda844f8d126
files flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java	Tue Apr 02 10:28:14 2013 +0200
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java	Tue Apr 02 10:28:52 2013 +0200
@@ -70,7 +70,8 @@
 
                     Object[] args = new Object[] {
                         FLYSUtils.getRiver(winfo).getName(),
-                        wqkms[i].getName()
+                        // Parse Double to allow i18n.
+                        Double.parseDouble(wqkms[i].getName())
                     };
 
                     String name = Resources.getMsg(

http://dive4elements.wald.intevation.org