/**
 * This file contains all the message strings used throught the js code
 */
// Create a json object to hold messages
var messages = eval('({})');

// General messages
messages.loading = 'Loading...';

// Messages used in the js code
// Login page
messages.invalid_login = 'Invalid username or password.';
messages.empty_username = 'Please provide the username.';
messages.empty_password = 'Please provide the password.';
messages.new_pw_success = 'A new password has been sent.';
messages.new_pw_error = 'Unable to send new password.';

// Register page
//messages.register_success = 'Registration completed successfully. Check your email for further instructions.';
//messages.register_success = 'Registration completed successfully. Please check your email to verify your account.';
//messages.register_success = 'Registration completed successfully. You are being logged into Wagmu ...';
messages.register_success_member = 'Registration completed successfully. You are being logged into Wagmu ...';
messages.register_success_guest = 'Guest account set up successfully. Taking you to Wagmu ...';
messages.register_fail = 'Registration failed! Look for errors in the form';
messages.empty_first_name = 'Please provide the first name';
messages.empty_last_name = 'Please provide the last name';
messages.pw_match_error = 'Passwords do not match';
messages.empty_email = 'Please provide the email';
messages.inches_error = 'Inches should not be greater than 12';
messages.must_agree_to_terms = 'You must agree to the terms of service.';
messages.register_here = 'Register here to join Wagmu.';

// Settings page
//messages.profile_updated = 'Data updated! In case you have changed your email, a verification email will be sent on your old email for changes to take effect';
messages.profile_updated = 'Settings data updated successfully.';
messages.profile_update_error = 'Unable to update the personal data.';
messages.request_failed = 'Your request cannot be completed.';
messages.rqmts_modified = 'You\'ve just changed your required nutrients. Please make sure your nutrient requirement is correct.';
messages.rqmts_restored_to_default = 'Nutritional requirements restored to default.';
messages.rqmts_restored_to_last = 'Nutritional requirements restored to last value.';
messages.rqmt_deleted = 'Nutritional requirement deleted successfully.';
messages.showing_nutrients_for = 'Showing average nutrients for ';
messages.showing_nutrients_for_days = ' entered days in the diary.';
messages.membership_deleted = 'Wagmu membership deleted. Logging out your session ...';

// Food diary page
messages.diary_saved = 'Food plan changes saved.';
messages.empty_title = 'Type a title for this plan.';
messages.empty_rating = 'Taste rating';
messages.max_title_len_error = 'The title is limited to 100 characters.';
messages.plan_saved = 'Food plan saved.';
messages.food_plan_rating_succeeded = 'Food plan taste rating saved.';
messages.rate_this_plan = 'Rate this food plan for taste.';
messages.comment_added = 'Comment added successfully.';
messages.quantity_tooltip = 'To delete a food, set its quantity to 0.';
messages.empty_food_text_no_suggestions = 'Type a food word, then select... (no suggestions)';
messages.showing_other_member_plan = 'Now showing another member\'s food plan. To edit, copy to a day on your calendar.';
messages.try_suggest_again = 'Food added successfully. Try Suggest again for a better food plan.';
messages.plan_changes_saved_click_pumpkin = 'Food plan changes saved. Click the pumpkin for suggested foods.';
messages.plan_changes_saved_no_suggestions = 'Food plan changes saved. No suggested foods found.';
messages.past_plan_no_suggest = 'If you want to use Wagmu Suggest, copy this food plan to a future date. Past food plans cannot be optimized.';
messages.comment_deleted = 'Comment deleted.';

// Recipe page
messages.recipe_saved = 'Recipe saved successfully.';
messages.empty_recipe_name = 'Please provide the recipe name.';
messages.empty_servings = 'Please provide the number of servings.';
messages.empty_prep_time = 'Please enter the prepration time in minutes.';
messages.delete_ingredient_error = 'Unable to delete the ingredient.';
messages.must_save_recipe = 'You&#39;ll need to press &quot;Save this recipe&quot; to make changes permanent.';
messages.recipe_rating_succeeded = 'Recipe taste-rating saved.';
messages.recipe_saved_new_version = 'This recipe occurs in a food plan or another recipe.<br>Your changed recipe has been copied to a new number so that uses of the old recipe will be unaffected.';

// Grocery list
messages.grocery_list_saved = 'Grocery list change saved.';

// Help Page
messages.comment_error = 'Sorry, we are temporarily unable to record your comment.';
messages.comment_success = 'Thanks for your feedback!';
messages.send_comment = 'Send us comments! We\'re keen to hear from you.';
