function MessagesResources(){
this.localeMessages = new Array();
this.getMessage = function(_key,_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7,_arg8){
var finalMessage = this.localeMessages[_key];
if(_arg0) finalMessage = finalMessage.replace("{0}",_arg0);
if(_arg1) finalMessage = finalMessage.replace("{1}",_arg1);
if(_arg2) finalMessage = finalMessage.replace("{2}",_arg2);
if(_arg3) finalMessage = finalMessage.replace("{3}",_arg3);
if(_arg4) finalMessage = finalMessage.replace("{4}",_arg4);
if(_arg5) finalMessage = finalMessage.replace("{5}",_arg5);
if(_arg6) finalMessage = finalMessage.replace("{6}",_arg6);
if(_arg7) finalMessage = finalMessage.replace("{7}",_arg7);
if(_arg8) finalMessage = finalMessage.replace("{8}",_arg8);
return finalMessage;
}
this.addMessage = function(_key,_msg){
this.localeMessages[_key] = _msg;
}
}
// Create Element
var resources = new MessagesResources();
// add messages
resources.addMessage("feedbackCentral.saveText","Your settings have been saved");
resources.addMessage("searchResults.prefshowcase.title1","Performers Showcase - Latest Recordings");
resources.addMessage("popup.pluginNewVerUpgrade.newVerAvailTxt","A new version of the kSolo Recorder is now available to download. This version includes the following new features:");
resources.addMessage("popup.pluginNewVerUpgrade.wantUpgradeNow1","Would you like the upgrade now?");
resources.addMessage("popup.pluginNewVerUpgrade.wantUpgradeNow2","You need to upgrade your Recorder to the latest version in order to continue enjoying the site. Please click Ok in order to upgrade.");
resources.addMessage("popup.pluginNewVerUpgrade.btnTxtYes","Yes");
resources.addMessage("popup.pluginNewVerUpgrade.btnTxtLater","Later");
resources.addMessage("popup.pluginNewVerUpgrade.btnTxtOk","Ok");
resources.addMessage("popup.pluginNewVerUpgrade.numOfDayToCheckAgain","7");
resources.addMessage("errors.email","Insert your accurate null.");
resources.addMessage("popup.close","Close");
resources.addMessage("afteroperation.addtolibrary.ok","The original song was successfully added to your library.");
resources.addMessage("afteroperation.success","Your settings were successfully updated.");
resources.addMessage("myrecordingscontainer.alertBox.deleteMsg","Are you sure you want to permanently delete the selected song(s)? Don't forget, you can make your song private (private songs are not calculated in your final score) by going to the Song Page and changing your song permissions to Private.");
//for bulletin feature
resources.addMessage("bulletin.songs.blogThis","Blog / Bulletin This");
resources.addMessage("bulletin.songs.leaveFeedback","Rate & Feedback");
resources.addMessage("bulletin.songs.shareWithFriends","Share with Friends");
resources.addMessage("bulletin.songs.songUrl","Song URL");
resources.addMessage("bulletin.songs.songCode","Song Code");
resources.addMessage("bulletin.songs.tooltip.bulletinLinkBlogThis","Post this to your blog/bulletin");
resources.addMessage("bulletin.songs.tooltip.bulletinLinkLeaveFeedback","Leave feedback on this song");
resources.addMessage("bulletin.songs.tooltip.bulletinLinkShareWithFriends","Share this with your friends");
resources.addMessage("bulletin.songs.tooltip.songUrl","Send this URL to your friends");
resources.addMessage("bulletin.songs.tooltip.songCode","Add this code to your profile");
resources.addMessage("bulletin.recordings.checkout","Check out !!my!! new recordings!!");
resources.addMessage("bulletin.recording.checkout","Check out !!my!! new recording!!");
resources.addMessage("bulletin.songs.checkout","Check out this song!!");
resources.addMessage("bulletin.recording.songUrl","Recording URL");
resources.addMessage("bulletin.recording.songCode","Recording Code");
resources.addMessage("bulletin.recordings.body","Check out !!my!! recordings and let me know what you think!");
resources.addMessage("bulletin.recording.body","Check out !!my!! recording and let me know what you think!");
resources.addMessage("bulletin.songs.body","Check out this cool song and sing your heart out!");
resources.addMessage("bulletin.recordings.private.err","Private recordings cannot be bulletined or blogged");
//for captcha feature
resources.addMessage("captcha.imageUrl","http://security.myspace.com/captcha/captcha.aspx");
resources.addMessage("captcha.info1","Verification: Enter the text from the image below");
resources.addMessage("captcha.info2","Please re-enter the text from the image below");
resources.addMessage("captcha.info3","Verification field does not match the text");
resources.addMessage("captcha.info4","Can't see the words?");
resources.addMessage("captcha.submit","Submit");
resources.addMessage("captcha.close","Close");
resources.addMessage("usersSearchResults.more","View All");
resources.addMessage("popup.sharewithfriend.title","Share with Friends!");
resources.addMessage("popup.sharewithfriend.blogBulletin","Blog / Bulletin This");
resources.addMessage("popup.sharewithfriend.email","Email");
resources.addMessage("popup.sharewithfriend.embedCode","Embed Code");
resources.addMessage("popup.sharewithfriend.processing","Please wait until the recording has finished uploading");
resources.addMessage("homepage.header.featuredRec","Featured Video Recordings");
resources.addMessage("homepage.header.mostPopularRec","Most Popular Video Recordings");
resources.addMessage("homepage.header.topRatedRec","Top Rated Video Recordings");
resources.addMessage("homepage.header.latestRec","Latest Video Recordings");
resources.addMessage("homePage.titleFeaturedAudioRecordings","Featured Audio Recordings");
resources.addMessage("homePage.titleMostPopularAudioRecordings","Most Popular Audio Recordings");
resources.addMessage("homePage.titleLatestAudioRecordings","Latest Audio Recordings");
resources.addMessage("homepage.recordings.audio.featured.more","/recordings/Featured-Audio-Recordings");
resources.addMessage("homepage.recordings.audio.mostpopular.more","/recordings/Most-Popular-Audio");
resources.addMessage("homepage.recordings.audio.latest.more","/recordings/Latest-Audio-Recordings");
resources.addMessage("homePage.titleFeaturedPerformers","Featured Performers");
resources.addMessage("homePage.titleMostPopularDebut","Most Popular Debut");
resources.addMessage("homePage.titleMostPopularPerformers","Most Popular Performers");
resources.addMessage("homepage.performers.featured.more","/performers/Featured");
resources.addMessage("homepage.performers.mostpopular.more","/performers/Most-Popular-Performers-Last-Week");
resources.addMessage("homepage.performers.mostpopulardebut.more","/performers/Most-Popular-Debuts");
resources.addMessage("homepage.songs.mostpopular.more","/songs/Most-Popular");
resources.addMessage("homepage.songs.topartists.more","/songs/Top-Artists");
resources.addMessage("homepage.songs.featured.more","/songs/Featured-Songs");
resources.addMessage("recommendation.none","We're sorry, we have no recommendations at the moment.");
resources.addMessage("recommendation.from","From");
resources.addMessage("recommendation.plays","Plays");
resources.addMessage("recommendation.feedback","Feedback");
resources.addMessage("recommendation.tooltip.watch","Watch 's recording");
resources.addMessage("recommendation.tooltip.listen","Listen to 's recording");
resources.addMessage("recommendation.tooltip.viewprofile","View 's profile");
/* GET MESSAGE */
//resources.getMessage("message.key",);