[Dive4elements-commits] [PATCH 2 of 2] Cosmetics, fix typo in i18n

Wald Commits scm-commit at wald.intevation.org
Tue Mar 26 11:19:36 CET 2013


# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1364293544 -3600
# Node ID 420c553bc86d520e8039c2a9e6f8f0cb811f01f0
# Parent  0bb57e72b8eab2d02fad671acedc1271e4f3ff90
Cosmetics, fix typo in i18n.

diff -r 0bb57e72b8ea -r 420c553bc86d flys-artifacts/src/main/java/de/intevation/flys/exports/ComputedDischargeCurveExporter.java
--- 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 :
diff -r 0bb57e72b8ea -r 420c553bc86d flys-artifacts/src/main/java/de/intevation/flys/exports/HistoricalDischargeCurveExporter.java
--- 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();
         }
-
     }
 
 
diff -r 0bb57e72b8ea -r 420c553bc86d flys-artifacts/src/main/resources/messages_de.properties
--- 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]


More information about the Dive4elements-commits mailing list