From 81d36161ce5367fa7aa9a5d99dc8b80eacfa7cdf Mon Sep 17 00:00:00 2001
From: Nicolas Capponi <nicolas.capponi@forgerock.com>
Date: Fri, 24 Jan 2014 14:43:46 +0000
Subject: [PATCH] Checkpoint commit for OPENDJ-1288 : Migrate I18n and logging support to i18n framework and SLF4J
---
opendj3-server-dev/src/quicksetup/org/opends/quicksetup/ui/GuiApplication.java | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/opendj3-server-dev/src/quicksetup/org/opends/quicksetup/ui/GuiApplication.java b/opendj3-server-dev/src/quicksetup/org/opends/quicksetup/ui/GuiApplication.java
index 4a0f812..d75c29f 100644
--- a/opendj3-server-dev/src/quicksetup/org/opends/quicksetup/ui/GuiApplication.java
+++ b/opendj3-server-dev/src/quicksetup/org/opends/quicksetup/ui/GuiApplication.java
@@ -22,7 +22,7 @@
*
*
* Copyright 2008-2010 Sun Microsystems, Inc.
- * Portions copyright 2012-2013 ForgeRock AS.
+ * Portions Copyright 2012-2014 ForgeRock AS.
*/
package org.opends.quicksetup.ui;
@@ -36,7 +36,7 @@
import org.opends.quicksetup.UserDataException;
import org.opends.quicksetup.WizardStep;
import org.opends.quicksetup.webstart.WebStartDownloader;
-import org.opends.messages.Message;
+import org.forgerock.i18n.LocalizableMessage;
import static org.opends.messages.QuickSetupMessages.*;
import javax.swing.*;
@@ -81,7 +81,7 @@
* in some operating systems.
* @return internationalized String representing the frame title
*/
- abstract public Message getFrameTitle();
+ abstract public LocalizableMessage getFrameTitle();
/**
* Returns the initial wizard step.
@@ -124,7 +124,7 @@
* Returns the tab formatted.
* @return the tab formatted.
*/
- protected Message getTab()
+ protected LocalizableMessage getTab()
{
return formatter.getTab();
}
@@ -375,7 +375,7 @@
* Gets the key for the close button's tool tip text.
* @return String key of the text in the resource bundle
*/
- public Message getCloseButtonToolTip() {
+ public LocalizableMessage getCloseButtonToolTip() {
return INFO_CLOSE_BUTTON_TOOLTIP.get();
}
@@ -383,7 +383,7 @@
* Gets the key for the quit button's tool tip text.
* @return String key of the text in the resource bundle
*/
- public Message getQuitButtonToolTip() {
+ public LocalizableMessage getQuitButtonToolTip() {
return INFO_QUIT_BUTTON_INSTALL_TOOLTIP.get();
}
@@ -391,7 +391,7 @@
* Gets the key for the finish button's tool tip text.
* @return String key of the text in the resource bundle
*/
- public Message getFinishButtonToolTip() {
+ public LocalizableMessage getFinishButtonToolTip() {
return INFO_FINISH_BUTTON_TOOLTIP.get();
}
@@ -399,7 +399,7 @@
* Gets the key for the finish button's label.
* @return String key of the text in the resource bundle
*/
- public Message getFinishButtonLabel() {
+ public LocalizableMessage getFinishButtonLabel() {
return INFO_FINISH_BUTTON_LABEL.get();
}
@@ -506,7 +506,7 @@
{
lastPercentage = perc;
int ratio = (perc * maxRatio) / 100;
- Message summary;
+ LocalizableMessage summary;
switch (downloadStatus)
{
case VALIDATING:
--
Gitblit v1.10.0