From cfc513043c5830b5a967733066068c7097b42e3c 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.
---
opendj-sdk/opends/src/server/org/opends/server/admin/PropertyDefinition.java | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/opendj-sdk/opends/src/server/org/opends/server/admin/PropertyDefinition.java b/opendj-sdk/opends/src/server/org/opends/server/admin/PropertyDefinition.java
index e26e465..fe7c856 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/admin/PropertyDefinition.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/admin/PropertyDefinition.java
@@ -26,6 +26,7 @@
*/
package org.opends.server.admin;
+import org.opends.messages.Message;
@@ -467,7 +468,7 @@
* the default locale, or <code>null</code> if there is no
* description.
*/
- public final String getDescription() {
+ public final Message getDescription() {
return getDescription(Locale.getDefault());
}
@@ -483,7 +484,7 @@
* the specified locale, or <code>null</code> if there is
* no description.
*/
- public final String getDescription(Locale locale) {
+ public final Message getDescription(Locale locale) {
ManagedObjectDefinitionI18NResource resource =
ManagedObjectDefinitionI18NResource.getInstance();
String property = "property." + propertyName + ".description";
@@ -528,7 +529,7 @@
* @return Returns the synopsis of this property definition in the
* default locale.
*/
- public final String getSynopsis() {
+ public final Message getSynopsis() {
return getSynopsis(Locale.getDefault());
}
@@ -543,7 +544,7 @@
* @return Returns the synopsis of this property definition in the
* specified locale.
*/
- public final String getSynopsis(Locale locale) {
+ public final Message getSynopsis(Locale locale) {
ManagedObjectDefinitionI18NResource resource =
ManagedObjectDefinitionI18NResource.getInstance();
String property = "property." + propertyName + ".synopsis";
--
Gitblit v1.10.0