changeset 5696:f2c6200d72f5

i18n error messages if years are wrong for sediment load.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Mon, 15 Apr 2013 10:56:38 +0200
parents fd020ac6f6cd
children 2ddb21bc6860
files flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.java flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.properties flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties
diffstat 3 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.java	Mon Apr 15 10:55:16 2013 +0200
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.java	Mon Apr 15 10:56:38 2013 +0200
@@ -594,6 +594,8 @@
 
     // ERRORS
 
+    String error_years_wrong();
+
     String error_read_minmax_values();
 
     String error_validate_range();
--- a/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.properties	Mon Apr 15 10:55:16 2013 +0200
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.properties	Mon Apr 15 10:56:38 2013 +0200
@@ -307,6 +307,7 @@
 ele_window_geometry_error = The geometry is not supported:
 
 unexpected_exception = There occured an unexpected exception
+error_years_wrong = The second year needs to be bigger than the first year.
 error_read_minmax_values = Error while reading min/max values for the location input.
 error_validate_range = The value $1 needs to be smaller than $3 and bigger than $2.
 error_validate_date_range = Start date needs to be before end date.
--- a/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties	Mon Apr 15 10:55:16 2013 +0200
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties	Mon Apr 15 10:56:38 2013 +0200
@@ -307,6 +307,7 @@
 ele_window_geometry_error = Die Geometrie wird nicht unterst\u00fctzt:
 
 unexpected_exception = Ein unerwarteter Fehler ist aufgetreten
+error_years_wrong = Das zweite Jahr muss gr\u00f6\u00dfer als das erste sein.
 error_read_minmax_values = Fehler beim Lesen der min/max Werte. Es kann keine Validierung der eingegebenen Strecke durchgef\u00fchrt werden.
 error_validate_range = Der Wert $1 muss kleiner als $3 und gr\u00f6\u00dfer als $2 sein.
 error_validate_date_range = Anfangsdatum muss fr\u00fcher sein als Enddatum.

http://dive4elements.wald.intevation.org