/*
 * This is the messages file.
 */
var messages = new Object();

messages.unknownError = "Sorry, an error has occurred.";

messages.register = new Object();
    messages.register.firstNameRequired="Please provide your first name.";
    messages.register.lastNameRequired="Please provide your last name.";
    messages.register.passwordsDontMatch="The passwords you have entered do not match. Please re-enter them and try again.";
    messages.register.emailRequired="Please enter your email address.";
    messages.register.invalidEmail="The email address you have entered is invalid. Please enter a valid email address and try again.";
    messages.register.generalError="An unknown error has prevented your registration from being completed. Please try again.";

messages.account = new Object();
    messages.account.signatureUpdated="Signature has been updated.";
messages.account.password = new Object();
    messages.account.password.minLength=5; // this MUST be non-zero (i.e. at least 1!) or JS could break OR permit empty passwords.
    messages.account.password.minLengthNotMet="Please use a password at least " + messages.account.password.minLength + " characters long.";
    messages.account.password.pwChangeSuccessful="Password change was successful.";
    messages.account.password.passwordDoesntMatch="The current password provided does not match.";


messages.login = new Object();
    messages.login.credentialsRequired="Please enter your username and password.";
    messages.login.invalidCredentials="An invalid username and/or password has been entered. Please check your login details and try again.";
    messages.login.accountExists="An account already exists for the email address you have entered.";
    messages.login.accountCreated="Your account has been created successfully.";
    messages.login.successfulAccountRetrieval="Your account details have been retrieved successfully and sent to " /* email address is appended */;
    messages.login.failedAccountRetrieval="Sorry, we are unable to locate that account.";

messages.library = new Object(); 
    messages.library.createCategory="Please create a category.";
    messages.library.noNodeSelected="No item has been selected. Please select an item to perform this action.";
    messages.library.confirmCategoryDeletion="Are you sure you wish to delete this category and all of its contents?";
    messages.library.confirmEntryDeletion="Are you sure you want to delete "; // this is prepended to the name of the node being deleted.
    messages.library.newEntryNamePrompt="Please enter a new name.";
    messages.library.newEntryNameCanceled="The Rename has been cancelled. This item has not been renamed.";
    messages.library.uploadFileTitle="Upload a File";
    messages.library.newFolderNamePrompt="Please enter a name for the new folder";
    messages.library.invalidFiletype="Only HTML files can be uploaded (.htm, .html)";
    messages.library.invalidFileUploadAttempt="Enter new folder name";

messages.viewFunc = new Object();
    messages.viewFunc.ffUserCantCopy="There was an error in copying the design from Firefox to the Clipboard. Please try again.";
    messages.viewFunc.ieUserCantCopy="There was an error in copying the design from Internet Explorer to the Clipboard. Please try again.";
    messages.viewFunc.browserNotSupported="Sorry, this feature doesn't seem to be supported by your browser.  We recommend Firefox 3+ or Internet Explorer 8+.";
    messages.viewFunc.clipboardCopySucceeded="Success!  Now go to your regular email program and PASTE the template into a new message or reply.";


