PageSourceSearch

https://besorassociates.com/js/localization-en_US.js

js besorassociates.com collected 2026-10-07 11:04:09 UTC 5,686 bytes, 151 lines download raw bytes

1
2if(typeof wFORMS.behaviors.validation.messages === 'undefined'){
3    wFORMS.behaviors.validation.messages = {};
4};
5
6(function(){
7    var key, tmp;
8    for(key in (tmp = {
9        oneRequired 	: "This section is required.",
10        isRequired 		: "This field is required.",
11        isAlpha 		: "The text must use alphabetic characters only (a-z, A-Z). Numbers are not allowed.",
12        isEmail 		: "This does not appear to be a valid email address.",
13        isInteger 		: "Please enter a number (without decimals).",
14        isFloat 		: "Please enter a number (e.g. 1.9).",
15        isAlphanum 		: "Please use alpha-numeric characters only [a-z 0-9].",
16        isDate 			: "This does not appear to be a valid date.",
17        isDateTime		: "This does not appear to be a valid date/time.",
18        isTime	    	: "This does not appear to be a valid time.",
19        isPhone			: "Please enter a valid phone number.",
20        isCustom		: "Please enter a valid value.",
21        isHostname		: "This does not appear to be a valid hostname.",
22	    wordCount       : "This field is over the word limit.",
23	    wordsRemPos     : " words remaining",
24	    wordsRemNeg     : " words over the limit",
25        notification_0	: "The form is not complete and has not been submitted yet. There is %% problem with your submission.",
26        notification	: "The form is not complete and has not been submitted yet. There are %% problems with your submission.",
27        isPasswordStrong: "Please choose a more secure password. Passwords must contain 8 or more characters, with at least 1 letter (a to z), 1 number (0 to 9), and 1 symbol (like \'%\', \'$\' or \'!\').",
28        isPasswordMedium: "Please choose a more secure password. Passwords must contain 4 or more characters, with at least 1 letter (a to z) and 1 number (0 to 9).",
29        isPasswordWeak  : "Your password cannot be empty.",
30        isPasswordConfirmed : "Your password and confirmation field did not match.",
31        rangeNumber    : {
32            max: "The value must be smaller than the upper bound %1.",
33            min: "The value must be greater than the lower bound %1.",
34            both:"The entered value must be between %1 - %2"
35        },
36        rangeDate   : {
37            max:  "The date must be on or before %1.",
38            min:  "The date must be on or after %1.",
39            both: "This date must be between %1 - %2.",
40            cont: "This field determines the date range for %1.",
41            dep:  "Could not validated date. This field is dependent on %1.",
42            link: "another field"
43        },
44        wait            : "Please wait..."
45    })){
46        wFORMS.behaviors.validation.messages[key] = tmp[key];
47    }
48})();
49
50if(typeof wFORMS.footer === 'undefined'){
51    wFORMS.footer = {messages : {}};
52};
53
54// add translations for new gdpr links
55wFORMS.footer.messages = {
56    contactInformation : "Contact Information",
57    gdprRights : "Your Rights Under GDPR"
58}
59
60wFORMS.behaviors.lengthPrompt.messages = "%1 characters left.";
61
62wFORMS.behaviors.repeat.MESSAGES = {
63	ADD_CAPTION 	: "Add another response",
64	ADD_TITLE 		: "Will duplicate this question or section.",
65	REMOVE_CAPTION 	: "Remove",
66	REMOVE_TITLE 	: "Will remove this question or section",
67	REMOVE_WARNING  : "Are you sure you want to remove this section? All data in this section will be lost."
68};
69
70
71
72(function(){
73    var key, tmp;
74    for(key in (tmp = {
75        CAPTION_NEXT     : 'Next Page',
76        CAPTION_PREVIOUS : 'Previous Page',
77        CAPTION_UNLOAD   : 'Any data entered on ANY PAGE of this form will be LOST',
78        NAV_LABEL :  'Page: ',
79        TAB_LABEL :  'Page '
80    })){
81        wFORMS.behaviors.paging.MESSAGES[key] = tmp[key];
82    }
83})();
84
85
86
87// Alpha Input Validation:
88wFORMS.behaviors.validation.instance.prototype.validateAlpha = function(element, value) {
89	var reg =  /^[a-zA-Z\s]+$/;
90	return this.isEmpty(value) || reg.test(value);
91};
92// Alphanumeric Input Validation:
93wFORMS.behaviors.validation.instance.prototype.validateAlphanum = function(element, value) {
94	var reg =  /^[\u0030-\u0039a-zA-Z\s]+$/;
95	return this.isEmpty(value) || reg.test(value);
96};
97
98wFORMS.behaviors.autoformat.NUMERIC_REGEX = new RegExp("[0-9]");
99wFORMS.behaviors.autoformat.ALPHABETIC_REGEX = new RegExp("[a-zA-Z\s]");
100
101// Calendar
102if(!wFORMS.helpers.calendar) {
103	wFORMS.helpers.calendar = {};
104};
105if(!wFORMS.helpers.calendar.locale) {
106	wFORMS.helpers.calendar.locale = {};
107};
108var cfg = wFORMS.helpers.calendar.locale;
109
110cfg.TITLE 				= 'Select a date';
111cfg.START_WEEKDAY 		= 0;
112cfg.MONTHS_LONG			= [	'January',
113							'February',
114							'March',
115							'April',
116							'May',
117							'June',
118							'July',
119							'August',
120							'September',
121							'October',
122							'November',
123							'December'
124							];
125cfg.WEEKDAYS_SHORT		= [ 'Su',
126							'Mo',
127							'Tu',
128							'We',
129							'Th',
130							'Fr',
131							'Sa'
132							];
133cfg.MDY_DAY_POSITION 		= 2;
134cfg.MDY_MONTH_POSITION 		= 1;
135cfg.MDY_YEAR_POSITION		= 3;
136cfg.DATE_FIELD_DELIMITER	= '/';
137
138// Autosuggest
139(function(){
140    var key, tmp;
141    for(key in (tmp = {
142        NO_RESULTS     : 'No results found'        
143    })){
144        if(wFORMS.behaviors.autosuggest) {
145            wFORMS.behaviors.autosuggest.MESSAGES[key] = tmp[key];
146        }
147    }
148})();
149
150// Numeric formatting information
151var wFormsNumericLocaleFormattingInfo = {"decimal_point":".","thous
151ands_sep":",","int_curr_symbol":"USD ","currency_symbol":"$","mon_decimal_point":".","mon_thousands_sep":",","positive_sign":"","negative_sign":"-","int_frac_digits":2,"frac_digits":2,"p_cs_precedes":1,"p_sep_by_space":0,"n_cs_precedes":1,"n_sep_by_space":0,"p_sign_posn":1,"n_sign_posn":1,"grouping":[3,3],"mon_grouping":[3,3]};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.