
(function(){
var i = window.i18n;
i.validationErr = 'You have not entered all required values correctly.';
i.common = {text:{
	ok:'Ok',cancel:'Cancel',
	close:'Close',
	yes:'Yes',no:'No',buy:'Buy',
	rent:'Rent', purchase:'Purchase',
	rentfmt:'Rent {0}',
	genre:'Genre', loading:'Loading...',
	watchtrailer:'Watch trailer',
	ratecount : '{0} votes',
	pendingrevokedate:'Available until'
}};
i.userhdr = {
	loggedinas:'Logged in as:'
};
i.purchase = {
	pubwait:'This item has not yet been relased and cannot be purchased yet.',nodistr:'Sorry, we are not permitted to sell this item to your country.'
};
i.receipt = {
	printlink_giftcertificate : '<a target="_blank" href="{0}">Show and print your gift certificate.</a>'
};

i.global = {
	readmore:'Read more',readless:'Hide',
	showall:'Show all', areyousure:'Are you sure?',
	rent:'Rent',free:'Free',watchfree:'Watch for free',
	watchmovie:'Watch the movie',
	confirm:'Confirm',
	register_link : 'Register',
	forgotpassword: 'Lost password?',
	information:'Information',
	error:'Error',
	email:{badformat: 'Invalid email address.'},
	watchlist : {
		add:'Add to Watchlist',
		remove:'Remove from Watchlist',
		watchlist:'Watchlist',
		title:'My Watchlist', clearall:'Remove all',
		added:'{0} is now in your Watchlist.', removed:'{0} is now removed from your Watchlist.', 
		cleared:'Your watchlist have been cleared.', showing: 'Showing {0} of {1}'
	},
	pager:{
		prev:'&laquo;', next:'&raquo;'
	},
	login:{
		required:'Please login in order to perform this action.',
		login:'Login',
		username:'Username',
		password:'Password',
		rememberme:'Remember me'
	},
	registerfrm:{
		username:'Username',
		password:'Password',
		confirmpassword:'Confirm password',
		email:'E-Mail',
		iaccept:'I accept the',
		useragreement:'User Agreement'
	},
	share:{
		link:'Blog & Link',
		tip:'Tell a friend'
	},
	price : 'Price',
	register: 'Register',
	myheadweb:'My Headweb',
	editprofile:'Edit profile',
	balance:'Balance',
	credits:'Credits',
	movietickets:'Movie tickets',
	logout:'Logout',
	verifypassword:'Verify Password'
};
i.gallery = {label:{picture:'Picture',of:'of'}};

i.global.fblogin = {requiresession:{
	timeout:'Facebook timeout while logging in. Please try again.',
	ssltimeout:'Facebook timeout while while logging in. You are currently browsing a secure page, sometimes this is a problem for Facebook. Please navigate to Headwebs front page and try there!'
}};
i.streaming = {techcheck:{required:{title:'This movie requires {0}',
	install:'Click here to install. Restart your browser after the installation has finished.',update:'Click here to update to a newer version. Restart your browser after the installation has finished.',
	unavailable:'Sorry, this is not supported on your operating system. Click here to read more.'}},
	slproblem:'It seems your Silverligt player does not load properly. If the video is not shown below, please click here to get help resolving the situation.'};


i.cartdialog = {
	cart : {
		title : 'Quick cart',
		titleservice : 'Order Service',
		rentallength : 'Rental {0} hours',
		deposit : 'Fill account:',
		deposititemdescr : 'Deposits {0} into your Headweb account',
		bonus : '&nbsp;+ {0} bonus',
		price : 'PRICE',
		addcode : 'Add a code',
		withsmscost : 'incl. {0} SMS transaction cost',
		withrebate : 'with {0} rebate:',

		spokenlanguage : 'Spoken language',
		subtitle : 'Subtitles',
		missing : 'Missing',
		nofunds : 'Your account balance is to low.',
		addtocart : 'Add to cart',
		silverlightwarning: '<a href="/en/128613/rentals-streaming" target="_blank">Not available on iPad, Playstation 3, Boxee or Linux.</a>'
	},

	page : {
		purchasedone : {
			title : '<p><b>Your purchase is now complete!</b> You will also receive a confirmation of the purchase to the email specified in your Profile.</p>',
			giftcertificate : {
				button : 'Print',
				text : '<b>Your purchase is now completed!</b><br/>You will receive a confirmation of the purchase via e-mail with a link to the gift card. Decide if you want to print it out now or later.'
			},
			deposit : {
				button : 'Close',
				text : '<b>Your deposit is now completed!</b> <br/>Your money have been deposit into your Headweb account. In addition you will receive a confirmation of the deposit via e-mail.'
			}
		},
		common : {
			enter_code : 'Enter code:',
			purchase : 'Purchase',
			watchmovie : 'Watch movie',
			error: {
				coderequired: 'You have to enter a code'
			},
			
			loader: {
				purchasing : 'Performing purchase...',
				vfypwd: 'Verifying password...',
				initingpayment: 'Preparing payment, please wait.'
			},
			onbeforeunload:'You have an active purchase. If you want to abort the purchase, please use the abort button, do not close or move away from this window.',
			
			purchasetermslink: '<a href="/en/100237/purchase-terms" target="_blank">Purchase terms</a>',
			enteryourpassword : 'Enter your password:',

			whyverifytitle : 'Why enter password?',
			whyverify : 'To make sure that no one else can make a purchase from your account, we ask you to enter your password as an extra precaution when using automatic login.',
			
			abortactivepurchase : 'You already have a pending purchase ({0}). <br/>In order to start a new one, the old one have to be aborted. <br/><br/>Are you sure you want to abort your old purchase?',
			purchaseaborted: 'Your old purchase have been aborted. Please try again.'
		},
		account : {
			name: 'Headweb account',
			balance : 'Your account balance is:',
			helplink : '<a href="/en/17905/payments" target="_blank">Help</a>',
			error: {
				blocked_deposit : 'You cannot purchase a deposit with your Headweb account. Remove the deposit or chooce another payment option.'
			},
			help: '<h3>Deposit</h3><p>If you don\'t want to pay with your card or SMS each time, you can instead make a deposit into your Headweb account.The money are connected to your account and can be used on all services run by Headweb.If you deposit a larger sum you will get extra bonus on the deposit.</p>'
		},
		sms : {
			name : 'SMS',
			step1 : 'Send&nbsp;<span class="smscode">{0}</span>&nbsp;to number nummer&nbsp;<span class="smsnumber">{1}</span>',
			step2 : 'You will recieve a SMS with a response code.',

			footerinfo : 'The first SMS will be debited according to your standard SMS rate. When you recieve the SMS with the code, you will be debited <span class="amountFull">{0}</span>.',
			delaynotice : 'Note! In rare cases, it could take up to 60 minutes before you get your code.',
			helplink : '<a href="/en/17905/payments" target="_blank">Help</a>',

			error: {
				blocked_deposit : 'You cannot purchase a deposit with SMS. Remove the deposit or chooce another payment option.',
				blocked_code : 'You cannot pay with SMS in combination with a code. Please remove the code or use another payment option.'
			}
		},
		code : {
			name : 'Code',

			codeprompt:'Code:',
			removecode:'Remove code',
			payrestwith:'Pay the remaining amount using:',
			usecode:'Use code',
			yourrebateis:'You now have a <span>{0}</span> rebate!',
			error: {
				multicode:'Sorry, this code is not valid anymore.',
				specificonly:'The code is not valid for this movie.',
				subscriptiononly:'The code is not valid for this movie. Please follow the instructions accompanied with the code.',
				depositonly:'The code is not valid for this movie. Please follow the instructions accompanied with the code.',
				blocked_deposit:'This code cannot be used with a deposit. Remove the deposit and try again.',
				genericnonusable:'The code can not be used here. Please follow the instructions accompanied with the code.'
			},
			loader: {
				verifyingcode:'Verifying code...'
			},
			
			helplink : '<a href="/en/17905/payments" target="_blank">Help</a>',
			help : '<h3>Using a code</h3><p>If you have problems using your code, please go back and carefully read through the instructions you received together with the code. Make sure you have entered the code correct, and check for any expiry date. Some codes are only valid for a certain set of movies, and some can only be used on specific redemption pages.</p>'
		},
		card : {
			name:'Card',

			usepopup:'Please fullfill your purchase in the popup window.',
			dontclosepopup:'Please do not close this popup window. Use the buttons designated for cancellation instead. Press Cancel now.',
			suggestedcardname:'{0} card',
			fallbackcardname:'My',
			newcard:'New {0}',
			saveyourcard:'Save card:',
			forcecancel:'Your transaction is processing at your bank. If you abort now, your transaction might still be fulfilled. Only cancel if you are confident that your details have been entered incorrect.Are you sure you want to cancel?',
			error:{
				popupblocked:'Failed to show popup window. Please check your browser\'s popup settings.',
				namerequired:'You have to enter a name in order to save your card.',
				numericname:'You may not use a name which looks like a card number.'
			},
			loader: {
				finalizing:'Finalizing purchase...',
				waitingforpayex:'Waiting for response from PayEx, please wait...',
				payexaborted:'Aborting purchase, please wait...'
			},

			help : '<h3>PayEx</h3><p>The payment is done using Payex, one of the Nordic regions foremost experts in payments. The purchase is conducted through an encrypted page, and Headweb will never store any card details, this is fully handled by PCI-ceritified PayEx.</p><h3>Save card</h3><p>By saving your card you don\'t have to enter your details next time you shop at Headweb. When you save a card, you write a name to keep track of which card you have saved. The name on the card CAN NOT be your card number, it should be a more generic name such as "John\'s VISA".</p><h3>Why enter password?</h3><p>To make sure you are the rightfull owner of the account, we always ask you to enter your Headweb password before using a stored card.</p>'
		},
		subscription : {
			name : 'Movie tickets',
			
			error: {
				selectticket : 'Please select a movie ticket in order to continue.',
				blocked_deposit : 'You cannot purchase a deposit with a movie ticket. Remove the deposit or chooce another payment option.',
				blocked_code : 'You cannot use a movie ticket in combination with a code. Please remove the code or use another payment option.'
			},
			ticket_tre : '3 Movie ticket',
			ticket_expiration : 'Expires at {0}',
			help: '<h3>Movie tickets</h3><p>Movie tickets are an easy way to pay for movies. You can receive tickets through different types of campaigns or subscriptions. Some tickets are only valid for a limited range.</p>'
		},
		klarna : {
			name : 'Invoice',
			error: {
				numberrequired: 'You have to enter a phone number.',
				pinrequestrequired: 'You have to request a pin code first.',
				blocked_deposit : 'You cannot purchase a deposit with an invoice. Remove the deposit or chooce another payment option.',
				blocked_code : 'You cannot pay with invoice in combination with a code. Please remove the code or use another payment option.'
			},
			loader: {
				requesting_pincode : 'Requesting pincode..',
				verifying_pincode : 'Verifying pincode..'
			},
			
			title: 'All purchases through Klarna Mobil is collected on a single monthly invoice.<br/>No interest, no administration fee.',
			step1: 'Cellphone number',
			step2: 'You will recieve a SMS with a pin code',
			step3: 'Enter pin code',
			details: 'An invoice will be sent to you at the end of the month. <a target="_blank" href="http://www.klarna.se/sv/privat/mobil/information">Read more about Klarna Mobil</a>',
			requestpincode: 'Request pincode',
			purchasetermslink: '<a href="https://online.klarna.com/mobile_terms_se.yaws" target="_blank">Purchase terms for Klarna Mobil</a>'
		}
	}
};

i.logindialog = {
	login: {descr:'Enter your username and password.'},
	newmember:{title:'New user?',body:'You need a Headweb account to watch the movies, get one now!'},
	fblogin:{title:'Login with Facebook',body:'If you want to login with your Facebook acount, click below.'},
	register: {descr:'Your account is almost ready, enter your email address and a password and you\'ll be done in a moment.'},
	oldmember:{title:'Already member?',body:'If you already have an account, click below.'}
};
i.userinfodialog = {
	title : 'Complete your profile',
	btnlabel : 'Add',
	
	page1 : {
		name : 'Enter e-mail and a password'
	},
	page2 : {
		name : 'Choose a username and your name',
		title : 'You have to enter a username. The username will be shown next to your comments.'
	},
	page3 : {
		name : 'Tell us more about yourself',
		title : 'Enter more information to receive better movie suggestions',
		sex: 'Sex',
		sexheader: 'Select sex',
		birthdate: 'Birthday',
		male: 'Male',
		female: 'Female',
		year: 'Year',
		month: 'Month',
		day : 'Day',
		zipcode: 'Zip Code'
	},
	error : {
		birthdate : 'Enter correct birthdate',
		zipcode : 'Enter your zip code',
		sex : 'Choose male or female'
	}

};



i.registerdialog = {
	title1 : 'Become a member at Headweb - Step 1/2',
	title2 : 'Become a member at Headweb - Step 2/2',
	page1_title : 'Become a member for free.',
	page2_title : 'Almost done...',
	becomemember : 'Register',
	back : 'Back',
	complete : 'Complete',
	input : {
		username : {
			title : 'Username',
			desc : 'Select a username for your user'
		},
		password : {
			title : 'Password',
			desc : 'Select a password, at least 4 characters'
		},
		confirmpassword : {
			title : 'Confirm password',
			desc : 'Enter your password one more time to avoid spelling errors.'
		},
		email : {
			title : 'E-Mail',
			desc : 'Your email is used when restoring password.'
		},
		emailconfirm : {
			title : 'Confirm E-Mail',
			desc : 'Enter your email one more time to avoid spelling errors.'
		},
		firstname : {
			title : 'Firstname',
			desc : 'Enter your first name.'
		},
		lastname : {
			title : 'Surname',
			desc : 'Enter your last name.'
		},
		sex : {
			title : 'Sex',
			male : 'Male',
			female : 'Female',
			select : 'Select sex'
		},
		agreeterms : 'Yes, I have read <a href="/en/100235/terms-of-use" target="_blank">Headweb\'s User Agreement</a> and I agree to them.'		
	},
	validator : {
		required : {
			username : 'You have to enter an username.',
			password : 'You have to enter a password.',
			password_confirm : 'You have to confirm your password.',
			email : 'You have to enter an email.',
			email_confirm : 'You have to confirm your email.',
			firstname : 'Enter your firstname.',
			lastname : 'Enter your lastname.'			
		},
		length : {
			username : 'Use 3 to 32 characters.',
			password : 'Use at least 4 characters.',
			email : 'Max 100 characters.',
			email_confirm : 'Max 100 characters.',
			firstname : 'Use 2 to 20 letters.',
			lastname : 'Use 2 to 100 letters.'
		},
		validchars : {
			username : 'The character(s) \'{0}\' are not allowed.'
		},
		regexp : {
			username : 'The first character have to be a letter.'
		},
		match : {
			password_confirm : 'Passwords doesn\'t match.',
			email_confirm : 'Email addresses doesn\'t match.'
		},
		email : {
			email : 'Invalid email address.'
		},
		not_validated : 'You have not entered all required values correctly.',
		agreeterms : 'You have to read and accept our terms before you create an account.'
	}
};


i.hoverbox = {
	video : {
		rent_button : 'Rent movie {0}',
		watch_button : 'Watch movie',
		runtime_fmt : '{0,number,0.#} min',
		actors: 'Actors'
	},
	subscription : {
	
		renewal : 'Renewal:',
		expires : 'Expires:',
		cancelperiod : 'Cancel period:'

	
	}
};

})();

