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/ui/QuickSetupErrorPanel.java | 14 ++++++++------
1 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/opends/src/quicksetup/org/opends/quicksetup/ui/QuickSetupErrorPanel.java b/opends/src/quicksetup/org/opends/quicksetup/ui/QuickSetupErrorPanel.java
index 7599a61..842814b 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/ui/QuickSetupErrorPanel.java
+++ b/opends/src/quicksetup/org/opends/quicksetup/ui/QuickSetupErrorPanel.java
@@ -42,6 +42,7 @@
import org.opends.quicksetup.CurrentInstallStatus;
import org.opends.quicksetup.event.ButtonActionListener;
import org.opends.quicksetup.event.ButtonEvent;
+import static org.opends.messages.QuickSetupMessages.*;
/**
* This class is a panel that contains an error message and a quit button.
@@ -82,8 +83,9 @@
gbc.fill = GridBagConstraints.BOTH;
gbc.insets.left = 0;
JTextComponent tf =
- UIFactory.makeHtmlPane(installStatus.getInstallationMsg(),
- UIFactory.INSTRUCTIONS_FONT);
+ UIFactory.makeHtmlPane(
+ installStatus.getInstallationMsg(),
+ UIFactory.INSTRUCTIONS_FONT);
tf.setOpaque(false);
tf.setEditable(false);
p1.add(tf, gbc);
@@ -100,8 +102,8 @@
gbc.gridwidth = 3;
p2.add(Box.createHorizontalGlue(), gbc);
quitButton =
- UIFactory.makeJButton(getMsg("quit-button-label"),
- getMsg("quit-button-install-tooltip"));
+ UIFactory.makeJButton(INFO_QUIT_BUTTON_LABEL.get(),
+ INFO_QUIT_BUTTON_INSTALL_TOOLTIP.get());
final ButtonName fQuitButtonName = ButtonName.QUIT;
@@ -119,8 +121,8 @@
quitButton.addActionListener(quitListener);
continueButton =
- UIFactory.makeJButton(getMsg("continue-button-label"),
- getMsg("continue-button-install-tooltip"));
+ UIFactory.makeJButton(INFO_CONTINUE_BUTTON_LABEL.get(),
+ INFO_CONTINUE_BUTTON_INSTALL_TOOLTIP.get());
final ButtonName fContinueButtonName = ButtonName.CONTINUE_INSTALL;
ActionListener continueListener = new ActionListener()
--
Gitblit v1.10.0