changeset 1960:be06dbc2ed1d

Added 'Bezugslinie' to choice of calculation modes. flys-artifacts/trunk@3361 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Tue, 06 Dec 2011 15:06:04 +0000
parents eace020067da
children 4781096f31f8
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
diffstat 5 files changed, 22 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Tue Dec 06 10:38:32 2011 +0000
+++ b/flys-artifacts/ChangeLog	Tue Dec 06 15:06:04 2011 +0000
@@ -1,3 +1,12 @@
+2011-11-30	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
+
+	* src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java:
+	  Added "Bezugslinie" to list of calculation alternatives.
+
+	* src/main/resources/messages.properties,
+	  src/main/resources/messages_de_DE.properties,
+	  src/main/resources/messages_de.properties: Added I18N.
+
 2011-12-06	Felix Wolfsteller	<felix.wolfsteller@intevation.de>
 
 	Further flys/issue420 fix (No Discharge Curves for Mosel).
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java	Tue Dec 06 10:38:32 2011 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java	Tue Dec 06 15:06:04 2011 +0000
@@ -50,6 +50,10 @@
     public static final String CALCULATION_W_DIFFERENCES =
         "calc.w.differences";
 
+    /** Constant value for the state reference curve calculation. */
+    public static final String CALCULATION_REFERENCE_CURVE =
+        "calc.reference.curve";
+
     /** An array that holds all available calculation modes. */
     public static final String[] CALCULATIONS = {
         CALCULATION_SURFACE_CURVE,
@@ -57,7 +61,8 @@
         CALCULATION_DISCHARGE_CURVE,
         CALCULATION_DURATION_CURVE,
         CALCULATION_DISCHARGE_LONGITUDINAL_CURVE,
-        CALCULATION_W_DIFFERENCES };
+        CALCULATION_W_DIFFERENCES,
+        CALCULATION_REFERENCE_CURVE };
 
 
     /** Error message that is thrown if no mode has been chosen. */
--- a/flys-artifacts/src/main/resources/messages.properties	Tue Dec 06 10:38:32 2011 +0000
+++ b/flys-artifacts/src/main/resources/messages.properties	Tue Dec 06 15:06:04 2011 +0000
@@ -19,7 +19,9 @@
 calc.discharge.curve = State Discharge Curve/Stage Discharge Relation
 calc.duration.curve = Duration Curve
 calc.discharge.longitudinal.section = TODO (W bei...)
-calc.w.differences = Differenzen
+calc.w.differences = Differences
+
+calc.reference.curve = Reference Curve
 
 cross_section = Cross Section
 
--- a/flys-artifacts/src/main/resources/messages_de.properties	Tue Dec 06 10:38:32 2011 +0000
+++ b/flys-artifacts/src/main/resources/messages_de.properties	Tue Dec 06 15:06:04 2011 +0000
@@ -21,6 +21,8 @@
 calc.discharge.longitudinal.section = W bei ungleichwertigem Abflussl\u00e4ngsschnitt
 calc.w.differences = Differenzen
 
+calc.reference.curve = Bezugslinie
+
 cross_section = Querprofil
 
 scenario.current = Aktuell
--- a/flys-artifacts/src/main/resources/messages_de_DE.properties	Tue Dec 06 10:38:32 2011 +0000
+++ b/flys-artifacts/src/main/resources/messages_de_DE.properties	Tue Dec 06 15:06:04 2011 +0000
@@ -21,6 +21,8 @@
 calc.discharge.longitudinal.section = W bei ungleichwertigem Abflussl\u00e4ngsschnitt
 calc.w.differences = Differenzen
 
+calc.reference.curve = Bezugslinie
+
 cross_section = Querprofil
 
 scenario.current = Aktuell

http://dive4elements.wald.intevation.org