[Dive4elements-commits] [PATCH 02 of 17] Fix issue697 (i18n)
Wald Commits
scm-commit at wald.intevation.org
Wed Apr 10 17:14:08 CEST 2013
# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1364891332 -7200
# Node ID b56422246f3abbc5a860814445431f7dc267c3db
# Parent 5fb1036354277339d1affb6c4d737ffd2935b4ca
Fix issue697 (i18n).
diff -r 5fb103635427 -r b56422246f3a flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/ComputedDischargeCurveState.java
--- 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(
More information about the Dive4elements-commits
mailing list