changeset 332:f5c25c86a625

ChangeLog entry and ressource bundles for last commit. gnv-artifacts/trunk@398 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 04 Dec 2009 15:31:07 +0000
parents 1c427acb6c76
children 19571fd1d0e8
files gnv-artifacts/ChangeLog gnv-artifacts/src/main/resources/lang/artifactMessages.properties gnv-artifacts/src/main/resources/lang/artifactMessages_de.properties gnv-artifacts/src/main/resources/lang/artifactMessages_de_DE.properties gnv-artifacts/src/main/resources/lang/artifactMessages_en.properties
diffstat 5 files changed, 47 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/gnv-artifacts/ChangeLog	Fri Dec 04 15:30:20 2009 +0000
+++ b/gnv-artifacts/ChangeLog	Fri Dec 04 15:31:07 2009 +0000
@@ -1,3 +1,39 @@
+2009-12-04  Ingo Weinzierl <ingo.weinzierl@intevation.de>
+
+	* src/main/java/de/intevation/gnv/artifacts/ressource/RessourceFactory.java:
+	  Added method to fetch a string from ressource bundle with a specified
+	  locale. Before, there just have been existing a method to fetch string 
+	  from ressource bundle on basis of the first locale in a list of locales.
+
+	* src/main/java/de/intevation/gnv/transition/OutputTransitionBase.java:
+	  Added method to fetch strings from ressource bundle from RessourceFactory
+	  with a specified locale, a key and a default value, if there is no string
+	  matching key in bundle.
+
+	* src/main/java/de/intevation/gnv/transition/timeseries/TimeSeriesOutputTransition.java:
+	  Added methods for creating title and subtitle of charts. FIS name is
+	  fetched from ressource bundle with best locale (regarding supported server 
+	  and client locales) instead of first locale in list of supported locales 
+	  of the server.
+
+	* src/main/java/de/intevation/gnv/transition/profile/horizontal/HorizontalProfileOutputTransition.java:
+	  Changed title of charts. The main title contains FIS and station name. The
+	  subtitle contains the time period, the cruise, the depth and the position 
+	  of a chart.
+
+	* src/main/java/de/intevation/gnv/chart/ChartLabels.java: Added subtitle as
+	  parameter in class and constructor.
+
+	* src/main/java/de/intevation/gnv/chart/AbstractXYLineChart.java: Added a
+	  subtitle to charts. Titles and subtitles are stored in a ChartLabels
+	  object.
+
+	* src/main/resources/lang/artifactMessages.properties,
+	  src/main/resources/lang/artifactMessages_de_DE.properties,
+	  src/main/resources/lang/artifactMessages_en.properties,
+	  src/main/resources/lang/artifactMessages_de.properties: Added strings for
+	  chart title.
+
 2009-12-04	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
 
 	* ChangeLog: Cleaned up a bit.
--- a/gnv-artifacts/src/main/resources/lang/artifactMessages.properties	Fri Dec 04 15:30:20 2009 +0000
+++ b/gnv-artifacts/src/main/resources/lang/artifactMessages.properties	Fri Dec 04 15:31:07 2009 +0000
@@ -46,3 +46,5 @@
 instantaneouspoint_point = Momentanmesspunkt
 areaid=Area
 subareaid=Subarea
+depth=depth
+coordinate=coordinate
--- a/gnv-artifacts/src/main/resources/lang/artifactMessages_de.properties	Fri Dec 04 15:30:20 2009 +0000
+++ b/gnv-artifacts/src/main/resources/lang/artifactMessages_de.properties	Fri Dec 04 15:31:07 2009 +0000
@@ -45,4 +45,6 @@
 jposition = J-Achse
 instantaneouspoint_point = Momentanmesspunkt
 areaid=Gebiet
-subareaid=Teilgebiet
\ No newline at end of file
+subareaid=Teilgebiet
+depth=Tiefe
+coordinate=Koordinate
--- a/gnv-artifacts/src/main/resources/lang/artifactMessages_de_DE.properties	Fri Dec 04 15:30:20 2009 +0000
+++ b/gnv-artifacts/src/main/resources/lang/artifactMessages_de_DE.properties	Fri Dec 04 15:31:07 2009 +0000
@@ -45,4 +45,6 @@
 jposition = J-Achse
 instantaneouspoint_point = Momentanmesspunkt
 areaid=Gebiet
-subareaid=Teilgebiet
\ No newline at end of file
+subareaid=Teilgebiet
+depth=Tiefe
+coordinate=Koordinate
--- a/gnv-artifacts/src/main/resources/lang/artifactMessages_en.properties	Fri Dec 04 15:30:20 2009 +0000
+++ b/gnv-artifacts/src/main/resources/lang/artifactMessages_en.properties	Fri Dec 04 15:31:07 2009 +0000
@@ -45,4 +45,6 @@
 jposition = J-Axis
 instantaneouspoint_point = Instantaneouspoint
 areaid=Area
-subareaid=Subarea
\ No newline at end of file
+subareaid=Subarea
+depth=depth
+coordinate=coordinate

http://dive4elements.wald.intevation.org