From 80c58327faaa4873369f6bb949e62792c2f708e0 Mon Sep 17 00:00:00 2001
From: kenneth_suter <kenneth_suter@localhost>
Date: Wed, 15 Aug 2007 21:34:53 +0000
Subject: [PATCH] This commit is a step toward getting OpenDS internationalized. There are still issues to be resolved before we can declare that we are internationalized but this commit covers the bulk of changes needed at this time.

---
 opends/src/quicksetup/org/opends/quicksetup/event/ProgressUpdateEvent.java |   15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/opends/src/quicksetup/org/opends/quicksetup/event/ProgressUpdateEvent.java b/opends/src/quicksetup/org/opends/quicksetup/event/ProgressUpdateEvent.java
index 2db1393..c298179 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/event/ProgressUpdateEvent.java
+++ b/opends/src/quicksetup/org/opends/quicksetup/event/ProgressUpdateEvent.java
@@ -27,6 +27,7 @@
 
 package org.opends.quicksetup.event;
 
+import org.opends.messages.Message;
 import org.opends.quicksetup.ProgressStep;
 
 /**
@@ -44,22 +45,22 @@
 
   private Integer progressRatio;
 
-  private String currentPhaseSummary;
+  private Message currentPhaseSummary;
 
-  private String newLogs;
+  private Message newLogs;
 
   /**
    * Constructor of the ProgressUpdateEvent.
    * @param step the ProgressStep object describing in which step
    * of the installation we are (configuring server, starting server, etc.)
    * @param progressRatio the integer that specifies which percentage of
-   * the whole installation has been completed.
+ * the whole installation has been completed.
    * @param currentPhaseSummary the localized summary message for the
-   * current installation progress.
+* current installation progress.
    * @param newLogs the new log messages that we have for the installation.
    */
   public ProgressUpdateEvent(ProgressStep step,
-      Integer progressRatio, String currentPhaseSummary, String newLogs)
+      Integer progressRatio, Message currentPhaseSummary, Message newLogs)
   {
     this.step = step;
     this.progressRatio = progressRatio;
@@ -72,7 +73,7 @@
    * status.
    * @return the localized message summary describing the progress status.
    */
-  public String getCurrentPhaseSummary()
+  public Message getCurrentPhaseSummary()
   {
     return currentPhaseSummary;
   }
@@ -81,7 +82,7 @@
    * Gets the new logs for the install progress.
    * @return the new logs for the current install progress.
    */
-  public String getNewLogs()
+  public Message getNewLogs()
   {
     return newLogs;
   }

--
Gitblit v1.10.0