changeset 2181:38207b820dca

i18n for ManualPointsFacets. flys-artifacts/trunk@3785 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Fri, 27 Jan 2012 10:32:09 +0000
parents 65b32220f197
children 5ff481ab24a1
files flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/ManualPointsSingleState.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 6 files changed, 17 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Fri Jan 27 09:49:11 2012 +0000
+++ b/flys-artifacts/ChangeLog	Fri Jan 27 10:32:09 2012 +0000
@@ -1,3 +1,12 @@
+2012-01-27  Felix Wolfsteller	<felix.wolfsteller@intevation.de>
+
+	* src/main/resources/messages.properties,
+	  src/main/resources/messages_de_DE.properties,
+	  src/main/resources/messages_en.properties,
+	  src/main/resources/messages_de.properties,
+	  src/main/java/de/intevation/flys/artifacts/states/ManualPointsSingleState.java:
+	  i18n for ManualPointsFacets.
+
 2012-01-27  Raimund Renkert <raimund.renkert@intevation.de>
 
 	Issue 138: PDF output for calculations.
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/ManualPointsSingleState.java	Fri Jan 27 09:49:11 2012 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/ManualPointsSingleState.java	Fri Jan 27 10:32:09 2012 +0000
@@ -53,8 +53,7 @@
         ManualPointsFacet facet = new ManualPointsFacet(
             0,
             MANUALPOINTS,
-            //Resources.getMsg(meta, I18N_DESCRIPTION, I18N_DESCRIPTION));
-            ".(.,-)Punkt(Punkt,Komma,Strich)");
+            Resources.getMsg(meta, "manualpoints", "Manuel Points"));
 
         facets.add(facet);
 
--- a/flys-artifacts/src/main/resources/messages.properties	Fri Jan 27 09:49:11 2012 +0000
+++ b/flys-artifacts/src/main/resources/messages.properties	Fri Jan 27 10:32:09 2012 +0000
@@ -159,3 +159,4 @@
 no.segments.found = No segments found.
 no.values.given = No values given.
 cannot.interpolate.wq = Cannot interpolate W/Q.
+manualpoints = Manual Points
--- a/flys-artifacts/src/main/resources/messages_de.properties	Fri Jan 27 09:49:11 2012 +0000
+++ b/flys-artifacts/src/main/resources/messages_de.properties	Fri Jan 27 10:32:09 2012 +0000
@@ -159,3 +159,5 @@
 no.segments.found = Keine Flussabschnitte gefunden.
 no.values.given = Keine Werte angegeben.
 cannot.interpolate.wq = W/Q-Wert konnte nicht interpoliert werden.
+
+manualpoints = Manuelle Punkte
--- a/flys-artifacts/src/main/resources/messages_de_DE.properties	Fri Jan 27 09:49:11 2012 +0000
+++ b/flys-artifacts/src/main/resources/messages_de_DE.properties	Fri Jan 27 10:32:09 2012 +0000
@@ -159,3 +159,5 @@
 no.segments.found = Keine Flussabschnitte gefunden.
 no.values.given = Keine Werte angegeben.
 cannot.interpolate.wq = W/Q-Wert konnte nicht interpoliert werden.
+
+manualpoints = Manuelle Punkte
--- a/flys-artifacts/src/main/resources/messages_en.properties	Fri Jan 27 09:49:11 2012 +0000
+++ b/flys-artifacts/src/main/resources/messages_en.properties	Fri Jan 27 10:32:09 2012 +0000
@@ -155,3 +155,5 @@
 no.segments.found = No segments found.
 no.values.given = No values given.
 cannot.interpolate.wq = Cannot interpolate W/Q.
+
+manualpoints = Manual Points

http://dive4elements.wald.intevation.org