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/server/org/opends/server/admin/IntegerPropertyDefinition.java |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/opends/src/server/org/opends/server/admin/IntegerPropertyDefinition.java b/opends/src/server/org/opends/server/admin/IntegerPropertyDefinition.java
index 4904066..601bf03 100644
--- a/opends/src/server/org/opends/server/admin/IntegerPropertyDefinition.java
+++ b/opends/src/server/org/opends/server/admin/IntegerPropertyDefinition.java
@@ -26,6 +26,7 @@
  */
 
 package org.opends.server.admin;
+import org.opends.messages.Message;
 
 
 
@@ -228,7 +229,7 @@
    *         definition in the default locale, or <code>null</code>
    *         if there is no unit synopsis.
    */
-  public String getUnitSynopsis() {
+  public Message getUnitSynopsis() {
     return getUnitSynopsis(Locale.getDefault());
   }
 
@@ -244,7 +245,7 @@
    *         definition in the specified locale, or <code>null</code>
    *         if there is no unit synopsis.
    */
-  public String getUnitSynopsis(Locale locale) {
+  public Message getUnitSynopsis(Locale locale) {
     ManagedObjectDefinitionI18NResource resource =
       ManagedObjectDefinitionI18NResource.getInstance();
     String property = "property." + getName() + ".syntax.integer.unit-synopsis";

--
Gitblit v1.10.0