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/EnumPropertyDefinition.java | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/opends/src/server/org/opends/server/admin/EnumPropertyDefinition.java b/opends/src/server/org/opends/server/admin/EnumPropertyDefinition.java
index 5a22bcf..aa75b06 100644
--- a/opends/src/server/org/opends/server/admin/EnumPropertyDefinition.java
+++ b/opends/src/server/org/opends/server/admin/EnumPropertyDefinition.java
@@ -26,6 +26,7 @@
*/
package org.opends.server.admin;
+import org.opends.messages.Message;
@@ -214,7 +215,7 @@
* of this enumeration property definition in the default
* locale.
*/
- public final String getValueSynopsis(E value) {
+ public final Message getValueSynopsis(E value) {
return getValueSynopsis(Locale.getDefault(), value);
}
@@ -232,7 +233,7 @@
* of this enumeration property definition in the specified
* locale.
*/
- public final String getValueSynopsis(Locale locale, E value) {
+ public final Message getValueSynopsis(Locale locale, E value) {
ManagedObjectDefinitionI18NResource resource =
ManagedObjectDefinitionI18NResource.getInstance();
String property = "property." + getName()
--
Gitblit v1.10.0