/**
 * English JavaScript language variables
 * 
 * @author Gabriel Lemonde-Labrecque
 * @copyright 2010, SchoolSuccess inc.
 */

$(document).ready(function() {
	// Search Bar
	$.extend(TC.lang, {
		checkboxOnText: 'On',
		checkboxOffText: 'Off',
		checkboxYesText: 'Yes',
		checkboxNoText: 'No',
		checkboxEnableText: 'Enable',
		checkboxDisableText: 'Disable',
		defaultTextEmail: 'enter your email',
		defaultTextAnyEmail: 'enter an email',
		defaultTextPhone: 'PHONE NUMBER',
		defaultTextSearchBar: 'find a tutor',
		defaultTextSearchStudent: 'student name',
		// defaultTextSubject: 'What Subject?',
		defaultTextSubject: 'type a subject (eg. English)',
		defaultTextRequestSubject: 'SUBJECT',
		// defaultTextLocation: 'Where?',
		defaultTextLocation: 'type an address or a zipcode',
		defaultTextRequestLocation: 'type an address',
		defaultTextZipcode: 'type a zipcode',
		defaultTextAddress: 'type your city or zipcode',
		defaultTextInstitution: 'type your school name',
		defaultTextCompany: 'type the company name',
		defaultTextCompanyAndTutor: 'type a company name or a tutor name',
		defaultTextTutor: 'type the name of the tutor',
		defaultTextComment: 'type your comment here',
		defaultTextSubjectAdd: 'a single subject at a time',
		defaultTextMessage: 'type your message',
		defaultTextName: 'Name (optional)',
		defaultTextFirstname: 'Your first name',
		defaultTextLastname: 'Your last name',
		defaultTextRequestZip: 'ZIP CODE',
		defaultTextRequestEmail: 'ENTER YOUR EMAIL',
		defaultTextRequestDescription: 'DESCRIPTION OF YOUR NEEDS',
		//defaultTextSuggestedMessage: 'type your message here \n(I need a tutor for my 10 year old son in english, I will be available on Monday at 7p.m.. Will you be available?)',
		subjectLevelElementary: 'Elementary School',
		subjectLevelMiddle: 'Middle School',
		subjectLevelHigh: 'High School',
		subjectLevelCegep: 'Cegep',
		subjectLevelUndergraduate: 'Undergraduate',
		subjectLevelITAndComputers: 'IT & Computers',
		subjectLevelProfessional: 'Professional',
		subjectLevelCareerAndVocational: 'Career & Vocational',
		subjectLevelBusiness: 'Business Skills',
		subjectLevelPersonalDevelopment: 'Personal Development',
		subjectLevelOthers: 'Others',
			 
		adwordsSpecialSS: 'We found 1 result in Montreal. Your request was sent to them and they will contact you shortly.',
		
		fileInputNoFileText: '',
		fileInputButtonText: 'Choose File',
		
		invoiceStatusPaid: 'Paid',
		invoiceStatusCancelled: 'Cancelled',
		
		formValidationNotMoreThan255chars: 'Please do not enter more than 255 characters.',
		
		formValidationPartialsReviewCommentRequired: 'You must enter a message.',
		formValidationPartialsReviewCommentNotEqualTo: 'You must enter a message.',
		formValidationPartialsReviewCommentMaxLength: 'Your message cannot exceed 1000 characters.',
		formValidationPartialsReviewStars: 'The rating should be greater than or equal to 1',
		
		formValidationPartialsReviewRelationRequired: "You must specify your relation with this tutor.",
		
		formValidationProfileAboutMeMaxLength: 'Please do not enter more than 1000 characters',
		
		formValidationCountryRequired: 'Please enter the country you live in',
		formValidationRegionRequired: 'Please enter the region you live in',
		formValidationCityRequired: 'Please enter the city you live in',
		formValidationAddressRequired: 'Please enter your address',
		formValidationZipcodeRequired: 'Please enter your zipcode',
		formValidationSubjectsCountGreatherThanZero: 'Please enter at least one subject',
		
		formValidationValidUsername: 'Username must start with a letter and contain at least 4 characters. It can also contain numbers, dashes and underscores.',

		formValidationEmailRequired: 'Please enter an email',
		formValidationEmailInvalid: 'The email is not valid',
		formValidationMultipleEmailInvalid: 'Emails not valid. Please verify all email addresses',
		
		formValidationSubjectRequired: 'A subject is required',
		formValidationDescriptionRequired: 'A description is required',

		formValidationDegree: 'You must write the degree name.',
		formValidationDegreeStatus: 'You must enter a degree status',
		formValidationSelectCountry: 'You must select a country',
		formValidationYearNumber: 'The year is not a number.',
		formValidationYearRequired: 'The year is required.',
		
		formValidationInstitutionRequired: 'The institution is required.',
		
		formValidationExperienceYears: 'Please select the number of years of experience you have.',
		formValidationExperienceDescriptionRequired: 'Please enter a short description of your experience.',
		formValidationExperienceDescriptionMaxLength: 'Please do not enter more than 1000 characters.',

		formValidationFirstNameRequired: 'First name is required.',
		formValidationLastNameRequired: 'Last name is required.',
		formValidationValidName: 'Name cannot contain symbols. It must contain both Upper case and lower case letters.',
		
		formValidationBirthdayInvalid: 'Birthday is not properly formatted.',
		
		formValidationPasswordConfirmationRequired: 'This field is required.',
		formValidationPasswordAndConfirmationNotEqual: 'Please enter the same password twice.',
		
		formValidationSecurityNumberRequired: 'The social security number is required.',
		formValidationConfirmSecurityNumberRequired: 'The social security number confirmation is required.',
		formValidationSecurityNumberAndConfirmationNotEqual: 'Please enter the same security number twice.',
		
		formValidationPasswordRequired: 'The password is required.',
		formValidationPasswordMinLength: 'The password must be at least 6 characters.',
		formValidationPasswordMaxLength: 'The password must be at most 127 characters.',
		
		formValidationChargeSmallest: 'Enter the smallest amount that you are willing to charge.',
		formValidationChargeHighest: 'Please enter the highest amount that you are willing to charge.',
		formValidationChargeGreaterThanZero: 'The amount must be greater than zero.',
		formValidationSmallestMustBeGreaterThanHighest: 'The second text box must contain a larger value than the first.',
		formValidationNeedAtLeastOneTeachingLocation: 'You need to check at least one teaching location.',
		
		formValidationStudentInviteRequired: 'You must write a student name',
		
		defaultTextFeedback: 'enter feedback',
		ajaxFeedbackOK: 'Thank you. We received your feedback.',
		ajaxFeedbackError: 'An error occurred while sending your feedback. Please try again later.',
		
		formValidationReferenceNameRequired: 'The name of your reference is required.',
		formValidationReferenceTitleRequired: 'The title of your reference is required.',
		formValidationReferenceOrganizationRequired: 'The organization of your reference is required.',
		formValidationReferencePhoneNumberRequired: 'The phone number of your reference is required.',
		formValidationReferenceRelationshipRequired: 'You need to write something about the relationship you have with this person.',
		
		formValidationPhoneRequired: 'A company phone number is required.',
		formValidationPhoneInvalid: 'All company phone numbers must be valid.',
		requestRefused: 'You have refused this request.',
		subjectActionAddSubject: 'Create new subject',
		subjectActionAddSubjectTitle: 'Create a new subject and add it to this set',
		subjectActionSelectAllSubjects: 'Select All',
		subjectActionSelectAllSubjectsTitle: '',
		subjectActionEditSubject: 'Edit',
		subjectActionEditSubjectTitle: 'Edit this subject',
		subjectActionAttachSubjects: 'Attach subjects',
		subjectActionAttachSubjectsTitle: 'Attach some existing subjects to this set',
		subjectActionAttachSubject: 'Attach',
		subjectActionAttachSubjectTitle: 'Attach this subject to another set',
		subjectActionDetachSubject: 'Detach',
		subjectActionDetachSubjectTitle: 'Remove this subject from this set',
		subjectActionSplitSubject: 'Split',
		subjectActionSplitSubjectTitle: 'Delete this subject and replace it by several other subjects',
		subjectActionMergeSubject: 'Merge',
		subjectActionMergeSubjectTitle: 'Delete some subjects and converts them to this subject',
		subjectActionPublishSubject: 'Publish',
		subjectActionPublishSubjectTitle: 'Display this subject for all users',
		subjectActionUnpublishSubject: 'Unpublish',
		subjectActionUnpublishSubjectTitle: 'Hide this subjects for all users',
		subjectActionEditSet: 'Edit',
		subjectActionEditSetTitle: 'Edit this set',
		subjectActionAttachSet: 'Attach',
		subjectActionAttachSetTitle: 'Attach this set to another category',
		subjectActionDetachSet: 'Detach',
		subjectActionDetachSetTitle: 'Detach this set from this category',
		subjectActionCopySet: 'Copy',
		subjectActionCopySetTitle: 'Create a new set containing the same subjects as this one',
		subjectActionSetDefault: 'Set default',
		subjectActionSetDefaultTitle: 'Make this set the default one so that subjects added by users are added to this one',
		subjectActionDeleteSet: 'Delete',
		subjectActionDeleteSetTitle: 'Delete this set',
		subjectActionEditCategory: 'Edit',
		subjectActionEditCategoryTitle: 'Edit this category',
		subjectActionCreateSet: 'Create subset',
		subjectActionCreateSetTitle: 'Create a new set and attach it to this category',
		subjectActionCreateCategory: 'Create subcategory',
		subjectActionCreateCategoryTitle: 'Create a new subcategory and attach it to this one.',
		subjectActionDeleteCategory: 'Delete',
		subjectActionDeleteCategoryTitle: 'Delete this category',
		subjectActionShowCategory: '(Show subcategories)',
		subjectActionShowCategoryTitle: 'Show all subcategories and subjects',
		subjectActionHideCategory: '(Hide subcategories)',
		subjectActionHideCategoryTitle: 'Hide subcategories and subjects',
		subjectActionShowPublished: 'Show all subjects',
		subjectActionShowPublishedTitle: 'Show all subjects',
		subjectActionHidePublished: 'Hide non-published',
		subjectActionHidePublishedTitle: 'Hide non-published subjects'
	});
});

