From 43e9c7913fc664b725e167090fe6d389a4558315 Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Fri, 08 Jun 2007 14:43:45 +0000
Subject: [PATCH] The following commit adds all the code necessary to be able to configure replication using the setup.

---
 opends/src/quicksetup/org/opends/quicksetup/resources/Resources.properties |  183 +++++++++++++++++++++++++++++++++++++++------
 1 files changed, 158 insertions(+), 25 deletions(-)

diff --git a/opends/src/quicksetup/org/opends/quicksetup/resources/Resources.properties b/opends/src/quicksetup/org/opends/quicksetup/resources/Resources.properties
index 7091a63..38bb0fb 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/resources/Resources.properties
+++ b/opends/src/quicksetup/org/opends/quicksetup/resources/Resources.properties
@@ -242,19 +242,19 @@
 sure you want to close the Uninstall Window?
 confirm-cancel-upgrade-title=Confirmation Required
 confirm-cancel-upgrade-msg=OpenDS QuickUpgrade has not yet completed.\nIf you \
-  click 'Yes' any changes that have been\nmade to the server being upgraded \
-  will\nbe backed out.\n\nAre you sure you want to close the QuickUpgrade Window?\n
+  click 'Yes' any changes that have been made to the server being upgraded \
+  will be backed out.\n\nAre you sure you want to close the QuickUpgrade Window?\n
 confirm-quit-upgrade-title=Confirmation Required
 confirm-quit-upgrade-msg=Are you sure you want to quit OpenDS \
 QuickUpgrade?\nIf you click 'Yes' nothing will be upgraded on your system.
 confirm-uninstall-server-not-running-msg=Confirm Uninstall\n\
-All selected files will be permanently deleted, are you sure you\n\
+All selected files will be permanently deleted, are you sure you \
 want to continue?
 confirm-uninstall-server-not-running-title=Confirm Uninstall
 confirm-uninstall-server-running-msg=Server is Running\n\
-The OpenDS server is currently running and must be stopped before\n\
-uninstallation can continue. Do you want the uninstaller to stop\n\
-the server for you and continue with the uninstall? If you click\n\
+The OpenDS server is currently running and must be stopped before \
+uninstallation can continue. Do you want the uninstaller to stop \
+the server for you and continue with the uninstall? If you click \
 No, you will need to stop the server manually to continue.
 confirm-uninstall-server-running-title=Server is Running
 confirm-cancel-title=Confirmation Required
@@ -311,7 +311,7 @@
 # Data validation errors
 #
 # Server Settings
-empty-server-location=Invalid Directory Selected\nYou must provide a valid \
+empty-server-location=Invalid Directory Selected You must provide a valid \
   OpenDS root installation directory.
 parent-directory-could-not-be-found=Could not find a parent directory for {0}.
 parent-directory-does-not-exist-confirmation=The parent directory of {0} does \
@@ -322,6 +322,7 @@
 You must have file right access on the Installation directory.
 not-enough-disk-space=There is not enough free disk space under {0}.\nAt \
 least {1} megabytes of free disk space are required to install OpenDS.
+empty-host-name=You must provide the name of the host.
 invalid-port-value-range=The LDAP Listener Port must be an integer between \
 {0} and {1}.
 invalid-secure-port-value-range=The LDAPS Listener Port must be an \
@@ -340,17 +341,46 @@
 not-equal-pwd=The passwords you have provided do not match.
 pwd-too-short=The minimum length required for the Administrative User \
 password is {0} characters.
+
+#
 # Data Replication Panel
+#
+invalid-replication-port-value-range=The Replication Port must be an integer \
+between {0} and {1}.
+invalid-remote-replication-port-value-range=The Replication Port on {0} must \
+be an integer between {1} and {2}.
+equal-ports=You must specify different ports LDAP and LDAPS communication.
+replication-port-already-chosen-for-other-protocol=You must specify a \
+different Replication port than those you chose for LDAP and LDAPS \
+communication.
+remote-replication-port-already-chosen-for-other-protocol=You must specify a \
+different Replication port for existing server {0}.  The specified port has \
+already been chosen to configure the new server.
 empty-remote-host=You must provide the fully qualified name of the host.
 invalid-remote-port=The provided port is not valid.
 empty-remote-dn=You must provide a value for the Administrative User.
 empty-remote-pwd=You must provide an Admin User password.
+not-global-administrator-provided=You must provide the Global Administrator ID \
+to be able to access the configuration of all the remote servers that have \
+been previously installed.
+server-error=Error on {0}:
+error-reading-server-configuration=Error reading configuration.  Details:\n{0}
+error-reading-registered-servers-confirm=The following errors where \
+encountered reading the configuration of the existing servers:\n{0}\n\nDo you \
+want to continue?
+certificate-exception=You must accept the certificate presented by {0}:{1}.
+cannot-connect-to-remote-authentication=The provided credentials are not valid.
 cannot-connect-to-remote-permissions=You do not have enough access rights \
 to read the configuration in {0}. \nProvide credentials with enough rights.
-cannot-connect-to-remote-generic=Could not connect to {0}. \nCheck that the \
-server is running and that the provided credentials are valid.
-remote-ads-exception=An unexpected error occurred reading the \
-configuration in {0}.\nThe error is: {1}
+cannot-connect-to-remote-generic=Could not connect to {0}. The error message \
+received is:\n{1}\nCheck that the server is running and that the provided \
+credentials are valid.
+error-configuring-remote-generic=An unexpected error occurred configuring \
+server {0}.\nThe error is: {1}
+remote-ads-exception=An unexpected error occurred managing the \
+registration information in {0}.\nThe error is: {1}
+ads-exception=An unexpected error occurred managing the registration \
+information.\nThe error is: {0}
 no-suffixes-chosen-to-replicate=You must select at least one suffix to \
 replicate contents with.
 # Create Global Administrator Panel
@@ -391,6 +421,7 @@
 data-replication-step=Topology Options
 create-global-administrator-step=Global Administrator
 suffixes-step=Data Replication
+remote-replication-ports-step=Replication Port
 data-options-step=Directory Data
 review-step=Review
 progress-step=Progress
@@ -446,6 +477,7 @@
 opends-small-icon=images/opends_logo_small.png
 help-small-icon=images/help_small.gif
 wait-tiny=images/wait_tiny.png
+wait=images/wait.gif
 
 #
 # Colors: the meaning of colors is not universal.  That is why they are included
@@ -527,6 +559,8 @@
 where the server files will be stored
 server-location-relative-tooltip=Enter the relative path to the location \
 where the server files will be stored
+host-name-label=Host Name:
+host-name-tooltip=Enter the name of the host.
 server-port-label=LDAP Listener Port:
 server-port-tooltip=Enter the port number that the server will use to listen \
 for LDAP requests
@@ -563,6 +597,9 @@
 data-replication-options-panel-title=Topology Options
 data-replication-options-panel-instructions=Choose the Data \
 Replication Options.
+replication-port-label=Replication Port:
+replication-port-tooltip=The port that will be used to send and receive \
+replication updates between this server and the other servers.
 remote-server-dn-label=Admin User:
 remote-server-dn-tooltip=The DN or the UID of an administrator in the OpenDS \
 you want to replicate data with.
@@ -575,6 +612,9 @@
 remote-server-port-label=Port:
 remote-server-port-tooltip=The LDAP port of the OpenDS you want to \
 replicate data with.
+remote-server-port-is-secure-label=Secure Port
+remote-server-port-is-secure-tooltip=Check this is the provided port is the \
+LDAPS port.
 standalone-server-label=This will be a standalone server
 standalone-server-tooltip=Check this if you do not want to replicate the \
 data on the server that you are creating with other servers.
@@ -586,6 +626,56 @@
 topology-exists-tooltip=Check this if you already created a server that you \
 want to replicate data with.
 
+
+#
+# The accept certificate dialog.
+#
+certificate-dialog-title=Certificate Not Trusted
+certificate-title=Certificate Not Trusted
+#
+# Double apostrophes required for this item.
+#
+certificate-not-trusted-text=The Certificate presented by the server {0}:{1} \
+could not be trusted.<br><br>Possible reasons for this error:\
+<br>&nbsp;&nbsp;&nbsp;&nbsp;-The Certificate Authority that issued the \
+certificate is not recognized.<br>&nbsp;&nbsp;&nbsp;&nbsp;-The server''s \
+certificate is incomplete due to a misconfiguration.\
+<br>&nbsp;&nbsp;&nbsp;&nbsp;-The server''s certificate has expired.<br>Before \
+accepting this certificate, you should examine the server''s certificate \
+carefully.<br><br>Are you willing to accept this certificate for the purpose \
+of identifying the server {0}:{1}?
+#
+# Double apostrophes required for this item.
+#
+certificate-name-mismatch-text=The Certificate presented by the server {0}:{1} \
+could not be trusted.<br><br>There is a name mismatch between the name of the \
+server ({0}) and the subject DN of the certificate.  This could be caused \
+because you are connected to a server pretending to be {0}:{1}.<br><br>\
+Before accepting this certificate, you should examine the server''s \
+certificate carefully.<br><br>Are you willing to accept this certificate for \
+the purpose of identifying the server {0}:{1}?
+certificate-show-details-text=<br><br><a href="">Show Certificate Details</a>
+certificate-hide-details-text=<br><br><a href="">Hide Certificate Details</a>
+certificate-dialog-ok-button-tooltip=Close this dialog and accept the \
+certificate.
+certificate-dialog-cancel-button-tooltip=Close this dialog and do not accept \
+the certificate.
+certificate-chain-label=Certificate Chain:
+certificate-chain-combo-tooltip=To view the details of a given certificate \
+select it.
+certificate-not-valid-yet={0} - Not valid yet
+certificate-expired={0} - Expired
+certificate-subject-label=Subject:
+certificate-issued-by-label=Issued By:
+certificate-valid-from-label=Valid From:
+certificate-expires-on-label=Expires On:
+certificate-type-label=Type:
+certificate-serial-number-label=Serial Number:
+certificate-signature-label=Signature:
+certificate-signature-algorithm-label=Signature Algorithm:
+certificate-version-label=Version:
+certificate-public-key-label=Public Key:
+
 #
 # Global Administrator specific labels
 #
@@ -603,6 +693,15 @@
 Global Administrator.
 
 #
+# Remote Replication Ports panel
+#
+remote-replication-port-instructions=You must provide the ports that will be \
+used to replicate data for the remote servers specified below.<br>The \
+specified ports must be free on the remote hosts and the user that is being \
+used to run the Directory Servers must have access rights to them.
+remote-replication-port-title=Replication Port of Remote Servers
+
+#
 # Suffixes to Replicate Panel specific labels
 #
 suffixes-to-replicate-panel-instructions=Choose whether to create suffixes \
@@ -618,6 +717,8 @@
 to replicate.
 suffix-list-replica-display-entries={0}  ({1} entries)
 suffix-list-replica-display-no-entries={0}  (no entries)
+suffix-list-replica-display-entries-not-available={0} (number of entries not \
+available)
 suffix-list-unknown-label=<unknown>
 suffix-list-empty=-No Suffixes Found-
 
@@ -641,9 +742,6 @@
 testing only)
 use-self-signed-tooltip=Create a new Self-Signed Certificate to encrypt \
 communication.
-self-signed-certificate-name-label=Host Name:
-self-signed-certificate-name-tooltip=The host name will be used to name the \
-certificate.
 use-existing-certificate-label=Use an Existing Certificate:
 use-existing-certificate-tooltip=Select this if you have already a certificate \
 you want the new server to use.
@@ -662,28 +760,26 @@
 ssl-access-label=SSL Access:
 starttls-access-label=StartTLS Access:
 certificate-label=Certificate:
-no-self-signed-cert-name-provided=You must provide the host name for the \
-Self-Signed Certificate.
 keystore-path-not-provided=You must provide the path of the key store.
 keystore-path-does-not-exist=The provided key store path does not exist.
 keystore-path-not-a-file=The provided key store path is not a file.
 keystore-pwd-empty=You must provide the password of the key store.
 error-accessing-jks-keystore=Could not access the JKS key store.  Check that \
-the contents of the file\ncorrespond to a valid JKS key store, that you have \
-access rights to it and\nthat the provided password is valid.
+the contents of the file correspond to a valid JKS key store, that you have \
+access rights to it and that the provided password is valid.
 error-accessing-pkcs11-keystore=Could not access the PKCS#11 key store.  Check \
-that is installed and that the\nprovided password is valid.
+that is installed and that the provided password is valid.
 error-accessing-pkcs12-keystore=Could not access the PKCS#12 key store.  Check \
-that the contents of the file\ncorrespond to a valid PKCS#12 key store, that \
-you have access rights to it and\nthat the provided password is valid.
+that the contents of the file correspond to a valid PKCS#12 key store, that \
+you have access rights to it and that the provided password is valid.
 pkcs11-keystore-does-not-exist=No certificates for the PCKS#11 key store could \
-be found.  Check that is\ninstalled, that you have access rights to it and \
+be found.  Check that is installed, that you have access rights to it and \
 that the key store contains certificates.
 pkcs12-keystore-does-not-exist=No certificates for the PCKS#12 key store could \
-be found.  Check that the\nprovided path and password are valid and that the \
+be found.  Check that the provided path and password are valid and that the \
 key store contains certificates.
 jks-keystore-does-not-exist=No certificates for the Java Key Store could be \
-found.  Check that the provided\npath is valid.
+found.  Check that the provided path is valid.
 
 #
 # Select Alias dialog specific labels
@@ -739,6 +835,9 @@
 start-server-label=Start Server when Configuration has Completed
 start-server-tooltip=Check this check box if you want to start the server once \
 the installation and configuration has completed
+remote-server-replication-port={0} - To be configured on remote server {1}
+install-server-must-be-temporarily-started=The Server will be temporarily \
+started.
 
 #
 # Progress Panel specific labels
@@ -813,8 +912,12 @@
 summary-importing-ldif=Importing LDIF File...
 summary-importing-automatically-generated=Importing Automatically-Generated \
 Data...
+summary-configuring-replication=Configuring Replication...
 summary-starting=Starting Directory Server...
 summary-enabling-windows-service=Enabling Windows Service...
+summary-configuring-ads=Creating Registration Configuration...
+summary-initialize-replicated-suffixes=Initializing Contents of Replicated \
+Suffixes...
 summary-install-finished-successfully=<b>OpenDS QuickSetup Completed \
 Successfully.</b><br>OpenDS is now installed in {0}.<br><br>Visit the \
 <a href="https://www.opends.org/wiki/page/QuickReferenceGuide"> \
@@ -915,6 +1018,9 @@
 upgrading-ratio=Downloading: {0}% Completed - Upgrading file: {1} % Completed.
 progress-creating-base-entry=Creating Base Entry {0}
 progress-importing-ldif=Importing LDIF file {0}:
+progress-configuring-replication=Configuring Replication
+
+progress-configuring-replication-remote=Configuring Replication on {0}
 progress-import-automatically-generated=Importing Automatically-Generated Data \
 ({0} Entries):
 progress-starting=Starting Directory Server:
@@ -933,6 +1039,16 @@
 progress-server-waiting-to-stop=Waiting for Server to stop...
 progress-server-stopped=Server stopped.
 file-does-not-exist=Path {0} does not exist.
+progress-creating-administrator=Creating Global Administrator
+administrator-already-registered=Administrator already registered.
+progress-creating-ads=Creating Registration Configuration
+progress-creating-ads-on-remote=Creating Registration Configuration on {0}
+progress-initializing-ads=Initializing Registration information
+progress-initializing-suffix=Initializing suffix {0} with the contents from \
+{1}:
+suffix-initialized-successfully=Suffix initialized successfully.
+global-administrator-description=The Administrator that can manage all the \
+OpenDS instances.
 
 #
 # Progress errors
@@ -960,7 +1076,7 @@
 error-creating-base-entry=Error Creating Base Entry.
 error-importing-ldif=Error Importing LDIF File.
 error-import-automatically-generated=Error Importing Automatically- Generated \
-Data when invoked with arguments: {0}".
+Data when invoked with arguments: {0}.
 error-starting-server-with-no-connection-handlers=Error Starting Server with \
 no connection handlers: {0}.
 error-starting-server=Error Starting Directory Server.
@@ -982,6 +1098,21 @@
 using it.
 error-copying-file=Error copying file {0} to {1}.
 info-ignoring-file=Ignoring {0} since {1} exists.
+error-connecting-to-local=An unexpected error occurred connecting to the server.
+error-launching-initialization=Error launching initialization with contents \
+from server {0}.
+initialize-progress-with-percentage={0} entries processed ({1} % complete).
+no-entries-to-initialize=No entries found to initialize.
+initialize-progress-with-processed= {0} entries processed.
+initialize-progress-with-unprocessed={0} remaining to be processed.
+error-during-initialization-no-log=Error during the initialization with \
+contents from server {0}.  Check the error logs of {0} for more information.
+error-during-initialization-log=Error during the initialization with \
+contents from server {0}.  Last log details: {1}.  Check the error logs of the \
+server for more information.
+error-pooling-initialization=Error reading the progress of the initialization \
+with contents from server {0}.
+
 
 # Upgrade errors
 error-failed-to-create-stage-directory=Failed to create staging directory {0}.
@@ -1171,7 +1302,9 @@
 
 general-loading=Loading...
 general-see-for-details=See {0} for a detailed log of this operation.
+not-available-label=<not available>
 general-build-id=Build ID
 general-unset=Unset
 general-none=None
 general-unspecified=Unspecified
+

--
Gitblit v1.10.0