/*HELPER FILES*/

//blist.js
var BLIST_DATA_NOT_VALID = 'The data is not valid.';
var BLIST_CANT_ADD_TO_VIEW = 'You can\'t add to this view now.';
var BLIST_EXISTS_BOOK = 'The book already exists in this view.';

//book_details.js
var BOOK_DETAILS_LOADING = "Loading...";

//comment.js
var COMMENT_REACH_MAX_SIZE = "The maximum size of a comment is 150 characters.";

//loan.js
var LOAN_ENTER_A_NAME = 'Please enter a name.';
var LOAN_DATA_INVALID = 'Your data is invalid.';
var LOAN_ON_LOAN = 'On loan';
var LOAN_CANT_CHANGE = 'You can\'t change loan details.';

//tag.js & subject_search.js & title_search.js & vrg.js & vrg_administration.js
var TAG_INSERT_NEW = "Create a new tag (25 characters)";
var TAG_EXISTS = 'This tag currently exists. Please try another.';
var TAG_IS_CATEGORY = 'This tag is a category. It has been added to the category list.';
var TAG_CANT_ADD_NOW = 'You can\'t add this tag now.';
var TAG_NAME_REQUIRED = "A tag name is required.";
var TAG_CONFIRM_REMOVE ="Are you sure you want to remove the tag: ";
var PERM_PUBLIC = "Public";
var PERM_PRIVATE = "Private";
var ALERT_EMPTY_TITLE_VRG = 'Please type the title of your Reading Group';
var ALERT_VRG_TITLE_NOT_AVAILABLE_PREFIX = 'There is already another group named "';
var ALERT_VRG_TITLE_NOT_AVAILABLE_SUFFIX = '".  Please try another name.';
var CONFIRM_VRG_CREATE_PREFIX = 'Are you sure you want to call this Reading Group "';
var CONFIRM_VRG_CREATE_SUFFIX = '"?  Once you have done so you will not be able to change the name.';
var CONFIRM_VRG_TOGGLE_POLL = "Are you sure you would like to change the way you select books?";
var NOTICE_VRG_MEETING_DATE_CHANGED = 'Your next meeting date has been recorded.';
var ALERT_SAVE_VRG_DATA_FAIL = "There was an error when trying to save data.";
var ALERT_SAVE_VRG_NOTE = "Note saved";
var CONFIRM_REMOVE_NEWSLETTER = "Are you sure you want to remove this newsletter?";
var ALERT_REMOVE_NEWSLETTER_FAIL = "There was an error when deleting data.";
var CONFIRM_REMOVE_RG_BOOK = "Are you sure you want to remove this book?";
/*ELEMENT FILES*/

//menu.js
var MENU_INPUT_SEARCH_STRING = 'Please input search string.';
var MENU_MINIMUM_CHARACTERS_NUMBER = 'Search must contain at least 2 characters.';


/*ROOT FOLDER*/

//authorprofile.js
var AUTHOR_PROFILE_INPUT_TO_COMMENT_BOX = 'Please input data into comment box.';
var AUTHOR_PROFILE_READ_AND_AGREE= 'You must read and agree to the Terms & Conditions before submitting an article.';
var AUTHOR_PROFILE_REQUIRE_HEADING = "Heading is a required field.";
var AUTHOR_PROFILE_REQUIRE_INTRO = "Intro value is a required field.";
var AUTHOR_PROFILE_REQUIRE_CONTENT = "Content is a required field";

//book_review_profile.js & book_review.js
var BOOK_REVIEW_PROFILE_INPUT_TO_COMMENT_BOX = 'Please input data into comment box.';
var BOOK_REVIEW_PROFILE_READ_AND_AGREE= 'You must read and agree to the Terms & Conditions before submitting a review.';
var BOOK_REVIEW_PROFILE_REQUIRE_INTRO = "Intro value is a required field.";
var BOOK_REVIEW_PROFILE_REQUIRE_CONTENT = "Content is a required field";
var MSG_TAG_REQUIRED = "Tag name is required.";
var MSG_CONFIRM_REMOVE ="Are you sure you want to remove this tag?";

//bookprofile.js & recommendations.js
var BOOK_USERNAME_EMAIL = "Username or email...";
var BOOK_INVALID_EMAIL_USERNAME= 'The email or username is invalid.';
var SUCCESS = 'Your recommendation has been sent.';

//bookshelf.js & bookshelves.js & lists.js & other_bookshelf.js & recommendations.js
var BOOKSHELF_SEARCH = 'Search bookshelf:';
var BOOKSHELF_SAVE_CURRENT_VIEW = 'Save current list as...';
var BOOKSHELF_CREATE_VIEW = 'Create new list...';
var BOOKSHELF_SAVE = 'Save';
var BOOKSHELF_CREATE = 'Create';
var BOOKSHELF_ENTER_LIST_NAME = 'Please enter the list name to save.';
var BOOKSHELF_INVALID_DATA = 'The data is not valid.';
var BOOKSHELF_CANT_SAVE_VIEW = 'You can\'t save this view now.';
var BOOKSHELF_CANT_REMOVE_VIEW = 'You can\'t remove from this view now.';
var BOOKSHELF_EXISTS_VIEWNAME = 'You already have a list by this name.  Please try another name.';
var BOOKSHELF_CONFIRM_REMOVE_VIEW = 'Are you sure you want to remove this book from the current view?';
var BOOKSHELF_CONFIRM_REMOVE = 'Are you sure you want to remove this book from your bookshelf?';
var BOOKSHELF_NO_BOOK_IN_VIEW = 'There is no book in the view.';
var BOOKSHELF_ENTER_BOOK_TITLE = "Please enter a book title.";
var BOOKSHELF_TYPE_AUTHOR_THEN_SELECT_TITLE = 'Type an author, then select a title';
var BOOKSHELF_SAVE_BOOKSHELF_AS = 'Save bookshelf as...';
var BOOKSHELF_EMPTY = 'This bookshelf is empty.';
var BOOKSHELF_SAVE_SUCESSFULLY = 'Your list has been saved.  To view it, you can select it from your Bookshelf page';
var BOOKSHELF_EXISTS_IN_HIDDEN_LIST = 'The book is in the hidden books list.';
var LIST_DELETE_CONFIRM = 'Are you sure you wish to delete this list?';
var LIST_DELETE_OK = 'Your list has been deleted.';
var LIST_DELETE_FAIL = 'There was a problem deleting your list.  Please try again.';

//configuration.js
var CONFIG_BOOK_ADD_DEFAULT_INPUT = "Title Search";
var CONFIG_AUTHOR_ADD_DEFAULT_INPUT = "Choose author...";
var CONFIG_INPUT_SEARCH_VRG_DEFAULT_TEXT = "Search reading groups";
var CONFIG_MSG_CONFIRM_EMPTY_RG = "Please enter the name of the Reading Group.";
var FRIEND_ADD_DEFAULT_INPUT = "Username...";
var SAVED_TEMPLATE_SUCCESS = "Saved the template successful.";
//highlight.js
var HIGHLIGHT_CONFIRM_REMOVE_HIGHLIGHT = "Are you sure you want to remove this record?";
var HIGHLIGHT_REMOVE_ERROR= "There was an error when deleting data.";
var HIGHLIGHT_CHANGED_INVITATION = 'Changed the invitation.';
var HIGHLIGHT_FILL_DATE_FIELD = 'Please fill out the Date field';

//home_page.js & recommendations.js
var HOME_ENTER_BOOK_TITLE_AND_CHOOSE = "Please enter a book title and choose a book from the resulting list.";
var HOME_ENTER_USERNAME = "Please enter a username.";
var HOME_TITLE = 'book title...';
var HOME_USERNAME_OR_EMAIL = 'Username or email...';
var HOME_CHOOSE_CATEGORY = "Please choose one category by typing in the category input field.";
var HOME_ADD_FRIEND_PREFIX = "Are you sure you would like to add ";
var HOME_ADD_FRIEND = "Are you sure you would like to add this user as a friend?";
var HOME_ADD_FRIEND_SUFFIX = " as your friend?";
var HOME_REMOVE_FRIEND_CONF = 'Are you sure you want to remove this friend from your friends list?';
var HOME_REMOVED_FRIEND = 'Friend removed';
var HOME_REMOVE_FRIEND_TITLE = 'Remove this reader as a friend';
var HOME_CANCEL_PENDING_FRIEND = 'Cancel this friend request';
var HOME_CANCEL_PENDING_FRIEND_CONF = 'Are you sure you want to cancel this friend request?';
var HOME_ADD_FRIEND_TITLE = 'Invite this reader to be a friend';
var HOME_FRIEND_INVITED = 'Friend request sent';

var HOME_TELL_A_FRIEND_SUCCESS = 'Your invitation has been sent.';
var ERR_INVALID_EMAIL_USERNAME= 'This email or username is invalid.';

//message.js
var MSG_DEL_SCF = "Message deleted.";
var MSG_DEL = 'Are you sure you want to delete these messages?';
var MSG_DEL_PERMANENT = 'Are you sure you want to delete these messages permanently?';
var MSG_SENT = "Message sent.";
var MSG_REQ_IGNORED = 'Request ignored.';
var MSG_UPDATE_SCF = "Updated successfully.";
var MSG_CANCEL = "Are you sure you want to cancel compose this message?";
var MSG_ERROR = "An error has occurred. Your message is unable to be sent now.";
var MSG_ADD_SCF = "Added successfully";
var MSG_LOADING = "Loading...";

//notice_board.js
var NB_ADD_EVENT_SUCCESS = "Your event has been submitted for approval by the administrators. A notification will be sent to your Message Inbox once approved.";
var NOTIFY_INPUT_TITLE_EVENT = "Please enter the title of event.";
//vrg.js
var VRG_INPUT_NAME_DEFAULT_TEXT = "Name of reading group";

//choose_book.js
var ALERT_CHOOSE_BOOK = "Please choose one book by typing a title on the text field";

//member.js
var REMOVE_MEMBER_CONFIRM = "Are you sure you want to remove this member?";
var REMOVE_ME_CONFIRM = "Are you sure you want to remove yourself from this group?";
var CANNOT_REMOVE_MEMBER = "Cannot remove this member.";

//newsletter_create.js
var ALERT_EMPTY_NEWSLETTER_TITLE = "Please input the title of newsletter";
var CONFIRM_REMOVE_EVENT = "Are you sure you want to remove this event?";

// vrg_books.js
var ERR_LOAN_ENTER_BOTH = 'Please enter a name.';
var ERR_LOAN_DATA_INVALID = 'Your data is invalid.';
var ERR_LOAN_CANT_CHANGE = 'You can\'t change loan details.';
var INFO_ON_LOAN = 'On loan';
var VIEW_CONFIRM_REMOVE = 'Are you sure you want to remove this book from the current view?';
var ERR_COMMENT_CANT_CHANGE = 'You can\'t add or change a comment.';
var ALERT_EXCEED_MAX_LENGTH = "The maxmum size of a comment is 150 characters.";
var TAG_INSERT_NEW_TAG = "Insert new tag (25 chars)";
var ERR_TAG_EXIST = 'This tag currently exists. Please try another.';
var ERR_TAG_CANT_ADD_NOW = 'You can\'t add this tag now.';

//your_vrg.js
var CONFIRM_JOIN_MEMBER = "Click OK to become a member of this reading group.";
var A_PART_OF_USERNAME = 'a part of username...';
var CONFIRM_REMOVE_USER = 'Are you sure you want to remove this user?';
var ALERT_EMPTY_USERNAME = "Please enter part of a username.";
var CONFIRM_REMOVE_RECORD = 'Are you sure you want to remove this record?';

var CONFIRM_CONSOLIDATE = 'Are you sure you want to consolidate these records?';

//Event
var EVENT_REQUIRE_TITLE = 'An event title is required.';
var EVENT_CHOOSE_COUNTRY = 'Please choose a country.';
var EVENT_REQUIRE_START_DATE = 'A start date is required.';
var EVENT_START_TIME_FORMAT = 'Start time should be in hh:mm format.';
var EVENT_REQUIRE_END_DATE = 'An end date is required.';
var EVENT_REQUIRE_PERMISSION = 'An event type is required.';
var EVENT_END_TIME_FORMAT = 'End time should be in hh:mm format.';
var EVENT_START_DATE_BIGGER_CURRENT_DATE = 'The event start date must be in the future.';
var EVENT_START_DATE_TIME_SMALLER_THAN_END_DATE_TIME = 'The event start date must be before the end date.';
var EVENT_SUBMITTED_FOR_APPROVAL = 'Thank you. Your event has been submitted for approval by an administrator. A message will be sent to your inbox once your event has been accepted.';
var EVENT_PRIVATE_SAVED = 'Thank you. Your event has been accepted and will be visible on your Noticeboard.';

var MSG_CONFIRM_EXIST_CATEGORY = "This tag is a category. Please try another";
var MSG_TAG_IN_FRIEND = "This tag exists in your Tags by Friends list";
var MSG_TAG_IN_OTHER= "This tag exists in the Tags by Others list";


var WARNING_ALREADY_READING_NEXT = "You must first move the existing book in Reading Next to Suggested Books or Previously Read before moving this book to Reading Next.";
var WARNING_ALREADY_CURRENTLY_READING = "You must first move the existing book in Currently Reading to Suggested Books or Previously Read before moving this book to Currently Reading.";
var NOTIFY_UPDATE_CURRENTLY_READING = "The book you are currently reading has been recorded.";
var NOTIFY_BOOK_NOT_FOUND = "We can't find your book! Please check you have the details correct.";

var LBL_CURRENTLY_READING = 'Currently&nbsp;reading';

// Updates
var UPDATES_ALERT_EMPTY_COMMENT = 'Please add a comment';
var UPDATES_COMMENT_SAVED = ''; // set to blank to suppress message
var UPDATES_COMMENT_NOT_SAVED = 'Sorry, your comment could not be saved. Please try again later.';
var UPDATE_CONFIRM_DELETION = 'Are you sure you want to delete this update?'; // set blank to suppress message and delete without warning
var UPDATE_CONFIRM_DELETION_ADMIN = 'Deleting this update will remove it for all users. Are you sure you want to continue?';
var UPDATE_CONFIRM_COMMENT_DELETION_ADMIN = 'Deleting this comment will remove it for all users. Are you sure you want to continue?';
var UPDATE_FRIEND_REQUEST_ACCEPTED = 'You accepted %username%\'s friend request.';
var UPDATE_FRIEND_REQUEST_REJECTED = 'You rejected %username%\'s friend request.';
var UPDATE_FRIEND_REQUEST_IGNORED = 'You ignored %username%\'s friend request.';
var UPDATE_GROUP_REQUEST_ACCEPTED = 'You accepted %username%\'s request to join the group %group%.';
var UPDATE_GROUP_REQUEST_IGNORED = 'You ignored %username%\'s request to join the group %group%.';
var UPDATE_SAVE = 'Save';
var UPDATE_CANCEL = 'Cancel';
var UPDATE_REMOVE = 'Remove';
var UPDATE_BOOK_COMMENT_NEW = 'Add a comment...';
var UPDATES_HIDE_COMMENTS = 'Hide';
var UPDATES_SHOW_BOOK_COMMENTS_SINGULAR = 'View %count% comment';
var UPDATES_SHOW_BOOK_COMMENTS_PLURAL = 'View %count% comments';
var UPDATES_WRITE_A_COMMENT = 'comment...';
var UPDATES_YOU_LIKE_THIS = 'You like this';
var UPDATES_REPORT_THANKS = 'Thank you';
var UPDATES_PEOPLE_LIKE_SINGULAR = '1 person likes this';
var UPDATES_PEOPLE_LIKE_PLURAL = '%count% people like this';
var UPDATES_LIKE = 'Like';
var UPDATES_UNLIKE = 'Unlike';

/* helpers/buynow.js */
var BOOK_AVAILABLE = 'This book is available from this bookseller';
var BOOK_UNAVAILABLE = 'This book is not available from this bookseller';

var AUTHOR_FOLLOWING = 'You are following this author';
var AUTHOR_NOT_FOLLOWING = 'Follow this author';

var INFO_ADD_TO_BOOKSHELF = 'Add to bookshelf';
var INFO_REMOVE_FROM_BOOKSHELF = 'Remove from bookshelf';

var AVERAGE_RATING = 'Average rating';

var TAGS_NO_TAGS = 'There are no tags available for these books';

var CLOSE = 'Close';
var REC_THIS_BOOK = 'recommend this book';
var RECOMMEND = 'Recommend';

var TIP_MEMBERS_ONLY = '<p>The Reading Room is a global community for readers of all ages to share their reading experience.</p><p style="font-weight:bold; margin:17px 16px 0 0">To use this feature you must be a member of The Reading Room. <a href="/users/registerUser">Join now! It\'s free.</a></p>';

var TIP_MEMBERS_AUTHOR = '<p>At The Reading Room you can track your favorite authors.</p><p style="font-weight:bold; margin:17px 16px 0 0">To track this author you must be a member. <a href="/users/registerUser">Join now! It\'s free.</a></p>';

var TIP_MEMBERS_BOOKSHELF = '<p>At The Reading Room you can create and manage your bookshelf.</p><p style="font-weight:bold; margin:17px 16px 0 0">To create your bookshelf you must be a member. <a href="/users/registerUser">Join now! It\'s free.</a></p>';

var TIP_MEMBERS_COMMENT = '<p>At The Reading Room you can share your comments on books and authors.</p><p style="font-weight:bold; margin:17px 16px 0 0">To add a comment you must be a member. <a href="/users/registerUser">Join now! It\'s free.</a></p>';

var TIP_FRIEND_ADD_GUEST = '<p>Meet other like-minded readers and discusss your favorite books.</p><p style="font-weight:bold; margin-top:17px">To add this person as a friend you must be a member. <a href="/users/registerUser">Join now! It\'s free.</a></p>';

var GOOGLE_PREVIEW_FULL = 'eBook Full Preview';
var GOOGLE_PREVIEW_PARTIAL = 'eBook Partial Preview';
