changeset 5580:fa5868a52f14

Change HWS Strings in the floodmap for current calculations
author Andre Heinecke <aheinecke@intevation.de>
date Fri, 05 Apr 2013 17:10:52 +0200
parents d8209556c6fa
children 2fa6da26a142
files flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/FloodMapState.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, 13 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java	Fri Apr 05 16:48:07 2013 +0200
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java	Fri Apr 05 17:10:52 2013 +0200
@@ -111,8 +111,8 @@
 
     private static final String HWS_LINES_SHAPE = "hws-lines.shp";
 
-    private static final String I18N_HWS_POINTS = "floodmap.hws.points";
-    private static final String I18N_HWS_LINES = "floodmap.hws.lines";
+    private static final String I18N_HWS_POINTS_OFFICIAL = "floodmap.hws.points.official";
+    private static final String I18N_HWS_LINES_OFFICIAL = "floodmap.hws.lines.official";
     private static final String HWS_LINES = "hws-lines";
     private static final String HWS_POINT_SHAPE = "hws-points.shp";
     private static final String HWS_POINTS = "hws-points";
@@ -378,7 +378,7 @@
         logger.debug("shp file exists: " + lines);
         if (lines) {
             job.addLin(dir + "/" + HWS_LINES_SHAPE);
-            facetCreator.createShapeFacet(I18N_HWS_LINES,
+            facetCreator.createShapeFacet(I18N_HWS_LINES_OFFICIAL,
                 MapfileGenerator.MS_LAYER_PREFIX + HWS_LINES,
                 FLOODMAP_LINES, 2);
         }
@@ -386,7 +386,7 @@
         boolean points = point.exists();
         logger.debug("shp file exists: " + points);
         if (points) {
-            facetCreator.createShapeFacet(I18N_HWS_POINTS,
+            facetCreator.createShapeFacet(I18N_HWS_POINTS_OFFICIAL,
                 MapfileGenerator.MS_LAYER_PREFIX + HWS_POINTS,
                 FLOODMAP_FIXPOINTS, 3);
         }
@@ -425,7 +425,7 @@
                 "31467",
                 "hws");
             job.addLin(artifactDir + "/" + HWS_LINES_SHAPE);
-            facetCreator.createShapeFacet(I18N_HWS_LINES,
+            facetCreator.createShapeFacet(I18N_HWS_LINES_OFFICIAL,
                 MapfileGenerator.MS_LAYER_PREFIX + HWS_LINES,
                 FLOODMAP_HWS_LINES,2);
         }
--- a/flys-artifacts/src/main/resources/messages.properties	Fri Apr 05 16:48:07 2013 +0200
+++ b/flys-artifacts/src/main/resources/messages.properties	Fri Apr 05 17:10:52 2013 +0200
@@ -404,6 +404,8 @@
 floodmap.kms = Kilometrage
 floodmap.qps = Crosssection Tracks
 floodmap.hws = Flood Control Works
+floodmap.hws.lines.official = Official Flood Control Works
+floodmap.hws.points.official = Official Flood Control Works (points)
 floodmap.catchment = Catchment
 floodmap.floodplain = Floodplain
 floodmap.lines = Lines
--- a/flys-artifacts/src/main/resources/messages_de.properties	Fri Apr 05 16:48:07 2013 +0200
+++ b/flys-artifacts/src/main/resources/messages_de.properties	Fri Apr 05 17:10:52 2013 +0200
@@ -405,6 +405,8 @@
 floodmap.kms = Kilometrierung
 floodmap.qps = Querprofilspuren
 floodmap.hws = Hochwasserschutzanlagen
+floodmap.hws.lines.official = HWS-Offiziell
+floodmap.hws.points.official = HWS-Offiziell (Punkte)
 floodmap.catchment = Einzugsgebiet
 floodmap.floodplain = Talaue
 floodmap.lines = Linien
--- a/flys-artifacts/src/main/resources/messages_de_DE.properties	Fri Apr 05 16:48:07 2013 +0200
+++ b/flys-artifacts/src/main/resources/messages_de_DE.properties	Fri Apr 05 17:10:52 2013 +0200
@@ -401,6 +401,8 @@
 floodmap.kms = Kilometrierung
 floodmap.qps = Querprofilspuren
 floodmap.hws = Hochwasserschutzanlagen
+floodmap.hws.lines.official = HWS-Offiziell
+floodmap.hws.points.official = HWS-Offiziell (Punkte)
 floodmap.catchment = Einzugsgebiet
 floodmap.floodplain = Talaue
 floodmap.lines = Linien
--- a/flys-artifacts/src/main/resources/messages_en.properties	Fri Apr 05 16:48:07 2013 +0200
+++ b/flys-artifacts/src/main/resources/messages_en.properties	Fri Apr 05 17:10:52 2013 +0200
@@ -406,6 +406,8 @@
 floodmap.kms = Kilometrage
 floodmap.qps = Crosssection Tracks
 floodmap.hws = Flood Control Works
+floodmap.hws.lines.official = Official Flood Control Works
+floodmap.hws.points.official = Official Flood Control Works (points)
 floodmap.catchment = Catchment
 floodmap.floodplain = Floodplain
 floodmap.lines = Lines

http://dive4elements.wald.intevation.org