From 27ea664735339eb6127bfb575a587af24cd317fe Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Wed, 25 Mar 2009 10:32:39 +0000
Subject: [PATCH] Fix for issue 3297 (English answer hardcoded in tools.properties) Use localized strings to check the answer provided by the user. Be more permisive and make a non-case sensitive check of the user's answer (so know Yes is accepted).

---
 opendj-sdk/opends/src/messages/messages/tools.properties |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/opendj-sdk/opends/src/messages/messages/tools.properties b/opendj-sdk/opends/src/messages/messages/tools.properties
index d0d3105..a420be9 100644
--- a/opendj-sdk/opends/src/messages/messages/tools.properties
+++ b/opendj-sdk/opends/src/messages/messages/tools.properties
@@ -407,8 +407,8 @@
  I?' response from the Directory Server:  %s
 MILD_ERR_LDAPAUTH_WHOAMI_FAILED_204=The 'Who Am I?' request was rejected by \
  the Directory Server
-SEVERE_ERR_SEARCH_INVALID_SEARCH_SCOPE_205=Invalid scope %s specified for the \
- search request
+SEVERE_ERR_SEARCH_INVALID_SEARCH_SCOPE_205=Invalid scope '%s' specified for \
+ the search request
 SEVERE_ERR_SEARCH_NO_FILTERS_206=No filters specified for the search request
 INFO_VERIFYINDEX_DESCRIPTION_BASE_DN_207=Base DN of a backend \
  supporting indexing. Verification is performed on indexes within the scope of \
@@ -2452,5 +2452,13 @@
 the instance directory %s.\nInstance directory is referenced by %s
 INFO_LDIFEXPORT_PATH_TO_LDIF_FILE_1662=Exporting to %s
 
+#
+# These are the localized version of the answers that the user can provide in 
+# interactive tools.  
+#
+INFO_PROMPT_YES_COMPLETE_ANSWER_1663=yes
+INFO_PROMPT_YES_FIRST_LETTER_ANSWER_1664=y
+INFO_PROMPT_NO_COMPLETE_ANSWER_1665=no
+INFO_PROMPT_NO_FIRST_LETTER_ANSWER_1666=n
 
 

--
Gitblit v1.10.0