
Ka.Messages = {
    Common:{
		    HELP:'Carolina Help',
			ajaxError:'There was an issue processing your request. Please try again later.',
			flagCommentAsInappropriate:'Flagging notifies the ($siteName) webmaster of inappropriate content for this Carolina community. If you believe this content violates the <a href="($tosHref)">UNCCH Terms of Service</a>, please write a short description why. Thank you.',
			inAppropriateUserFlaggingConfirm:'Flagging notifies the ($siteName) webmaster of inappropriate content for this Carolina community. If you believe this profile violates the <a href="($tosHref)">UNCCH Terms of Service</a>, please write a short description why. Thank you.',
			EMAILHELPERTEXT:'Please enter comma-separated, valid Carolina friendly email address and/or Carolina friendly usernames.',
			PLZENTERSUBJECT:'Please enter a Carolina subject.',
			PLZENTERMSG:'Please enter a Carolina message.',
			TITLE:'Please enter a Carolina title.',
			REQFIELD:'This UNCCH field is required',
			ONLYMEMBERS:'Sorry, you can only send a Carolina message up to 20 UNCCH members at once.',
			PLEASESELECTAFILE:'Please select a Carolina file.',
			OKBUTTONCOLORPIKER:'OK',
			CANCELBUTTONCOLORPIKER:'Cancel',
			CHARACTERSLEFT:'Characters left: ($count) (limit ($count2))',
			SECONDS:'($count) seconds ago',
			BASIC:'basic Carolina search',
			ADVANCED:'advanced Carolina search',
			MBDISCUSSIONVALIDATIONMSG:'Your Carolina discussion title must be between 3 and 100 characters.',
			MBFORUMVALIDATIONMSG:'Your Carolina forum title must be between 3 and 100 characters.',
			MORETHANONCE:'"($tagName)" Carolina tag appeared more than once',
			APPENDTOCONFIRMATIONMSG:'<strong>It may take a few minutes for your Carolina changes to appear on ($siteName).</strong>',
			RETRY: '',
			SEARCH_TOO_SHORT: 'Please enter a search term containing at least two characters.',
			ADD_TO_SET:'Add to Set',		
			SELECT_SET_BELOW:'Select a set(s) below or <a href="($setLink)"> create a new set.</a>'
	},		
	EV: {
		VERIFICATION_POPUP: '',
		VERIFICATION_REQUIRED: '',
		CONFIRMATION_SENT: '',
		CONFIRMATION_SEND_ERROR: '',
		EMAIL_NOT_YET_VERIFIED: ''
	},
	CustomPages:{
		ADD_TO_FAVORITE: 'Add to favorites',
		REMOVE_FROM_FAVORITE: 'Remove from favorites',
		ADD_ADMINTAGS_HELPER: 'add admin tags',
		ADD_TAGS_HELPER: 'add tags',
		JUST_NOW: 'just now',
		COMMENT_FLAGGED: 'flagged',

		RATINGS_COUNT: '($count) Ratings',
		
		EMAIL_SENT: 'Sent!',
		EMAIL_EMAIL_TO_MORE: 'Email to more friends!',
		
		EMAIL_FAILED: 'Send failed!',
		EMAIL_TRY_AGAIN: 'Try again.',
		
		THANKS_FOR_VOTE: 'Thanks for the vote!',
		
		RATING_COUNT: '($count) Rating'
	},
	
	Uploader: {
		STATUS_PENDING: '',
		STATUS_UPLOADING: ' Uploading...',
		STATUS_COMPLETE: 'Complete.',
		STATUS_ERROR: 'Failed',
		STATUS_INVALID: 'Invalid',
		
		REMOVE_FROM_QUEUE: 'Remove from queue>',
		PERCENTAGE: '<strong>($percentage)%</strong> Complete!',
		
		IMAGES_SELECT: '<span class="button">Select Photos</span>',
		IMAGES_FILE_DESC: 'Images',
			
		VIDEOS_SELECT: '<span class="button">Select Videos</span>',
		VIDEOS_FILE_DESC: 'Videos',
			
		AUDIOS_SELECT: '<span class="button">Select Audio Tracks</span>',
		AUDIOS_FILE_DESC: 'Audio Tracks',
		
		ADD_DESCRIPTION: 'Carolina Description:',
		ADD_TITLE: 'Carolina Title',
		
		STEP_1_NAVIGATE_CONFIRM: 'You have ($fileCount) files queued that have not yet been uploaded.',
		STEP_2_NAVIGATE_CONFIRM: 'Are you sure you want to leave this page? You have unsaved changes.',
		
		UPLOAD_SUCCESS: '($fileCount) files uploaded successfully. You can edit the details below.',
		ERROR_QUEUE_LIMIT_EXCEEDED: 'You have selected too many files.',
		ERROR_FILE_EXCEEDS_SIZE_LIMIT: 'This file is too large.',
		
		PHOTO_USE_LABEL: 'This Carolina image is:',
		PHOTO_USE_REGULAR: 'A regular Carolina photo',
		PHOTO_USE_PORTRAIT: 'My UNCCH profile photo',
		PHOTO_USE_THEME: 'A UNCCH profile Carolina theme image'
	},
	MediaSets: {
		NAVIGATE_CONFIRM: "You have unsaved changes",
		ADD_TO_SET_POPUP_CONFIRM: 'This media was added to the set "($setLink)"',
		SOURCE_ITEM_COUNT: "($count) items",
		SOURCE_SELECTED_COUNT: "($count) selected",
		NAVIGATE_CONFIRM: "You have unsaved changes",
		ENTER_KEYWORDS: "enter keywords",
		ADDED_TO_LIST: "This item has been added to the list already.",
		CONTAIN_ATLEAST_ONE_ITEM: "Your set must contain at least one item",
		ENTER_COUNTS_CHARACTERS: "Please enter at least ($count) characters.",
		ENTER_MORE_THEN_COUNTS_CHARACTERS: "Please enter no more than ($count) characters.",
		NO_PREVIOUS_SET:'You have no previously created sets.',
		CREATE_A_NEW_SET:'Create a new set'		
	},
	
	MyMedia: {
			CONFIRM_DELETE_MEDIA_SET:   "Are you sure you want to delete this media set?",
			CONFIRM_DELETE_MEDIA_BLOG:  "Are you sure you want to delete this Carolina blog post?",
			CONFIRM_DELETE_MEDIA_AUDIO: "Are you sure you want to delete this Carolina audio track?",
			CONFIRM_DELETE_MEDIA_PHOTO: "Are you sure you want to delete this Carolina photo?",
			CONFIRM_DELETE_MEDIA_VIDEO: "Are you sure you want to delete this Carolina video?"
			
	},
	
	GroupPage:{
			JOINGROUP:'join this Carolina group',
			LEAVEGROUP:'leave this Carolina group',
			LOGINTOJOINGROUP:'log in to join this Carolina group',
			COMMENTONGROUPHERE:'Comment on Carolina group ($groupName) here.',
			THANKSFORGRPREQ:'Thank you for your Carolina group request',
			SENDINGREQ:'Sending Carolina request...',
			JOINGROUPMSG:'Welcome to the Carolina group ($groupName).',
			LFETGROUPMSG:'You have left the Carolina group ($groupName).',
			VIEWALL:'View All',
			FLAGASINAPP:'Flag as Inappropriate for This Carolina Community',
			COMMENTEDON:'($userName),($dateStamp)',
			REFRESHURL:'Taking you to your my Carolina group page... (if this does not work, <a href="($displayManageClubsURL)">click here</a>.)',
			BLOGTEXTMAXLENGTH:'Sorry, it looks like this Carolina blog post is too long for our Carolina system! We only allow up to 40,000 characters per Carolina post. Try breaking this Carolina post up into several smaller Carolina blog posts.',
			GROUPFLAGGINGTHANKSFORHELP:'The ($siteName) staff has been notified. Thanks for helping ($siteName) maintain this Carolina  community.',
			GROUPPAGESTATSAFTERFLAGGING:'This page is flagged for a Carolina review.',
			MUSTLOGINTOCOMMENT:'You must <a class="ka_memberAction" href="($loginURL)">log in to UNCCH</a> or <a href="($joinURL)">join UNCCH</a> to enter Carolina messages.',
			MUSTJOINTOCOMMENT:'You must <a href="($joinGroupURL)">join the Carolina group</a> to enter Carolina messages',
			SENDBUTTON:'Send'
	},		
	
	MediaComments:{
			COMMOENTDELETE:'Are you sure this is non-Carolina material?  This delete can not be undone.',
			COMMENTISFRIEND:'UNCCH member ($userName) is your Carolina friend.',
			COMMENTSFLAGGED:'this has been flagged by a UNCCH Carolina member.',
			COMMENTSINAPPSEND:'Send Flag to UNCCH',
			COMMENTSINAPPCANCEL:'Cancel',
			ENTERAVALIDURL:'Please enter a valid URL, like \'www.uncch.us\'.',
			COMMENTALREADYAFAN:'Already a Carolina fan here'
	},		
	
	JoinPage:{
			EMAILPLEASE:'Please enter a valid email address to use with your UNCCH account.',
			USERNAME:'Please enter a UNCCH username. Your UNCCH username may only contain letters, numbers, and underscores',
			PASSWORD:'Please enter a UNCCH password.',
			PASSWORDCONFIRM:'Oh come on, your passwords must match exactly.',
			DOBMONTH:'Please enter a month.',
			DOBDAY:'Please enter a day.',
			DOBYEAR:'Please enter a year.',
			SECURITY_TEXT:'Security text cannot be empty, even if you can\'t read it.',
			TERMSOFSERVICE:'You must accept UNCCH Terms of Service.',
			ERRORLOGINPAGE:'Please enter a valid UNCCH username and UNCCH password.',
			ERRORUSERLOGINPAGE:'Please enter a valid username.',
			AGEERROR:'You must be at least 13 years old to join. We understand being 12 and under are very good ages, but you have to be 13 or older to join UNCCH.',
			AGEERRORCOPPA:'In a previous attempt to join, you stated that you were younger. Being dishonest is not a very nice way to be as a  person or a good way to get welcomed here.  Always remember, honesty is the best policy. Your honesty helps keep UNCCH out of trouble.'
	},
	
	MyHome:{
			MYFRIENDSACTIVITY:'Loading your Carolina friends\' activities.'
	},		
	
	
	ProfilePage:{
			PROFILEPAGEFLAGGED:'flagged as inappropriate for Carolina community',
			PROFILEPAGEERRORMSG:'The Carolina subject needs to be between 2 and 50 letters long.',
			SELECT:'select',
			PAGINATIONLINKCOMMENT:'Carolina Comments',
			PAGINATIONLINKNEXT:'Next',
			SHOWALL:'show all Carolina content',
			MESSAVE_BOARD_POSTED: '<a href="($mbHref)">($messageTitle)</a>, ($timeStamp), Carolina Posts:($count)',
			SETITEMS: '($count) Items'
	},		
	
	PlayPage:{
			AFTERFLAGGING:'This page is flagged for review for this Carolina Community',
			SENT:'Carolina Information Sent!',
			EMAILTOFRIENDS:'Email to more Carolina friends!',
			EMAIL:'Email to Carolina Friends',
			EMAILFAILED:'Carolina Information Send failed!',
			TRYAGAIN:'Give it that Carolina spirit and try again.',
			SENDING:'Sending UNCCH data...',
			ADDTOFAV:'Add to Carolina Favorites',
			REMOVEFROMFAV:'Remove from Carolina Favorites',
			GIGGYACANCELPOST:'Cancel Carolina post on another Carolina network or Carolina blog',
			GIGGYAADDTONET:'Post on another Carolina network or Carolina blog',
			INAPPFLAG:'Flag as Inappropriate for this Carolina Community',
			MORE:'more Carolina content',
			LESS:'less Carolina content',
			TAGSERRORMSG1:'Carolina tags can only include letters and numbers',
			TAGSERRORMSG2:'Carolina tags cannot be longer than 30 characters',
			THANKSFORTHEVOTE:'Thanks for the Carolina vote!',
			RATING:'($count) Carolina Rating',
			RATINGS:'($count) Carolina Ratings',
			EMAILADDR:'Please enter your Carolina friendly email address.',
			ADDTAGS:'add Carolina tags',
			ADDADMINTAGS:'add UNCCH admin Carolina tags',
			COMMENTADDEDON:'UNCCH member ($userName), ($dateStamp)',
			HIDE:'hide Carolina message',
			CHOOSEFILE:'Please choose a Carolina file.',
			ENTERVALLIDUSPORTALCODE:'Please enter a valid US postal code',
			ENTERVALLIDCANADIANPORTALCODE:'Please enter a valid Canadian postal code',
			PLEASEENTERBLOGTEXT:'Carolina blog text is required for creating a Carolina text blog.',
			UPLOADINGFILES:'Uploading Carolina File(s)',
			CANCELUPLOAD:'cancel Carolina upload',
			CONFERMABORT:'Are sure you want to abort the upload?  Duke related material is tolerated.',
			UPLOADINGWAIT:'Please choose a Carolina file.',
			BEGINNINGUPLOAD:'Beginning Carolina upload. Please wait.',
			UNABLETOUPLOAD:'Some Carolina files were unable to upload.<br />',
			ERRORSREPORTED:'Carolina errors reported:',
			ERRORREPORTED:'Carolina error reported:',
			UPLOADFAILED:'Carolina upload failed',
			TRANSFERCOMPLETED:'Carolina transfer completed:',
			FINALIZING:'finalizing Carolina transaction ',
			TASKSUBMITTED:'',
			BYTESTOUPLOAD:'Total Carolina bytes to upload:',
			TRANSFERRINGFILE:'Transferring Carolina file:',
			BYTESTRANSFERRED:'Transferred ($count) Carolina bytes',
			MEDIASTARS:'($count) Carolina Stars',
			MEDIAVIEWS:'($count) Carolina Views',
			TAGALREADYEXISTS:'"($tagName)" Carolina tag already exists',
			MEDIAFLAGGINGTHANKSFORHELP:'The ($siteName) staff has been notified. A Carolina thanks to for helping maintain this ($siteName)Carolina community.',
			READMORE:'read more of this Carolina message',
			FILECOUNT:'Carolina file ($currentFileCount) of ($totalFileCount) Carolina File(s)',
			VIEWALLPP:'View All',
			LATESTBY:'By UNCCH member <a href="($kpHref)">($userName)</a>',
			TAGSBEGINWITHSINGLEQUOTE:'Carolina tags cannot begin with single quote character',
			TAGSCONTAINSINGLEQUOTE:'Carolina tags cannot contain only single quote character',
			TAGSMORETHENONEWORD:'Carolina tags within quotes must contain more than one word',
			DELETECONFIRMMESSAGE:'Are you sure you want to delete this Carolina item? It cannot be undone.'
	},		
	
	InappFlag:{
			SENDINAPPRO:'Send Flag to UNCCH',
			CANCELINAPPRO:'Cancel',
			SITENAMEUPGRADED:'<strong>($siteName) is being upgraded to meet our Carolina community standards!</strong><br /> Please try again in half an hour.',
			COMMENTSHASBEENSUBMITTED:'Your Carolina comment has been submitted to UNCCH administrators for approval. Thanks for the Carolina comment!',
			CLOSEOPENQUOTES:'Please close the open quotes',
			BYAFORMERMEMBER:'By a former UNCCH member',
			YOURCOMMENTSHASBEENSUBMITTED:'Your Carolina comment has been submitted to UNCCH administrators for approval. Thanks for the Carolina comment!',
			ENTERATLEAST:'Enter at least ($count) characters.',
			FLAGASINAPPROPRIATE:'flag as inappropriate for Carolina community',
			ATLEAST4CHARACTERS:'Your Carolina message text must include at least 4 characters.',
			PLAYPAGECOMMENTSFLAGGED:'flagged, this information is not shared with other UNCCH members.',
			GROUPPAGECOMMENTSFLAGGED:'flagged'
	},		
	
	MessageBoards:{
			CANCELARRANGEMENT:'cancel',
			CANCELARRANGEMENTTITLE:'Click to cancel arrangement',
			CLICKTOREARRANGETITLE: 'Click to rearrange Carolina forums',
			DELETEDISCUSSION: 'Are you sure you want to delete this Carolina discussion and it\'s Carolina contents? This action cannot be undone.',
			DELETEREPLY: 'Are you sure you want to delete this Carolina reply? This action cannot be undone.',
			DISABLE: 'Disable',
			DISABLEDDISCUSSION: 'Disabled Carolina Discussion',
			DISABLEDDISCUSSIONS: 'Disabled Carolina Discussions',
			DISABLEDFORUM: 'Disabled Carolina Forum',
			DISABLEDFORUMS: 'Disabled Carolina Forums',
			DISABLEDREPLIES: 'Disabled Carolina Replies',
			DISABLETHISDISCUSSION: 'Disable this Carolina discussion',
			DISABLETHISFORUM: 'Disable this Carolina forum',
			DISABLETHISREPLY: 'Disable this Carolina reply',
			DRAGDROPMESSAGE:'Drag and drop Carolina forum items to your heart\'s content.',
			EMPTYENABLEDFORUMVIEW: 'Looks like you don\'t have any active Carolina forums. Why not <a href="($createOneHref)" title="Click to create a new Carolina forum">create one</a>?', 
			EMPTYDISABLEDFORUMVIEW: 'There are no disabled Carolina forums.', 
			EMPTYENABLEDDISCUSSIONVIEW: 'There are no active Carolina discussions. Why not <a href="($startDiscussionHref)" class="ka_memberAction">start one?</a>', 
			EMPTYDISABLEDDISCUSSIONVIEW: 'There are no disabled Carolina discussions.', 
	   		EMPTYENABLEDREPLYVIEW: 'Be the first UNCCH member to give a Carolina <a href="($replyHref)" class="ka_memberAction">reply</a>!', 
			EMPTYDISABLEDREPLYVIEW: 'There are no disabled Carolina replies.', 
			ENABLE: 'Enable',
			ENABLETHISDISCUSSION: 'Enable this Carolina discussion',
			ENABLETHISFORUM: 'Enable this Carolina forum',
			ENABLETHISREPLY: 'Enable this Carolina reply',
			FORUM: 'Carolina Forum',
			ISYOURFRIEND: '($userName) is your Carolina friend',
			LASTREPLY: 'Last Carolina Reply',
			LATESTACTIVITY: 'Latest Carolina Activity',
			MOVEFORUMDOWN: 'Move Carolina forum down',
			MOVEFORUMUP: 'Move Carolina forum up',
			PIN: 'pin',
			PINDISCUSSIONTITLE: 'Pin this Carolina discussion',
			REORDERBUTTON:'Reorder',
			SAVEARRANGEMENT:'I\'m Done!',
			SAVEARRANGEMENTTITLE:'Click to save arrangement',
			SEND:'Send this Carolina information',
			OK:'OK',
			UNPIN:'unpin',	
			FLAGGED:'Flagged',
			AJAXERRORINMB:'There was an issue processing your Carolina request. Please give it your Carolina spirit and try again later.',
			MEMBERISYOURFAN:'($userName) is your Carolina fan',
			ALREADYAFAN:'Already a Carolina fan',
			YOURDISCUSSIONHASBEENDISABLED:'The Carolina discussion has been disabled and moved to the last page.',
			DISCUSSIONUNDO:'[undo]',
			UNPINDISCUSSIONTITLE: 'Unpin this Carolina discussion',
			YOURDISCUSSIONHASBEENPINNED:'The Carolina discussion has been pinned and moved to the first page.',
			YOURREPLYHASBEENDISABLED:'The Carolina reply has been disabled and moved to the last page.'
	},
	
	Profile: {
			DELETECOMMENTCONFIRM: 'Are you sure you want to delete this Carolina comment?',
			DELETELINK: 'Delete Carolina comment',
			POSTCOMMENT: 'post the Carolina way'
	},
	
	TinyMceEditor:{
			COUNTOFCOUNTIMAGES:'($count) of ($count1) Carolina images',
			COUNTOFCOUNTVIDEOS:'($count) of ($count1) Carolina videos',
			PREVIOUS:'prev',
			NEXT:'next',
			REFRESH:'Refresh Carolina Data',
			MYPHOTO:'My Carolina Photos',
			MYVIDEOS:'My Carolina Videos',
			EXTERNALMEDIA:'From the Web (UNC-CH has A Rich History of Internet Firsts)',
			TITLEBYUSERNAME:' by UNCCH member ($userName)',
			VIDEOSBYUSERNAME:'Show all Carolina videos by UNCCH member ($userName)',
			INSERT:'insert Carolina data',
			CANCEL:'cancel Carolina data',
			APPROVED:'Given the Carolina Approval',
			PENDING:'Currently Pending by UNCCH',
			REJECTED:'Rejected by UNCCH',
			COMMENTPENDINGAWAITINGAPPROVAL:'This Carolina comment is pending and awaiting a Carolina approval.',
			PHOTOPENDINGAVAILABLESOON:'This Carolina photo is pending and should be available soon.',
			PHOTOPENDINGAWAITINGAPPROVAL:'This Carolina photo is pending and awaiting UNCCH approval.',
			PHOTOREJECTEDPLEASETRYANOTHER:'Sorry this Carolina photo has been rejected by UNCCH. Please try another.',
			PHOTOPROCESSINGORMISSINGCANNOTBEUSED:'This Carolina photo is processing or missing and cannot be used at UNCCH at this time.',
			DONOTHAVEAPPROVEDPHOTOINOURSYSTEM:'UNCCH does not have any approved Carolina photos currently in our system submitted by you at this time. Please <a href="($addMediaPage)">upload</a> a Carolina photo first.',
			DONOTHAVEAPPROVEDVIDEOINOURSYSTEM:'UNCCH does not have any approved Carolina video currently in our system submitted by you at this time. Please <a href="($addMediaPage)">upload</a> a Carolina video first.',
			VIDEOISPENDINGANDSHOULDBEAVAILABLESOON:'This Carolina video is pending and should be available soon.',
			VIDEOISPENDINGANDAWAITINGAPPROVAL:'This Carolina video is pending and awaiting UNCCH approval.',
			VIDEOREJECTEDPLEASETRYANOTHER:'Sorry this Carolina video has been rejected by UNCCH. Please try another.',
			VIDEOPROCESSINGORMISSINGCANNOTBEUSED:'This Carolina video is processing or missing and cannot be used at UNCCH at this time.',
			KICKMEDIABUTTONTITLE:'Insert or upload Carolina media',	
			ENTERAKEYWORD:'enter a Carolina keyword',
			PHOTOMISSINGTITLE:'Carolina Photo Missing',
			SELECTIMAGESIZE:'Select a Carolina image size:',
			SMALL:'small',
			MEDIUM:'medium',
			LARGE:'large',
			LEFT:'left',
			CENTER:'center',
			RIGHT:'right',
			SELECTIMAGEPOS:'Select Carolina image position:',
			PHOTOREJECTED:'Carolina Photo Rejected by UNCCH',
			PHOTOPENDING:'Carolina Photo Pending',
			VIDEOREJECTED:'Carolina Video Rejected by UNCCH',
			VIDEOPENDING:'Carolina Video Pending',
			VIDEOMISSING:'Carolina Video Missing',
			NORESULTSFROMSEARCH:'Your Carolina search returned no results.',
			SEARCHEXTMEDIA:'',
			UPLOAD:'Upload',
			CLOSEWARNING:'It looks like you\'ve left the parent page. This window will close in 5 seconds.',
			REFRESHTHUMBNAIL:'refresh Carolina thumbnails'
	},		
	addProp: function(prop,val){this[prop]=val;},
	replaceTokens: function(string, variables) {
		try {
		    for(obj in variables){
		        string = string.replace(new RegExp("\\(\\$" + obj + "\\)","g"), variables[obj]); 
		    }
	    } catch(ex) {}
	    return string;
	}
};