diff flys-client/src/main/java/de/intevation/flys/client/client/ui/LoadingPanel.java @ 878:d7c322a3bb32

Introduced i18n for the loading panel used during floodmap calculation. flys-client/trunk@2707 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Mon, 12 Sep 2011 13:35:20 +0000
parents d5fb88ba99d2
children a9dd792444a1
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/LoadingPanel.java	Mon Sep 12 12:37:42 2011 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/LoadingPanel.java	Mon Sep 12 13:35:20 2011 +0000
@@ -16,6 +16,7 @@
 import com.smartgwt.client.widgets.layout.VLayout;
 
 import de.intevation.flys.client.client.Config;
+import de.intevation.flys.client.client.FLYSConstants;
 import de.intevation.flys.client.client.FLYSImages;
 import de.intevation.flys.client.client.services.DescribeArtifactService;
 import de.intevation.flys.client.client.services.DescribeArtifactServiceAsync;
@@ -30,7 +31,8 @@
     public static final DescribeArtifactServiceAsync describe =
         GWT.create(DescribeArtifactService.class);
 
-    private FLYSImages IMAGES = GWT.create(FLYSImages.class);
+    private FLYSImages    IMAGES = GWT.create(FLYSImages.class);
+    private FLYSConstants MSG    = GWT.create(FLYSConstants.class);
 
 
     protected CollectionView parent;
@@ -164,13 +166,13 @@
             msg.setContents(calcMsg.getMessage());
         }
         else {
-            title.setContents("Berechnung wurde gestartet.");
+            title.setContents(MSG.calculationStarted());
         }
     }
 
 
     protected String getStepTitle(CalculationMessage msg) {
-        return "Schritt " + msg.getCurrentStep() + "/" + msg.getSteps();
+        return MSG.step() + " " + msg.getCurrentStep() + "/" + msg.getSteps();
     }
 
 

http://dive4elements.wald.intevation.org