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/ProgressDescriptor.java | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/opends/src/quicksetup/org/opends/quicksetup/ProgressDescriptor.java b/opends/src/quicksetup/org/opends/quicksetup/ProgressDescriptor.java
index b6a7f16..80a69d6 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/ProgressDescriptor.java
+++ b/opends/src/quicksetup/org/opends/quicksetup/ProgressDescriptor.java
@@ -27,6 +27,8 @@
package org.opends.quicksetup;
+import org.opends.messages.Message;
+
/**
* This class is used to describe the current state of the installation.
* It contains the step in which the installation is, the current progress
@@ -48,9 +50,9 @@
private Integer progressBarRatio;
- private String progressBarMsg;
+ private Message progressBarMsg;
- private String detailsMsg;
+ private Message detailsMsg;
/**
* Constructor for the ProgressDescriptor.
@@ -60,7 +62,7 @@
* @param detailsMsg the logs.
*/
public ProgressDescriptor(ProgressStep step,
- Integer progressBarRatio, String progressBarMsg, String detailsMsg)
+ Integer progressBarRatio, Message progressBarMsg, Message detailsMsg)
{
this.step = step;
this.progressBarRatio = progressBarRatio;
@@ -72,7 +74,7 @@
* Returns the details message (the log message) of the install.
* @return the details message (the log message) of the install.
*/
- public String getDetailsMsg()
+ public Message getDetailsMsg()
{
return detailsMsg;
}
@@ -81,7 +83,7 @@
* Returns the progress bar message.
* @return the progress bar message.
*/
- public String getProgressBarMsg()
+ public Message getProgressBarMsg()
{
return progressBarMsg;
}
--
Gitblit v1.10.0