changeset 2118:4d57d456e261

Added a new calculation option for historical discharge curves. flys-artifacts/trunk@3686 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Mon, 16 Jan 2012 13:40:32 +0000
parents 758aa62f1156
children dc28ea60b53d
files flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java flys-artifacts/src/main/resources/messages.properties flys-artifacts/src/main/resources/messages_de.properties flys-artifacts/src/main/resources/messages_de_DE.properties flys-artifacts/src/main/resources/messages_en.properties
diffstat 6 files changed, 20 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Mon Jan 16 13:29:10 2012 +0000
+++ b/flys-artifacts/ChangeLog	Mon Jan 16 13:40:32 2012 +0000
@@ -1,3 +1,14 @@
+2012-01-16  Ingo Weinzierl <ingo@intevation.de>
+
+	* src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
+	  Added a new calculation option for historical discharge curves.
+
+	* src/main/resources/messages.properties,
+	  src/main/resources/messages_de_DE.properties,
+	  src/main/resources/messages_en.properties,
+	  src/main/resources/messages_de.properties: Added translations for
+	  historical discharge curves.
+
 2012-01-16	Felix Wolfsteller	<felix.wolfsteller@intevation.de>
 
 	* doc/conf/artifacts/winfo.xml: Added certain facets to to
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java	Mon Jan 16 13:29:10 2012 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java	Mon Jan 16 13:40:32 2012 +0000
@@ -54,11 +54,16 @@
     public static final String CALCULATION_REFERENCE_CURVE =
         "calc.reference.curve";
 
+    /** Constant value for the historical discharge curve calculation. */
+    public static final String CALCULATION_HISTORICAL_DISCHARGE_CURVE =
+        "calc.historical.discharge.curve";
+
     /** An array that holds all available calculation modes. */
     public static final String[] CALCULATIONS = {
         CALCULATION_SURFACE_CURVE,
         CALCULATION_FLOOD_MAP,
         CALCULATION_DISCHARGE_CURVE,
+        CALCULATION_HISTORICAL_DISCHARGE_CURVE,
         CALCULATION_DURATION_CURVE,
         CALCULATION_DISCHARGE_LONGITUDINAL_CURVE,
         CALCULATION_W_DIFFERENCES,
--- a/flys-artifacts/src/main/resources/messages.properties	Mon Jan 16 13:29:10 2012 +0000
+++ b/flys-artifacts/src/main/resources/messages.properties	Mon Jan 16 13:40:32 2012 +0000
@@ -20,7 +20,7 @@
 calc.duration.curve = Duration Curve
 calc.discharge.longitudinal.section = TODO (W bei...)
 calc.w.differences = Differences
-
+calc.historical.discharge.curve = Historical Discharge Curve
 calc.reference.curve = Reference Curve
 
 state.chart.river = River
--- a/flys-artifacts/src/main/resources/messages_de.properties	Mon Jan 16 13:29:10 2012 +0000
+++ b/flys-artifacts/src/main/resources/messages_de.properties	Mon Jan 16 13:40:32 2012 +0000
@@ -20,7 +20,7 @@
 calc.duration.curve = Dauerlinie
 calc.discharge.longitudinal.section = W bei ungleichwertigem Abflussl\u00e4ngsschnitt
 calc.w.differences = Differenzen
-
+calc.historical.discharge.curve = Hist. Abflusskurven
 calc.reference.curve = Bezugslinie
 
 state.chart.river = Gew\u00e4sser
--- a/flys-artifacts/src/main/resources/messages_de_DE.properties	Mon Jan 16 13:29:10 2012 +0000
+++ b/flys-artifacts/src/main/resources/messages_de_DE.properties	Mon Jan 16 13:40:32 2012 +0000
@@ -20,7 +20,7 @@
 calc.duration.curve = Dauerlinie
 calc.discharge.longitudinal.section = W bei ungleichwertigem Abflussl\u00e4ngsschnitt
 calc.w.differences = Differenzen
-
+calc.historical.discharge.curve = Hist. Abflusskurven
 calc.reference.curve = Bezugslinie
 
 state.chart.river = Gew\u00e4sser
--- a/flys-artifacts/src/main/resources/messages_en.properties	Mon Jan 16 13:29:10 2012 +0000
+++ b/flys-artifacts/src/main/resources/messages_en.properties	Mon Jan 16 13:40:32 2012 +0000
@@ -20,7 +20,7 @@
 calc.duration.curve = Duration Curve
 calc.discharge.longitudinal.section = TODO (W bei...)
 calc.w.differences = Differences
-
+calc.historical.discharge.curve = Historical Discharge Curve
 state.chart.river = River
 state.chart.type = Charttype
 

http://dive4elements.wald.intevation.org