changeset 5421:420c553bc86d

Cosmetics, fix typo in i18n.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Tue, 26 Mar 2013 11:25:44 +0100
parents 0bb57e72b8ea
children eb7a3f58bdd6
files flys-artifacts/src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java flys-artifacts/src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveExporter.java flys-artifacts/src/main/resources/messages_de.properties
diffstat 3 files changed, 1 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java	Tue Mar 26 11:20:36 2013 +0100
+++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java	Tue Mar 26 11:25:44 2013 +0100
@@ -48,7 +48,6 @@
     private static Logger logger =
         Logger.getLogger(ComputedDischargeCurveExporter.class);
 
-
     public static final String CSV_W_HEADER =
         "export.computed.discharge.curve.csv.header.w";
 
@@ -119,7 +118,6 @@
     protected void writeCSVHeader(CSVWriter writer) {
         logger.debug("ComputedDischargeCurveExporter.writeCSVHeader");
 
-        // TODO i18n with wst unit from river.
         String unit = FLYSUtils.getRiver((FLYSArtifact) master).getWstUnit().getName();
 
         writer.writeNext(new String[] {
@@ -226,7 +224,6 @@
                 });
             }
         }
-
     }
 }
 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :
--- a/flys-artifacts/src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveExporter.java	Tue Mar 26 11:20:36 2013 +0100
+++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveExporter.java	Tue Mar 26 11:25:44 2013 +0100
@@ -136,7 +136,6 @@
             logger.warn("Error generating PDF Report!");
             je.printStackTrace();
         }
-
     }
 
 
--- a/flys-artifacts/src/main/resources/messages_de.properties	Tue Mar 26 11:20:36 2013 +0100
+++ b/flys-artifacts/src/main/resources/messages_de.properties	Tue Mar 26 11:25:44 2013 +0100
@@ -327,7 +327,7 @@
 export.computed.discharge.curve.csv.header.w = W [{0}]
 export.computed.discharge.curve.csv.header.q = Q [m\u00b3/s]
 export.duration.curve.csv.header.duration = D [Tagen]
-export.duration.curve.csv.header.w = W [{0]]
+export.duration.curve.csv.header.w = W [{0}]
 export.duration.curve.csv.header.q = Q [m\u00b3/s]
 export.discharge.longitudinal.section.csv.header.km = Fluss-Km
 export.discharge.longitudinal.section.csv.header.w = W [NN + m]

http://dive4elements.wald.intevation.org