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/UserInteraction.java | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/opends/src/quicksetup/org/opends/quicksetup/UserInteraction.java b/opends/src/quicksetup/org/opends/quicksetup/UserInteraction.java
index 47877c9..3cf0736 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/UserInteraction.java
+++ b/opends/src/quicksetup/org/opends/quicksetup/UserInteraction.java
@@ -26,6 +26,7 @@
*/
package org.opends.quicksetup;
+import org.opends.messages.Message;
import java.util.List;
@@ -70,8 +71,9 @@
* @return Object that is the same value as the user selection from the
* <code>options</code> parameter.
*/
- Object confirm(String summary, String detail,
- String title, MessageType type, String[] options, String def);
+ Object confirm(Message summary, Message detail,
+ Message title, MessageType type,
+ Message[] options, Message def);
/**
* Present a list of choices to the user and wait for them to select one
@@ -92,9 +94,9 @@
* @return Object that is the same value as the user selection from the
* <code>options</code> parameter.
*/
- Object confirm(String summary, String detail, String fineDetails,
- String title, MessageType type, String[] options, String def,
- String viewDetailsOption);
+ Object confirm(Message summary, Message detail, Message fineDetails,
+ Message title, MessageType type, Message[] options,
+ Message def, Message viewDetailsOption);
/**
* Creates a list appropriate for the presentation implementation.
--
Gitblit v1.10.0