# HG changeset patch # User Sascha L. Teichmann # Date 1323183964 0 # Node ID be06dbc2ed1db747a38334689c24411ba4aeffdc # Parent eace020067da548e3809e74f1eb9c87cb55c694e Added 'Bezugslinie' to choice of calculation modes. flys-artifacts/trunk@3361 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r eace020067da -r be06dbc2ed1d flys-artifacts/ChangeLog --- 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 + + * 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 Further flys/issue420 fix (No Discharge Curves for Mosel). diff -r eace020067da -r be06dbc2ed1d flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/CalculationSelect.java --- 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. */ diff -r eace020067da -r be06dbc2ed1d flys-artifacts/src/main/resources/messages.properties --- 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 diff -r eace020067da -r be06dbc2ed1d flys-artifacts/src/main/resources/messages_de.properties --- 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 diff -r eace020067da -r be06dbc2ed1d flys-artifacts/src/main/resources/messages_de_DE.properties --- 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