# HG changeset patch # User Ingo Weinzierl # Date 1259940667 0 # Node ID f5c25c86a625dccc08232e28abfe6fc1d3d512d0 # Parent 1c427acb6c76243e4e5f3e7b73eb2a703786fff7 ChangeLog entry and ressource bundles for last commit. gnv-artifacts/trunk@398 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 1c427acb6c76 -r f5c25c86a625 gnv-artifacts/ChangeLog --- 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 + + * 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 * ChangeLog: Cleaned up a bit. diff -r 1c427acb6c76 -r f5c25c86a625 gnv-artifacts/src/main/resources/lang/artifactMessages.properties --- 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 diff -r 1c427acb6c76 -r f5c25c86a625 gnv-artifacts/src/main/resources/lang/artifactMessages_de.properties --- 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 diff -r 1c427acb6c76 -r f5c25c86a625 gnv-artifacts/src/main/resources/lang/artifactMessages_de_DE.properties --- 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 diff -r 1c427acb6c76 -r f5c25c86a625 gnv-artifacts/src/main/resources/lang/artifactMessages_en.properties --- 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