From 2e7a20a59e968a6b73e3fb9e11f4fffc7e73d121 Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Tue, 25 Sep 2007 14:45:59 +0000
Subject: [PATCH] Fix for issue  2261 (dsreplication should provide a view of the replicated baseDNs in a topology).

---
 opendj-sdk/opends/src/messages/messages/admin_tool.properties |   54 ++++++++++++++++++++++++++++++++++++++++++------------
 1 files changed, 42 insertions(+), 12 deletions(-)

diff --git a/opendj-sdk/opends/src/messages/messages/admin_tool.properties b/opendj-sdk/opends/src/messages/messages/admin_tool.properties
index 919a251..b64e3b6 100644
--- a/opendj-sdk/opends/src/messages/messages/admin_tool.properties
+++ b/opendj-sdk/opends/src/messages/messages/admin_tool.properties
@@ -306,8 +306,8 @@
 INFO_STATUSPANEL_DIALOG_TITLE=OpenDS Status Panel
 INFO_STOP_BUTTON_LABEL=Stop
 INFO_STOP_BUTTON_TOOLTIP=Stops the Directory Server
-INFO_SUFFIX_NOT_REPLICATED_LABEL=Disabled
-INFO_SUFFIX_REPLICATED_LABEL=Enabled
+INFO_BASEDN_NOT_REPLICATED_LABEL=Disabled
+INFO_BASEDN_REPLICATED_LABEL=Enabled
 INFO_SUMMARY_DELETING_EXTERNAL_DB_FILES=Deleting Database Files outside the \
  Installation Path...
 INFO_SUMMARY_DELETING_EXTERNAL_LOG_FILES=Deleting Log Files outside the \
@@ -496,6 +496,10 @@
 INFO_DESCRIPTION_SUBCMD_DISABLE_REPLICATION=Disables replication on the \
  specified server for the provided Base DN and removes references in the other \
  servers with which it is replicating data.
+INFO_DESCRIPTION_SUBCMD_STATUS_REPLICATION=Displays a list with the basic \
+ replication configuration of the base DNs of the servers defined in the \
+ registration information.  If no base DNs are specified as parameter the \
+ information for all base DNs is displayed.
 SEVERE_ERR_REPLICATION_NO_BASE_DN_PROVIDED=You must provide at least one base \
  DN in no interactive mode.
 SEVERE_ERR_REPLICATION_NO_ADMINISTRATOR_PASSWORD_PROVIDED=You must provide the \
@@ -516,6 +520,8 @@
  replication port (%s) for two servers located on the same machine (%s).
 SEVERE_ERR_REPLICATION_VALID_SUBCOMMAND_NOT_FOUND=Could not find a valid \
  subcommand.
+SEVERE_ERR_REPLICATION_STATUS_QUIET=The {%s} subcommand is not compatible with \
+ the {%s} argument.
 INFO_REPLICATION_SUCCESSFUL=The operation has been successfully completed
 INFO_REPLICATION_SUCCESSFUL_NOP=The operation has been successfully completed, \
  but no action was required
@@ -567,6 +573,8 @@
 INFO_REPLICATION_DISABLE_BINDDN_PROMPT=Global Administrator User ID (or bind \
  DN if no Global Administrator is defined)
 INFO_REPLICATION_DISABLE_PASSWORD_PROMPT=Password for %s:
+INFO_REPLICATION_STATUS_HOSTNAME_PROMPT=Host name of the server
+INFO_REPLICATION_STATUS_PORT_PROMPT=LDAP port of the server
 INFO_REPLICATION_INITIALIZE_HOSTNAMEDESTINATION_PROMPT=Host name of the \
  destination server
 INFO_REPLICATION_INITIALIZE_PORTDESTINATION_PROMPT=LDAP port of the \
@@ -608,10 +616,13 @@
 INFO_REPLICATION_DISABLE_SUFFIX_PROMPT=Disable replication on base DN %s?
 MILD_ERR_REPLICATION_READING_REGISTERED_SERVERS_CONFIRM_UPDATE_REMOTE=The \
  following errors were encountered reading the configuration of the existing \
- servers:\n%s\nIf you continue the replication tool will to try to update the \
- configuration of all the servers in a best-effort mode.  However it cannot \
- guarantee that the servers that are generating errors will be updated.  Do \
- you want to continue?
+ servers:%n%s%n%nIf you continue the replication tool will to try to update \
+ the configuration of all the servers in a best-effort mode.  However it \
+ cannot guarantee that the servers that are generating errors will be \
+ updated.  Do you want to continue?
+MILD_ERR_REPLICATION_STATUS_READING_REGISTERED_SERVERS=The displayed \
+ information might not be complete because the following errors were \
+ encountered reading the configuration of the existing servers:%n%s
 MILD_ERR_NOT_ADMINISTRATIVE_USER=You do not have access rights to the \
  configuration of the server.
 INFO_REPLICATION_CONFIRM_DISABLE_ADS=You chose to disable replication on \
@@ -650,7 +661,7 @@
 INFO_ENABLE_REPLICATION_INITIALIZING_ADS=Initializing Registration information \
  on server %s with the contents of server %s
 SEVERE_ERR_REPLICATION_ENABLE_SEEDING_TRUSTSTORE=An unexpected error occurred \
- seeding the truststore contentes.  Details: %s
+ seeding the truststore contents.  Details: %s
 SEVERE_ERR_INITIALIZING_REPLICATIONID_NOT_FOUND=Error initializing.  Could not \
  find replication ID in the server %s for base DN %s.
 SEVERE_ERR_REPLICATION_INITIALIZING_TRIES_COMPLETED=Error initializing.  Could \
@@ -664,11 +675,30 @@
 SEVERE_ERR_REPLICATION_READING_ADS=Error reading Registration information.  \
  Details: %s
 SEVERE_ERR_REPLICATION_ADS_MERGE_NOT_SUPPORTED=The registry information found \
-in servers %s and %s is different.  This tool does not allow to handle this \
-scenario.
+ in servers %s and %s is different.  This tool does not allow to handle this \
+ scenario.
 SEVERE_ERR_REPLICATION_ERROR_READING_CONFIGURATION=Error reading replication \
-configuration of server %s.  Details: %s
+ configuration of server %s.  Details: %s
 INFO_REPLICATION_REMOVING_REFERENCES_ON_REMOTE=Removing references on base DN \
-%s of server %s
+ %s of server %s
 INFO_REPLICATION_DISABLING_BASEDN=Disabling replication on base DN %s of \
-server %s
\ No newline at end of file
+ server %s
+INFO_REPLICATION_STATUS_NO_BASEDNS=No base DNs found.
+INFO_REPLICATION_STATUS_BASEDN=Base DN
+INFO_REPLICATION_STATUS_IS_REPLICATED=Replication
+INFO_REPLICATION_STATUS_REPLICATED=%s - Replication Enabled
+INFO_REPLICATION_STATUS_NOT_REPLICATED=%s - Replication Disabled
+INFO_REPLICATION_STATUS_HEADER_SERVERPORT=Server:port
+INFO_REPLICATION_STATUS_HEADER_NUMBER_ENTRIES=Entries
+INFO_REPLICATION_STATUS_HEADER_MISSING_CHANGES=Missing Changes (1)
+INFO_REPLICATION_STATUS_HEADER_AGE_OF_OLDEST_MISSING_CHANGE=A.O.M.C. (2)
+INFO_REPLICATION_STATUS_REPLICATED_LEGEND=[1] The number of changes that are \
+ still missing on this server (and that have been at least applied to one of \
+ the other servers).%n[2] Age of oldest missing change: the age (in \
+ seconds) of the oldest change that has not arrived to this server.
+INFO_REPLICATION_STATUS_LABEL_SERVERPORT=Server
+INFO_REPLICATION_STATUS_LABEL_NUMBER_ENTRIES=Entries
+INFO_REPLICATION_STATUS_LABEL_MISSING_CHANGES=Missing Changes
+INFO_REPLICATION_STATUS_LABEL_AGE_OF_OLDEST_MISSING_CHANGE=Age of oldest \
+missing change
+

--
Gitblit v1.10.0