// Language resource file for client-side script<BR>
// US English<BR>
// <BR>
// <B>Do NOT edit in Design view. Switch to Source View</B><BR>
// <SCRIPT>

// String validation error stings for isValidString (localize); @ is replaced at run-time by item name, # is replaced by friendly valid character description
var msgValidCharacters      = "@ contains one or more invalid characters. Valid characters for @ are #";
var msgConjunction          = " and ";  // joins character names when more than one is valid
var msgOtherValidChars      = "the following character(s): \n\n";  // prefix for display of other valid characters (not named)

var nameHexNumbers          = "hexadecimal numbers";
var nameLetters             = "letters";
var nameNumbers             = "numbers";
var nameSpaces              = "spaces";
var nameDashes              = "dashes";
var nameDots                = "dots (periods)";
var nameComma               = "commas";
var nameUnderscores         = "underscores";

// Description validation error strings for isValidTextData (localize); @ is replaced at run-time by item name
var jsErrInvalidDescription = "%S1 contains one or more invalid characters. %S1 may not contain double quotes.";
var jsErrInvalidCharacters  = "%S1 contains one or more invalid characters. Invalid characters are double quotes and %S2";
var jsErrSpacesNotAllowed   = "%S1 may not contain spaces."
var lblDescription          = "Description";
var lblAnItem               = "An item";

// Standard messages for validation errors
var jsErrDuplicate  = "@ with the name # already exists. Please enter a unique Name for this item to continue.";
var jsErrIsRequired = "@ is a required field. Please enter the value for @ to continue.";
var jsErrIsTooLong  = "@ cannot contain more than # characters. Please correct the value for @ to continue.";
var jsErrIsTooShort = "@ cannot contain less than # characters. Please correct the value for @ to continue.";
var jsErrOutOfRange = "@ must be a value from # to % (inclusive). Please correct the value for @ to continue.";

// Delete confirmation prompt (localize); @ is replaced at run-time by item name
var msgDeleteConfirm = "You are about to permanently delete this @. \nThis action cannot be undone.\n \nContinue?";

// Reset confirmation prompts (localize); # is replaced at run-time by number of affected devices
var msgMultiDeviceResetNeeded = "# device(s) need to be restarted for these changes to take effect. Calls \n"
                               + "in progress on an affected gateway may be dropped when the gateway is restarted. \n \n"
                               + "To restart the affected devices, click the Restart Devices button when \n"
                               + "the update is complete. If you don't want to restart the devices now, \n"
                               + "you can return to this item at any time and click the Restart Devices \n"
                               + "button to initiate the required device restarts.";
var msgMultiDeviceResetConfirm = "You are about to reset # device(s) associated with this item. \n"
                               + "Calls in progress on affected gateways may be dropped. \n"
                               + "\nContinue?";
var msgMultiDeviceResetInitiate = "Attempting to reset # device(s). The device(s) reset as soon \n"
                                + "as possible; calls in progress on gateways might be dropped.";
var msgMultiDeviceResetNoDevices = "There are no associated devices to reset.";

// Generic error status message displayed in browser's status bar (localize)
var jsStatusProcessing = "Processing...";
var jsStatusValidating = "Validating...";
var jsStatusError = "The form contains one or more errors";
var jsMsgErrorNo = "Error No. ";

// Remote Scripting support messages (localize)
var lblRemoteScriptingError = "Remote Scripting Error";
var lblErrorInfo = "Error Information"
var lblDetails = "Details";
var lblClose = "Close";

var maskLocalAlphabet = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";  // base ASCII chars only
