// ****************************************************************************
//
//	Client-side JavaScript UI Strings 
//
// ****************************************************************************
 

// -- Generic UI strings
var L_FunctionNotFound_ErrorMessage = "Function not found.";
var L_InvalidName_ErrorMessage = "Name cannot be all blanks and cannot contain characters #, &, %, +, /,' and |.";


// ----------------------------------------------------------------------------
//
//	Delete (purge) confirm UI dialogs
//
// ----------------------------------------------------------------------------
var L_DeleteConfirm_Message = "Deleting this Page will remove it permanently from the system. Continue?";
var L_DeleteResourcesConfirm_Message = "Deleting the Resource will remove it permanently from the system. Continue?";


// ---------------------------------------------------------------------------- 
//
//	Page/Channel Properties dialog
//
// ---------------------------------------------------------------------------- 
var L_InvalidStartDate_ErrorMessage = "Invalid start date.";
var L_InvalidExpiryDate_ErrorMessage = "Invalid expiry date.";
var L_ExpiryDateLessThenStartDate_ErrorMessage = "Expiry date must occur after start date.";

// Messages in original PropsCommonClient.js
var L_NeverExpire_Text = "Never";
// alert message
var L_MissingElement_ErrorMessage = "Error: the element is undefined.";

// Error message when the user input is exceeded 2001 character for EOP
var L_InvalidNumChars_ErrorMessage = "Enter text cannot be exceeded 2,000 characters.";
var L_InvalidChars_ErrorMessage = "Enter text cannot contain ']]>'.";

// EOP types
var L_LabelEOPDisplaySelection_Text = "Selection";
var L_LabelEOPDisplay_Text = "Text";

var L_LabelEOPEnterText_Text = "Enter Text:";
var L_LabelEOPSelectValue_Text = "Select Value:";

// this "Yes" should be same as the L_EopDefaultYes_Text in PropertiesDlgUIStrings.inc
var L_EopDefaultYes_Text = "Yes";
// ---------------------------------------------------------------------------- 
//
//	Resource Browser dialogs
//
// ---------------------------------------------------------------------------- 
var L_InvalidImageType_ErrorMessage = "The selected file is not recognized as a valid image file by its file extension. Do you want to proceed?";
var L_InvalidVideoType_ErrorMessage = "The selected file is not recognized as a valid video file by its file extension. Do you want to proceed?";
var L_NoAttachmentSelected_ErrorMessage = "No attachment is selected.";
var L_NoFileSelected_ErrorMessage = "No desktop file is selected.";
var L_NoImageSelected_ErrorMessage = "No image is selected.";
var L_NoResourceSelected_ErrorMessage = "No resource is selected.";
var L_InvalidDispText_ErrorMessage = "Invalid display text.";
var L_UploadInprogressAlready_ErrorMessage = "Upload in progress already.";

// ---------------------------------------------------------------------------- 
//
//	UI Strings used in WBC Authoring Mode
//
// ---------------------------------------------------------------------------- 

var L_TempExtraForm_ErrorMessage = "The Template HTML may contain a form which conflicts with the WBC Authoring form.\n Please mask out each of the <form> and </form> tags in the Template HTML with "; 							
var L_TempExtraFormRef_ErrorMessage = 	".\nSee WBC section in the Site Programmers Guide for details.";

var L_SwitchToLiveConfirm_Message = "Switching to the live site will cancel any unsaved changes.  Continue?";
var L_WarnBeforeLeave_Message = "Refreshing or leaving this page will lose all unsaved changes.";
var L_ContentStripped_Message = "Invalid content or formatting was found and was stripped out when saved.\nCheck the placeholder properties for allowed content and formatting.";
var L_ContentStrippedForPreview_Message = "Invalid content or formatting was found and will not be shown in the preview.\n\nThe invalid content or formatting will be removed permanently when the page is saved.\nCheck the placeholder properties for allowed content and formatting.";

var L_WindowOpenerNotFound_Message = "Launching window cannot be found.";

var L_ApprovalAssistantNoPostingSel_ErrorMessage = "No pages were selected. Please select at least one page before clicking the Approve or Decline button.";

// ---------------------------------------------------------------------------- 
//
//	UI Strings used in WBC Page Editing
//
// ---------------------------------------------------------------------------- 
var L_EmpyChannel_ErrorMessage = "No Destination Channel has been selected.";

// ---------------------------------------------------------------------------- 
//
//	For the Insert Table dialog
//
// ---------------------------------------------------------------------------- 
var L_InvalidRows_ErrorMessage = "Number of rows must be a number.";
var L_InvalidColumns_ErrorMessage = "Number of columns must be a number.";
var L_InvalidColumnsRange_ErrorMessage = "Number of columns must be a number greater than zero.";
var L_InvalidRowsRange_ErrorMessage = "Number of rows must be a number greater than zero.";

// Abbrev. for Row and column
var L_LabelRow_Text = "Row";
var L_LabelCol_Text = "Col";

// ---------------------------------------------------------------------------- 
//
//	For the Insert Hyperlink dialog
//
// ---------------------------------------------------------------------------- 
var L_HlinkCustomWinName_Message = "Please enter your custom window name";
var L_HlinkWarnEmpty_Message = "You did not specify a Hyperlink Address or a Name.\r\n As a result the selection in the placeholder will receive no anchor tag.\r\n\r\n Do you want to proceed?";
var L_HlinkWarnRelLink_Message = "You seemed to have specified a relative URL.\r\n Relative URL is currently not supported by Content Management Server.\r\n\r\n Do you want to continue?";

var L_NoSelectedLink_ErrorMessage = "No Internal Link has been selected.";

// ---------------------------------------------------------------------------- 
//
//	Revision History dialog
//
// ---------------------------------------------------------------------------- 
var L_LabelSelectDescription_Text = "Select revision";
//var IDS_UI_ALERT_EXCEED_SELECTED_MESSAGE = "Only two revisions can be compared at one time.\n\nYou have already selected three revisions. The last\nselected revision will be removed from the list.";
var L_InvalidState_ErrorMessage = "Invalid state of filter";
// error message for the invalid selection
var L_AlertLessSelected_ErrorMessage = "Two revisions must be chosen for comparison.\nChoose two revisions by selecting two check\nboxes in the lists.";
// from PageRevisionErrorDialog
var L_DisplaySlected_ErrorMessage = "Only two revisions can be compared at one time. Please clear one revision.";

var L_AlertExceedSelected_Message = "You have selected three revisions to compare. Only two revisions can be compared at one time. Please clear one revision:";

// Should be the same as the three strings declared in PageRevisionUIStrings.inc
var L_LabelCausedByPage_Text = "Page";
var L_LabelCausedByTemplate_Text = "Template";
var L_LabelCausedByResource_Text = "Shared Resource";
// ---------------------------------------------------------------------------- 
//
//	AuthFormClientIE 
//
// ---------------------------------------------------------------------------- 
var L_FailedToInsertHyperLink_ErrorMessage = "Failed to insert hyperlink!";
var L_NoSelectedTextForHyperlink_ErrorMessage = "There is no selected text or object for hyperlinking.";

// ---------------------------------------------------------------------------- 
//
//	Dates.js
//
// ---------------------------------------------------------------------------- 
// Month names
var L_JSMonthJan_Text = "Jan";
var L_JSMonthFeb_Text = "Feb";
var L_JSMonthMar_Text = "Mar";
var L_JSMonthApr_Text = "Apr";
var L_JSMonthMay_Text = "May";
var L_JSMonthJun_Text = "Jun";
var L_JSMonthJul_Text = "Jul";
var L_JSMonthAug_Text = "Aug";
var L_JSMonthSep_Text = "Sep";
var L_JSMonthOct_Text = "Oct";
var L_JSMonthNov_Text = "Nov";
var L_JSMonthDec_Text = "Dec";

// ---------------------------------------------------------------------------- 
//
//	compose.js
//
// ---------------------------------------------------------------------------- 
var L_DHTMLToolbarFailedInit_ErrorMessage = "The toolbar with the following ID failed to initialize:";
var L_DHTMLInitProblem_ErrorMessage = "The element with the following ID has problem with initialization: ";
var L_DHTMLInvalidClass_ErrorMessage = "An element has invalid class name. The element ID: ";
var L_DHTMLClassName_ErrorMessage = "\nInvalid class name: ";
var L_DHTMLUncheckHtml_ErrorMessage = "Please uncheck the \"HTML\" checkbox to use the toolbars";
var L_DHTMLNoSelTextObj_ErrorMessage = "There is no selected text or object for hyperlinking.";
var L_DHTMLFailedInsertHyperlink_ErrorMessage = "Failed to insert hyperlink!";
