changeset 4367:8d568bc22765

Even better Extreme W/Q Facet names. i18n thereof.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Fri, 02 Nov 2012 14:30:39 +0100
parents f820285bff0b
children 1c5370683769 3ae698d1185d
files flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/extreme/ExtremeCompute.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 5 files changed, 18 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/extreme/ExtremeCompute.java	Fri Nov 02 14:01:14 2012 +0100
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/extreme/ExtremeCompute.java	Fri Nov 02 14:30:39 2012 +0100
@@ -18,6 +18,7 @@
 import de.intevation.flys.artifacts.model.extreme.ExtremeCalculation;
 import de.intevation.flys.artifacts.model.extreme.ExtremeResult;
 
+import de.intevation.flys.artifacts.resources.Resources;
 import de.intevation.flys.artifacts.states.DefaultState;
 
 import de.intevation.flys.utils.FLYSUtils;
@@ -91,9 +92,11 @@
             facets.add(q);
         }
 
-        facets.add(new ExtremeCurveFacet("WQ"));
-        facets.add(new ExtremeCurveFacet("WQP", true));
-
+        facets.add(new ExtremeCurveFacet(Resources.getMsg(context.getMeta(),
+                                         "extreme_wq_curve", "extreme_wq_curve")));
+        facets.add(new ExtremeCurveFacet(Resources.getMsg(context.getMeta(),
+                                         "extreme_wq_base_curve", "extreme_wq_base_curve")
+                                         , true));
 
         return res;
     }
--- a/flys-artifacts/src/main/resources/messages.properties	Fri Nov 02 14:01:14 2012 +0100
+++ b/flys-artifacts/src/main/resources/messages.properties	Fri Nov 02 14:30:39 2012 +0100
@@ -393,6 +393,9 @@
 
 more.than.one.q.for.w = Found more Qs for W = {0,number,#.##}.
 
+extreme_wq_curve = Curve for extreme WQ
+extreme_wq_base_curve = Measurement basis for extreme WQ
+
 no.river.selected = No river selected.
 no.gauge.selected = No gauge selected.
 no.locations.selected = No locations selected.
--- a/flys-artifacts/src/main/resources/messages_de.properties	Fri Nov 02 14:01:14 2012 +0100
+++ b/flys-artifacts/src/main/resources/messages_de.properties	Fri Nov 02 14:30:39 2012 +0100
@@ -393,6 +393,9 @@
 
 more.than.one.q.for.w = Mehr als ein Q f\u00fcr W = {0,number,#.##} gefunden.
 
+extreme_wq_curve = W/Q-Kurve f\u00fcr extreme Werte
+extreme_wq_base_curve = Messbasis f\u00fcr W/Q-Kurve
+
 no.river.selected = Kein Gew\u00e4sser ausgew\u00e4hlt.
 no.gauge.selected = Kein Pegel ausgew\u00e4hlt.
 no.locations.selected = Keine Orte angegeben.
--- a/flys-artifacts/src/main/resources/messages_de_DE.properties	Fri Nov 02 14:01:14 2012 +0100
+++ b/flys-artifacts/src/main/resources/messages_de_DE.properties	Fri Nov 02 14:30:39 2012 +0100
@@ -390,6 +390,9 @@
 
 more.than.one.q.for.w = Mehr als ein Q f\u00fcr W = {0,number,#.##} gefunden.
 
+extreme_wq_curve = W/Q-Kurve f\u00fcr extreme Werte
+extreme_wq_base_curve = Messbasis f\u00fcr W/Q-Kurve
+
 no.river.selected = Kein Gew\u00e4sser ausgew\u00e4hlt.
 no.gauge.selected = Kein Pegel ausgew\u00e4hlt.
 no.locations.selected = Keine Orte angegeben.
--- a/flys-artifacts/src/main/resources/messages_en.properties	Fri Nov 02 14:01:14 2012 +0100
+++ b/flys-artifacts/src/main/resources/messages_en.properties	Fri Nov 02 14:30:39 2012 +0100
@@ -394,6 +394,9 @@
 
 more.than.one.q.for.w = Found more Qs for W = {0,number,#.##}.
 
+extreme_wq_curve = Curve for extreme WQ
+extreme_wq_base_curve = Measurement basis for extreme WQ
+
 no.river.selected = No river selected.
 no.gauge.selected = No gauge selected.
 no.locations.selected = No locations selected.

http://dive4elements.wald.intevation.org