﻿/// <reference path="xeko.js"/>

xeko.messaging = {
	"confirmation" : {
		"BIRTHDATE_UNDER_13" :			"It looks like you are [age] years old. Is that right?",
		"ACCOUNT_DELETE_SUCCESS" :		"Your child's account has been deleted from the Xeko system.",
		"REGISTRATION_SUCCESS" :		"Congratulations! You're an official Xeko Agent!"
	},
	"alert" : {
		"CODE_OF_CONDUCT_AGREE" :		"You must agree to the Xeko Honor Code before proceeding.",
		"ALTER_ECO_MUST_SELECT" :		"Please select your Alter-Eco.",
		"PASSWORDS_DO_NOT_MATCH" :		"The passwords do not match. Please retype your password.",
		"PASSWORD_INVALID" :			"Valid password needed. Passwords have at least five characters and do not contain any spaces.",
		"AGENT_ID_INVALID" :			"You must enter a valid Agent ID. Agent IDs have at least five characters and do not contain any spaces.",
		"FIRST_NAME_MISSING" :			"Your first name is required to create your Agent Files.",
		"ZIP_CODE_MISSING" :			"Please re-enter your ZIP or postal code.",
		"TERMS_OF_USE_NOT_CHECKED" :	"You must agree to Xeko.com's Terms of Use to activate your account.",
		"BIRTHDATE_MISSING" :			"Your date of birth is required to create your Agent Files.",
		"BIRTHDATE_INVALID" :			"Please re-enter your date of birth.",
		"USER_EMAIL_INVALID" :			"Invalid email address. Please check the email addresses you entered and make sure they're correct.",
		"PARENT_EMAIL_INVALID" :		"Please re-enter your parent's email address.",
		"AGENT_ID_NOT_AVAILABE" :		"Sorry, that Agent ID is already in use. Please select a different Agent ID.",
		"AGENT_ID_LOOKUP" :				"Checking on Agent ID availability...",
		"LOGIN_INCORRECT" :				"Incorrect Agent ID or password. Please try again.",
		"LOGIN_FORGOT_EMAIL_PASSWORD_SENT": "Thanks! We've set a new password on your account and sent it to that email address. Go check your mail!",
		"LOGIN_FORGOT_ENTER_EMAIL": "Please enter an email address.",
		"LOGIN_FORGOT_EMAIL_INVALID": "Invalid email address. Please check the email address you entered and make sure it's correct.",
		"LOGIN_FORGOT_SELECT_AGENT": "Select an Agent ID.",
		"GENERIC_LOGIN_REQUIRED": "~ You must be logged in to use this feature.",
		"CHALLENGE_MISSION_NOT_SELECTED" :	"Please select a Mission for your Challenge.",
		"CHALLENGE_SUBJECT_NOT_SELECTED" :	"Please select a Subject for your Challenge",
		"CHALLENGE_INSTRUCTIONS_MISSING" :	"Xeko Agent, did you mean to leave the description for your Challenge empty?",
		"CHALLENGE_NAME_MISSING" :		"Please specify a name for your challenge",
		"CHALLENGE_IMAGE_MISSING" :		"Agent, please select an image for your Challenge.",
		"CHALLENGE_AGREE_TERMS" :		"Please agree to the Terms of Use in order to submit your Challenge to HQ.",
		"CHALLENGE_RESPONSE_MISSING" :	"Xeko Agent, did you mean to leave this box empty?",
		"CHALLENGE_RESPONSE_AGREE" :	"You must agree to the Xeko Code of Conduct.",
		"CHALLENGE_CREATE_LOGIN_REQUIRED" :	"You must be logged in to use this feature.",
		"CHALLENGE_NO_FAVORITES": "You have no favorites saved or you are not logged in.",
		"RESPONSE_LOGIN_REQUIRED": "You must be logged in to use this feature.",
		"VOTE_LOGIN_REQUIRED" :			"You must be logged in to use this feature.",
		"QUIZZLE_QUESTION_BLANK" :		"You've left some boxes blank. Agent, please make sure you've included the necessary data.",
		"QUIZZLE_ANSWER_BLANK" :		"You've left some boxes blank. Agent, please make sure you've included the necessary data.",
		"QUIZZLE_INCORRECT_ANSWERS_BLANK" :	"You've left some boxes blank. Agent, please make sure you've included the necessary data.",
		"QUIZZLE_IMAGE_MISSING" :		"Please select an image for your Quizzle question.",
		"QUIZZLE_TERMS_NOTCHECKED" :	"Please agree to the Terms of Use in order to submit your Quizzle question to HQ." ,
		"QUIZZLE_CREATE_LOGIN_REQUIRED" :	"You must be logged in to use this feature.",
		"GAMES_LOGIN_REQUIRED" :		"You must be logged in to use this feature.",
		"CODE_CRACKER_INCOMPLETE" :		"Incomplete Code! You need to enter 10 symbols to form a complete Code. Try again!" ,
		"CODECRACKER_DUPLICATE" :		"Sorry, you have already redeemed that Mission Code." ,
		"CODECRACKER_MAXUSES":  "Sorry, the Mission Code you entered has already been used.",
		"CODECRACKER_INVALID" :			"Our mainframe has detected an invalid Code! Try again!",
		"CODECRACKER_LOGIN_REQUIRED" :	"You must be logged in to use this feature.",
		"PUZZLE_INCOMPLETE":      "Dozer mischief! An unexpected error occurred. Please resubmit your Code.",
		"PUZZLE_INVALID":         "Rats! That code was not correct. Try again when you get a new code!",
		"PUZZLE_DUPLICATE" :			"Sorry, you have already solved this Puzzle." ,
		"INVITE_SENDER_EMAIL_INVALID" :	"Invalid email address. Please check the email address you entered and make sure it's correct.",
		"INVITE_RECP_EMAIL_INVALID" :	"Invalid email address(es). Please check the email address(es) you entered and make sure they're correct.",
		"INVITE_NAME_MISSING" :			"Your first name is required.",
		"INVITE_LOGIN_REQUIRED" :		"You must be logged in to invite friends.",
		"ARCADEGAMES_LOGIN_REQUIRED" :	"You must be logged in to use this feature.",
		"MAGICBUTTON_LOGIN_REQUIRED" :	"You must be logged in to use this feature.",
		"PARENT_ACTIVATION_ACTIVATED" : "Agent has been activated.",
		"XEKOPEDIA_NO_CARDS" :		"<i>No cards found</i>",
		"MISSIONS_SAVED_NONE" :		"<p>You have no recent Missions. Check the <a href=\"/missions\">Missions page</a> to get started.</p>",
		"MISSIONS_MINE_NONE" :		"<p>You have no saved Missions. Check the <a href=\"/missions\">Missions page</a> to get started.</p>",
		"REG_EMAIL_NOT_UNIQUE" : "There is already an account with that email address."
	},
	"error" : {
		"UNEXPECTED_ERROR" :			"Dozer mischief! An unexpected error occurred. Please try again later.",
		"LOGIN_REQUIRED" :				"You are not logged in or your session has expired. Please log in.",
		"REG_ERROR" :					"Dozer mischief! An unexpected error occurred. Please try to register again later.",
		"REG_AGENTID_LOOKUP_ERROR" :	"An unexpected error occured while verifying the Agent ID. Please try again later.",
		"ACCOUNT_UPDATE_ERROR" :		"Dozer mischief! An unexpected error occurred. Please try again later.",
		"ACCOUNT_SAVE_ERROR" :			"An unexpected error occured. Please try to save your child's account again later.",
		"ACCOUNT_ACTIVATE_ERROR" :		"An unexpected error occured. Please try to activate your child's account again later.",
		"ACCOUNT_DELETE_ERROR" :		"An unexpected error occured. Please try to delete your child's account again later or email <a href=\"mailto:service@xeko.com\">service@xeko.com</a> for assistance.",
		"CREATE_CHALLENGE_ERROR" :		"Dozer mischief! An unexpected error has occurred. Please submit this form again.",
		"CREATE_SS_VALIDATION_ERROR" :	"Dozer mischief! An unexpected error has occurred. Review your Challenge to assure that all fields are complete, then try again. If you keep getting this error, you may have to refresh your browser.",
		"CHALLENGES_LOAD_ERROR" :		"Unable to load Challenges at this time. Please refresh your browser or try again later.",
		"CHALLENGES_SAVE_ERROR" :		"Dozer mischief! An unexpected error has occurred. Please submit this form again.",
		"AVATAR_SERVICE_ERROR" :  		"Dozer mischief! An unexpected error has occurred. Please try again later.",
		"PRODUCTS_SERVICE_ERROR" : 		"Dozer mischief! An unexpected error has occurred. Please try again later.",
		"CHALLENGES_SUBMIT_ERROR" :		"Dozer mischief! An unexpected error has occurred. Please submit this form again.",
		"CHALLENGES_VOTE_ERROR" :		"Dozers are blocking transmission of votes to HQ. Please try again later.",
		"MISSIONS_LOAD_ERROR" :			"Unable to load Missions at this time. Please refresh your browser or try again later.",
		"EVENTS_LOAD_ERROR" :			"Xeko events database is offline. Please try again later.",
		"NEWS_LOAD_ERROR" :				"Xeko news database is offline. Please try again later.",
		"MAGICBUTTON_LOAD_ERROR" :		"The magic button is offline. Please try again later.",
		"INVITE_SEND_ERROR" :			"Dozer mischief! An unexpected error occurred. Please try to resend your invitations later.",
		"CODECRACKER_ERROR" :			"Dozer mischief! An unexpected error occurred. Please resubmit your Code.",
		"CODECRACKER_GETREWARD_ERROR" :	"An unexpected error occured. Your code was valid but your reward type could not be determined. Don't worry, your account has been credited.",
		"PUZZLE_ERROR" :				"Dozer mischief! An unexpected error occurred. Please resubmit your Code.",
		"MISSIONS_ACCEPT_ERROR" :		"Dozer mischief! An unexpected error has occurred. Please try again.",
		"MISSIONS_SAVED_LOAD_ERROR" :	"Dozer mischief! An unexpected error has occurred and your recent Missions could not be loaded.",
		"XEKOPEDIA_ADD_IRL_ERROR" :		"Dozers have tampered with the Xekopedia and HQ is implementing a fix. Please try again later.",
		"XEKOPEDIA_REMOVE_IRL_ERROR" :	"Dozers have tampered with the Xekopedia and HQ is implementing a fix. Please try again later."
	}
}

xeko.strings = {
	"REGISTRATION_SUCCESS_HEADLINE" :	"Welcome, Agent!",
	"CHALLENGE_INSTRUCTIONS_PROMPT" :	"Enter your instructions here",
	"CHALLENGE_NAME_PROMPT" :			"Enter a name for your challenge here",
	"CHALLENGE_RESPONSE_PROMPT" :		"Enter Challenge response here",
	"CHALLENGE_FAV_WAIT" :				"Please wait while we save this Challenge to your Agent Files.",
	"CHALLENGE_FAV_DELETE_WAIT" :		"Please wait while we remove the bookmark for this Challenge.",
	"CHALLENGE_CREATE_WAIT" :			"Please wait while we create your Challenge.",
	"CHALLENGE_RESPONSE_WAIT" :			"Please wait while we submit your Challenge response.",
	"CHALLENGE_VOTE_WAIT" :				"Please wait while we submit your vote.",
	"CHALLENGE_VOTE_VOTED" :			"I like this one!",
	"CHALLENGE_VOTE_OWNER_CLICK" :		"Click favorite",
	"CODECRACKER_VALIDATING" :			"Validating your Mission Code...",
	"XEKOPEDIA_LINK_TO_PUZZLE" :		"Click here to crack the code!",
	"PUZZLE_VALIDATING" :				"Validating your Code...",
	"INVITE_SENDING" :					"Sending your invitations...",
	"QUIZZLE_FIND_QUIZZLE" :			"Getting Quizzle...",
	"QUIZZLE_ANSWERING_QUESTION":		"Answering question...",
	"QUIZZLE_SAVE_WAIT" :				"Please wait while we create your Quizzle.",
	"PARENT_ACTIVATE_GET_AGENT":		"Getting Agent data...",
	"PARENT_ACTIVATE_SAVE_ACCOUNT" :    "Saving account...",
	"PARENT_ACTIVATE_DELETE_ACCOUNT":	"Deleting account...",
	"NAVACTIVITIES_LINK":				"Try It!",
	"NAVACTIVITIES_NOSAVEDACTIVITIES" :	"You haven't saved any Activities. Want to add some by visiting the Activities section?",
	"NAVACTIVITIES_NOPOPULARACTIVITIES" :	"Activities database is being updated. Please try again later.",
	"NAVACTIVITIES_NORECENTACTIVITIES" :	"You haven't played any Activities recently.",
	"MISSION_FAV_WAIT" :				"Please wait while we save this Mission to your Agent Files.",
	"LOADING" :							"Connecting to Xeko mainframe..."
}