[Dive4elements-commits] [PATCH 2 of 2] Even better Extreme W/Q Facet names. i18n thereof

Wald Commits scm-commit at wald.intevation.org
Fri Nov 2 14:25:54 CET 2012


# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1351863039 -3600
# Node ID 8d568bc22765da0ceefd1742221761253b021128
# Parent  f820285bff0bb86d5f1932d787a2e5d6ff87bef3
Even better Extreme W/Q Facet names. i18n thereof.

diff -r f820285bff0b -r 8d568bc22765 flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/extreme/ExtremeCompute.java
--- 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;
     }
diff -r f820285bff0b -r 8d568bc22765 flys-artifacts/src/main/resources/messages.properties
--- 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.
diff -r f820285bff0b -r 8d568bc22765 flys-artifacts/src/main/resources/messages_de.properties
--- 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.
diff -r f820285bff0b -r 8d568bc22765 flys-artifacts/src/main/resources/messages_de_DE.properties
--- 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.
diff -r f820285bff0b -r 8d568bc22765 flys-artifacts/src/main/resources/messages_en.properties
--- 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.


More information about the Dive4elements-commits mailing list