changeset 1558:eff394f9714a

Fix i18n issues. flys-client/trunk@3802 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Fri, 27 Jan 2012 13:51:27 +0000
parents 964e90c5b4c1
children d738132d64b9
files flys-client/ChangeLog flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java
diffstat 3 files changed, 10 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/flys-client/ChangeLog	Fri Jan 27 13:05:24 2012 +0000
+++ b/flys-client/ChangeLog	Fri Jan 27 13:51:27 2012 +0000
@@ -1,3 +1,10 @@
+2012-01-27  Felix Wolfsteller <felix.wolfsteller@intevation.de>
+
+	* src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java,
+	  src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties:
+	  Added accidentally ommitted german translation, use key when
+	  building ui.
+
 2012-01-27  Felix Wolfsteller <felix.wolfsteller@intevation.de>
 
 	* src/main/java/de/intevation/flys/client/client/ui/CollectionView.java:
--- a/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties	Fri Jan 27 13:05:24 2012 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties	Fri Jan 27 13:51:27 2012 +0000
@@ -384,4 +384,4 @@
 removepoint = Entfernen
 newpoint = Neuer Punkt
 standby = Erstelle Parameterisierung ... bitte warten.
-
+points = Punktthema
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java	Fri Jan 27 13:05:24 2012 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java	Fri Jan 27 13:51:27 2012 +0000
@@ -66,7 +66,7 @@
         historyBack     = new ImgButton();
         panControl      = new PanControl(chartTab, MSG.pan());
         chartProperties = new ImgButton();
-        addPoints       = new Button("Points");
+        addPoints       = new Button(MSG.points());
 
         addPoints.addClickHandler(new ClickHandler() {
             public void onClick(ClickEvent event) {
@@ -208,7 +208,7 @@
 
     /** Open editor for custom points. */
     protected void openPointWindow() {
-        new ManualPointsEditor(chartTab.getCollection(),
+        new ManualPointsEditor(chartTab.getView().getCollection(),
             this.chartTab).show();
     }
 }

http://dive4elements.wald.intevation.org