/**
 * Javascript Localization File
 * 
 * language is a global array object.
 * 
 * This js file should be included in all the places where the localized javascript messages are needed.
 *
 * Each section is organized by module, with common strings at
 * the top of this file. Please take care to name them in the
 * following format:
 *
 *      js_module_action_description
 *
 * Note that the all the keys in this file should begin with "js_".
 * 
 * This file should really be generated automatically as part of the 
 * capistrano deployment based on the PHP file [en_us.php].
 * Since we don't have that working yet, this is a placeholder just to get things to work.
 *
**/

var language=Array();

/* General Server Down messages -- when connections from client to server cannot be made */
language['js_serverdown'] = "You connection to our server maybe be down. try refresh or stop on your browser";
language['js_servererror'] = "Error communicating with the server: ";

/* Client side validation on the User Registration Page */
language['js_register_missing_email'] = "Please enter a valid email address.\n";
language['js_register_invalid_email'] = "The email address contains illegal characters.\n";
language['js_register_missing_email2'] = "Please re-type your email address.\n";
language['js_register_mismatch_email'] = "Emails do not match.\n ";
language['js_register_invalid_password'] = "Password must be at least four characters in length.\n ";
language['js_register_invalid_password2'] = "Please confirm your password.\n ";
language['js_register_mismatch_password'] = "Passwords do not match.\n ";
language['js_register_agree_terms'] = "Please agree to terms.\n";
language['js_check_availability'] = "Check Availability";
language['js_please_enter_username'] = "Please Enter Username";

/* Validation on the Account Settings Pages */
language['js_myacct_long_sms'] = "SMS messages are limited to 160 characters. This includes both My Channel Text and your Channel URL.";
language['js_myacct_missing_password2'] = "You must enter your new password twice. It helps avoid typos.\n ";
language['js_myacct_invalid_password'] = "New password must be at least 4 characters.\n ";       
language['js_myacct_mismatch_password'] = "Passwords do not match.\n";

/* Confirmation before adding a user as a friend */
language['js_addfriend_confirm'] = "%s will have to confirm that you are a friend";

/* Validations from the Messages (Inbox/Compose) screens */
language['js_message_none_selected'] = "No messages have been selected";
language['js_message_missing_contact'] = "Please Select group or a Contact";
language['js_message_missing_subject'] = "The message must have a subject.";
language['js_message_missing_to'] = "You must pick a user to send the message to.";
language['js_message_missing_body'] = "Really send the message with no body?";
language['js_message_delete_confirm'] = "Are you sure you want to delete this message?";
language['js_message_delete_confirm2'] = "Are you sure you want to delete these messages?";

/* Validations from the Sets screens - when the user manages sets */
language['js_sets_missing_setname'] = "Please Enter a Name";
language['js_sets_missing_parentset'] = "Please Select a Parent Set";
language['js_sets_missing_item'] = "Please select at least one item to remove.";
language['js_sets_confirm_setdelete'] = "Are you sure you want to delete these sets?";
language['js_sets_confirm_mediadelete'] = "Are you Sure? This will remove it from any sets and set icons.";

/* General messages */
language['js_success'] = "Success";

/* Tags, Sharing and other Actions on Media */
language['js_date1greaterdate2'] = "Date 1 must be less than Date 2";
language['js_share_email_subject_default'] = "You are invited to view my media";
language['js_tag_added_successfully'] = "Tag Successfully added";
language['js_addtag_none_selected'] = "Please select at least one item to apply tags to.";
language['js_select_atleast_one_tag'] = "Please enter at least one tag to apply to the selected items.";
language['js_err_msg_empty_set_name'] = "Please enter a set name to create a new set";
language['js_make_public_successfully'] = "Your media is available for public viewing";
language['js_make_private_successfully'] = "Your media is changed to Private display";
language['js_make_friend_successfully'] = "Your media is changed to Friends display";
language['js_share_none_selected'] = "Please select at least one item to share";
language['js_publish_none_selected'] = "Please select at least one item to publish";
language['js_unfavorite_none_selected'] = "Please select at least one item to unfavorite";
language['js_slideshow_none_selected'] = "Please select at least one item for a slideshow";
language['js_perm_select_atleast_one_item'] = "Please select at least one item for permissions change.";
language['js_media_delete_none_selected'] = "Please select at least one item to delete";
language['js_setcover_select_one'] = "Please select one item to set as cover.";
language['js_cover_image_set'] = "Cover image set.";
language['js_userStatus_updated_successfully'] = "User status Successfully updated.";


