

if( !Poolia ){ var Poolia = {}; }
if( !Poolia.Bridge ){ Poolia.Bridge = {}; }

// Set current language
Poolia.Bridge.currentLanguage = 'en-gb';

Poolia.Bridge.APIKeys = {
		'facebook'	:	'',
		'linkedin'	:	''
};

// Set routes
Poolia.Bridge.Routes = {
	"request-offer"			        : "/Modal-windows/Request-quote/request-quote/",
    "apply-contractor"              : "",
    "apply-contractor-thanks"       : "",
    "apply-anonymous"		        : "",
    "apply-anonymous-thanks"	    : "",
    "apply-thanks"                  : "",
	"forgot-password"		        : "",
    "forgot-password-thanks"		: "",
	"login"					        : "",
	"signup-step1"			        : "",
	"signup-step2"			        : "",
    "signup-thanks"                 : "",
    "profile"			            : "",
    "profile-work"			        : "",
	"profile-language"		        : "",
	"profile-education"		        : "",
    "profile-certificate"		    : "",
    "profile-personal"		        : "",
    "applications"			        : "",
    "send-email"			        : "/Modal-windows/tell-a-friend/",
    "search-jobs"                   : "",
    "modal-error"       	        : "",
    "job-ads"				        : "",
    "set-password"				    : "",
    'reference-number'			    : "",
    'personal-summary'			    : "",
    'delete-account'			    : "",
    'maintenance'			        : ""

};

// Initate globalization
Poolia.Bridge.Globalization = {}


Poolia.Bridge.Globalization.Upload = {
	'no photo'				: '',
	'no flash'				: '',
	'no flash anonymous'	: ''
}

Poolia.Bridge.Globalization.Months = {
	'1'  : '',
	'2'  : '',
	'3'  : '',
	'4'  : '',
	'5'  : '',
	'6'  : '',
	'7'  : '',
	'8'  : '',
	'9'  : '',
	'10' : '',
	'11' : '',
	'12' : ''
};

Poolia.Bridge.Globalization.BlankState = {
    'section-cv_documents'  			: '',
    'section-cv_documents attached'		: '',
	'section-personal_information'  	: '',
	'section-candidate_educations'  	: '',
	'section-candidate_competences'		: '',
	'section-certificates' 				: '',
	'section-candidate_languages'  		: '',
	'section-employments'  				: ''
}

Poolia.Bridge.Globalization.DeleteAccount = {

	'confirm' : ''

}

// Form validation globalization
Poolia.Bridge.Globalization.Validation = {
	'Required'			:	'Required',
	'RequiredTerms'		:	'',
    'RequiredOptions'	:	'You must select an option',
    'Phone'				:	'Invalid phone number',
	'Email'				:	'Invalid e-mail address',
	'Password'			:	'',
	'Zip'				:	'',
    'PasswordNoMatch'	:	'',
    'String-short'		:	'' /* 50 */, 
	'String-long'		:	'' /* 100 */,
	'Text'				:	''/* 255 */,
	'Int'				:	''
};

// Globalization of global strings
Poolia.Bridge.Globalization.Global = {
	'Save'		:	'',
	'Cancel'	:	'',
	'Add'		:	'',
	'Delete'	:	'',
	'Edit'		:	'',
	'Saved'		:	'',
    'Account Settings' : '',
    'Personal Summary' : ''
};

Poolia.Bridge.Globalization.ErrorMsg = {
	'500'		                            :	['', ''],
	'404'		                            :	['', ''],
	'Generic'	                            :	['An error occured', 'Please try again in a moment.'],
	'Invalid email'							:	['', ''],
	'Userid or password doesnt exists'		:	['', ''],
	'Email already exists'					:	['', ''],
	'NoCvDoc'								:	['', ''],
	'Application not sent'					:	['', ''],
    'Account not deleted'					:	['', '']
};

Poolia.Bridge.Globalization.Tasks = {
	'personal_information.first_name'				:	['', ''],
	'personal_information.surname'					:	['', ''],
	'personal_information.city'						:	['', ''],
	'personal_information.phone_number_home'		:	['', ''],
	'personal_information.mobile_phone'				:	['', ''],
	'personal_information.email'					:	['', ''],
	'personal_information.birthday_year'			:	['', ''],
	'personal_information.birthday_month'			:	['', ''],
	'personal_information.birthday_day_of_month'	:	['', ''],
	'personal_summary.text'							:	['', ''],
	'picture_exists.picture_exists'					:	[''],
	'candidate_educations'							:	['', ''],
	'employments'									:	['', ''],
	'certificates'									:	['', ''],
    'information'								    :	['', ''],
	'candidate_languages'							:	['', ''],
	'candidate_competences'							:	['', ''],
	'preferred_job_locations.job_locations'			:	['', ''],
	'preferred_job_occupations.job_occupations'		:	['', ''],
    'cv_documents'					                :	['']
};
 

Poolia.Bridge.Globalization.JobList = {
	'From'		:	'',
	'to'		: 	''
};

Poolia.Bridge.Globalization.EducationList = {
	'From'		:	'',
	'to'		: 	''
};

Poolia.Bridge.Globalization.JobSearch = {
	'none'				: '',
	'regions'			: '',
	'jobs'				: '',
	'regionsAndJobs'	: '',
    'and'				: '  ',
    'inputBlankstate'	: '',
	'referenceNumber'	: '',
    'referenceNumberError'	: '',
    'resultPageUrl'			: ''
};


Poolia.Bridge.Globalization.PersonalSummary = {

	'more'					: '',
	'less'					: ''

};

 
Poolia.Bridge.Globalization.HumaneDate = {
	' Ago'		:	'',
	'Just Now'	:	'',
	'1 Minute'	:	'',
	'Minutes'	:	'',
	'1 Hour'	:	'',
	'Hours'		:	'',
    'Today'		:	'',
	'1 Day'		:	'',
	'Days'		:	'',
	'1 Week'	:	'',
	'Weeks'		:	'',
	'1 Month'	:	'',
	'Months'	:	'',
	'1 Year'	:	'',
	'Years'		:	'',
	'1 Century'	:	''		
};

Poolia.Bridge.Globalization.Personal = {
	'Edit link'	:	'',
	'Lives in'	:	'',
	'Borned'	:	''
}

// Globalization of global strings
Poolia.Bridge.Globalization.Campaign = {
	'timer'	: 8000
}

// Shortcut for Globalization
__ = Poolia.Bridge.Globalization;
