changeset 5381:d6782d0c7472

merged.
author Raimund Renkert <rrenkert@intevation.de>
date Fri, 22 Mar 2013 11:56:37 +0100
parents 75371c9ef472 (diff) fe5fc583390d (current diff)
children f66a6c1a73e7
files 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, 28 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/fixation/FixAnalysisCompute.java	Fri Mar 22 11:04:40 2013 +0100
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/fixation/FixAnalysisCompute.java	Fri Mar 22 11:56:37 2013 +0100
@@ -62,10 +62,10 @@
     private static final String I18N_REFERENCEPERIOD = "state.fix.analysis.referenceperiod";
 
     public static final String [] SECTOR_LABELS = {
-        "[0 - (MNQ+MQ)/2)",
-        "[(MNQ+MQ)/2 - (MQ+MHQ)/2)",
-        "[(MQ+MHQ)/2 - HQ5)",
-        "[HQ5 - \u221e)"
+        "fix.mnq",
+        "fix.mq",
+        "fix.mhq",
+        "fix.hq5"
     };
 
     // TODO Why does this happen here? In other cases its implemented in the
@@ -180,9 +180,11 @@
                 }
 
                 String sector = SECTOR_LABELS[j];
-                String description = sector + ": " +
-                                     startDate + " - " +
-                                     endDate;
+                String description = "\u0394W (" +
+                    Resources.getMsg(context.getMeta(),
+                        sector,
+                        sector) +
+                        ")";
 
                 int sectorNdx = j - qsS;
                 int facetNdx = i << 2;
@@ -201,7 +203,7 @@
                     new FixLongitudinalAvSectorFacet(
                         facetNdx,
                         FIX_SECTOR_AVERAGE_LS + "_" + sectorNdx,
-                        description));
+                        description + ":" + startDate + " - " + endDate));
                 // TODO: i18n
                 String dev = "Abweichung: " + description;
                 facets.add(
--- a/flys-artifacts/src/main/resources/messages.properties	Fri Mar 22 11:04:40 2013 +0100
+++ b/flys-artifacts/src/main/resources/messages.properties	Fri Mar 22 11:56:37 2013 +0100
@@ -527,6 +527,10 @@
 fix.vollmer.wq.outliers=Outliers
 fix.vollmer.wq.events=Events
 qsectors=Discharge Sectors
+fix.mnq=arround MNQ
+fix.mq=arraound MQ
+fix.mhq=arround MHQ
+fix.hq5=over HQ5
 
 chart.fix.deltawt.title=Difference from compensating curve at kilometer {0}
 chart.fix.deltawt.subtitle=Water: {0}; Period:  {1,date,short} to {2,date,short}; Reference period: {3,date,short} bis {4,date,short}
--- a/flys-artifacts/src/main/resources/messages_de.properties	Fri Mar 22 11:04:40 2013 +0100
+++ b/flys-artifacts/src/main/resources/messages_de.properties	Fri Mar 22 11:56:37 2013 +0100
@@ -524,11 +524,15 @@
 fix.outlier=Ausrei\u00dfer
 fix.analysis=Analyseereignis
 fix.deviation=Standardabweichung
-fix.reference.deviation=Abweichung im Bezugszeitraum
+fix.reference.deviation=Standardabweichung Bezugszeitraum
 fix.vollmer.wq.curve=Angepasste Funktion
 fix.vollmer.wq.outliers=Ausrei\u00dfer
 fix.vollmer.wq.events=Ereignisse
 qsectors=Abfluss-Sektoren
+fix.mnq=um MNQ
+fix.mq=um MQ
+fix.mhq=um MHQ
+fix.hq5=um HQ5
 
 chart.fix.deltawt.title=Abweichungen von der Ausgleichskurve an Kilometer {0}
 chart.fix.deltawt.subtitle=Gew\u00e4sser: {0}; Darstellungszeitraum: {1,date,short} bis {2,date,short}; Bezugszeitraum: {3,date,short} bis {4,date,short}
--- a/flys-artifacts/src/main/resources/messages_de_DE.properties	Fri Mar 22 11:04:40 2013 +0100
+++ b/flys-artifacts/src/main/resources/messages_de_DE.properties	Fri Mar 22 11:56:37 2013 +0100
@@ -520,11 +520,15 @@
 fix.outlier=Ausrei\u00dfer
 fix.analysis=Analyseereignis
 fix.deviation=Standardabweichung
-fix.reference.deviation=Abweichung im Bezugszeitraum
+fix.reference.deviation=Standardabweichung Bezugszeitraum
 fix.vollmer.wq.curve=Angepasste Funktion
 fix.vollmer.wq.outliers=Ausrei\u00dfer
 fix.vollmer.wq.events=Ereignisse
 qsectors=Abfluss-Sektoren
+fix.mnq=um MNQ
+fix.mq=um MQ
+fix.mhq=um MHQ
+fix.hq5=um HQ5
 
 chart.fix.deltawt.title=Abweichungen von der Ausgleichskurve an Kilometer {0}
 chart.fix.deltawt.subtitle=Gew\u00e4sser: {0}; Darstellungszeitraum: {1,date,short} bis {2,date,short}; Bezugszeitraum: {3,date,short} bis {4,date,short}
--- a/flys-artifacts/src/main/resources/messages_en.properties	Fri Mar 22 11:04:40 2013 +0100
+++ b/flys-artifacts/src/main/resources/messages_en.properties	Fri Mar 22 11:56:37 2013 +0100
@@ -530,6 +530,10 @@
 fix.vollmer.wq.outliers=Outliers
 fix.vollmer.wq.events=Events
 qsectors=Discharge Sectors
+fix.mnq=arround MNQ
+fix.mq=arraound MQ
+fix.mhq=arround MHQ
+fix.hq5=over HQ5
 
 chart.fix.deltawt.title=Difference from compensating curve at kilometer {0}
 chart.fix.deltawt.subtitle=Water: {0}; Period:  {1,date,short} to {2,date,short}; Reference period: {3,date,short} bis {4,date,short}

http://dive4elements.wald.intevation.org