//
// Chan Locale Script
//
// en
// English (British)
//

//
// Default Language is English, these strings can be overridden by subsequently loading a custom Locale script
//
var STR_FORM_IS_INVALID         = "Could not send the form because it was invalid, please correct the highlighted entries before trying again.";
var STR_FIELD_IS_MANDATORY      = "This field is required.";

var STR_TAB_IS_INVALID_SWITCH   = "Can not switch away from the current tab as it contains entries that are invalid.";
var STR_TAB_IS_INVALID          = "This tab contains invalid items.";

var STR_STRING_TOO_SHORT        = "Entered text is too short, currently: {0} chars, Min: {1}";		//{0} = Current Length , {1} = Minimum Length
var STR_STRING_TOO_LONG         = "Entered text is too long, currently: {0} chars, Max: {1}";		//{0} = Current Length , {1} = Maximum Length

var STR_NUMERIC_IS_NAN          = "A numeric value is required";
var STR_NUMERIC_REFORMATTED     = "This field has been reformatted to meet its Min,Max and Decimal Places, please check the new value before re-submitting.";
var STR_NUMERIC_BELOW_MIN		= "The minimum value is {0}";
var STR_NUMERIC_ABOVE_MAX		= "The maximum value is {0}";

var STR_INT32_OVERFLOW			= "Value is too large, must be within +/- 2147483647";

var STR_DATE_INVALID 			= "Invalid date. Possibly due to 31st of Apr,Jun,Sep,Nov or 29th Feb in non leap year."
var STR_DATE_IS_NAN				= "Unable to convert into a date, ensure the days and year boxes only contain numbers."
var STR_DATE_BELOW_MIN			= "Date can not be before {0}";		//{0} = Min Date
var STR_DATE_ABOVE_MAX			= "Date can not be after {0}";		//{0} = Max Date

var ARR_MONTHS_THREE			= [ "" , "Jan" , "Feb" , "Mar" , "Apr" , "May" , "Jun" , "Jul" , "Aug" , "Sep" , "Oct" , "Nov" , "Dec" ];	// 1-based
//var ARR_MONTHS_FULL				= [ "" , "January" , "February" , "March" , "April" , "May" , "June" , "July" , "August" , "September" , "October" , "November" , "December" ];	// 1-based
var ARR_DAYS_TWO				= [ "Su" , "Mo" , "Tu" , "We" , "Th" , "Fr" , "Sa" , "Su" ];	//Sunday is 0 and 7
//var ARR_DAYS_THREE				= [ "Sun" , "Mon" , "Tue" , "Wed" , "Thu" , "Fri" , "Sat" , "Sun" ];	//Sunday is 0 and 7
//var ARR_DAYS_FULL				= [ "Sunday" , "Monday" , "Tuesday" , "Wednesday" , "Thursday" , "Friday" , "Saturday" , "Sunday" ];	//Sunday is 0 and 7
	

// Todo, centralise numeric formatting here, specifically decmial and thousands chars
// if we ever support currency directly we'll need a currency char here too

