// Copyright © 2005 Cuadra Associates, Inc. All rights reserved.
// caMessages.js
// Indicate line breaks with '\n'.  HTML features (e.g., <b>) will not be recognized.

// Text for alert generated when the pre-update validation encounters an occurrence of a field longer
// than the max.  [The cursor will be positioned in the offending field.]
var caOccurrenceTooLong = "Cannot update. A field occurrence is longer than 1014 characters." ;

// Text for alert generated when the user clicks on a browser navigation button (e.g., X, Next, Previous...)
var caDataEntryUnauthorizedNavigation = 
	"Back, Forward, and Reload operations can result in a corrupted database.\n" +
	"Click the 'Cancel' button followed by the 'Close' button\n" +
	"to close this window before continuing.\n" ;
									  
// Text for alert generated when the user attempts to navigate to a DE window that contains an active
// document.  [The command will be ignored, and the DE window will receive the focus.]
var caDataEntryWindowInUse = "You are already editing a document in this window." ;


var caListBoxMaxLengthExceeded =
	"Clicking this entry caused the maximum field length to be exceeded. Reverting to previous value." ;

var caTextFieldMaxLengthExceeded =
	"Maximum field length exceeded, text truncated." ;
	
var caDataClearFields =
	"Unable to clear specified field: " ;  // field name is concatenated

var caDataEntryWindowBadNumeric =
	"Numeric field contains non-numeric characters." ; 

var caDataEntryTextUpperCase =
	"Upper case field contains non upper case characters." 
	
var caDataEntryUnrecognizedActionType =  // type is concatenated
	"Unrecognized action type: ";
	
// This should not happen (system error), but means that no element could be found in 
// a newly created row. Element would be used to set the current source element.	
var caDataEntryUnabletoLocateSubField =
	"Unable to locate subfield.";
	
var caDataEntryUnabletoLocateField =
	"Unable to locate field name: ";
	
var caDataEntryAppendtoNonRepeatingField =
	"Attempt to append to non-repeating field.";

// This should not happen (system error), but means that an 
// occurrence was inserted that did not have an editable element
// or following a delete of an occurrence no editabl element
// could be found.	
var caDataEntryNoEditableField =
	"No editable field!"; 
	
// Attempt to insert an occurrence into a non-repeating field	
var caDataEntryInsertintoNonRepeatingField =
	"Attempt to insert into a non-repeating field.";
	
var caDataEntryNoSuchPickListFieldName =
	"Field name associated with picklist does not exist in document, field name: " ;

// Using original name subfield could not be found in the current field
// This is a case where field name is ""	
var caDataEntryNoSuchSubFieldinCurrentField =
	"Subfield could not be found in the current field."
	
var caSubmitIndirectFails =
	"Submit Indirect not in SELECT element!" ;

var caCannotFindTarget =
	"Can't find target."						

var caNoEditableField =
	"No editable field!"; 
	
var caDataEntryDeleteNonRepeatingField =
	"Attempt to delete an occurrence in a non-repeating field."	
	
var caDataEntryExchangeDisplayElementNotFound =
	"The requested element was not found. (Name="

var caDataEntryCopyTo_mainFrameNameNotFound =
	"No matching name in "
