// English Language
var language = 'english';

var lang = {
   // Login
   'incorrectInfo': 'Username or password incorrect!',
   'userBanned': 'You have been banned!',
   
   // Buddylist
   'buddyList': 'Buddy List',
   'addBuddyButton': 'Add Buddy',
   'joinChatroomButton': 'Join Chatroom',
   'removeBuddyButton': 'Remove Buddy',
   'IMAnyoneButton': 'IM Anyone',
   'changePasswordButton': 'Change Password',
   'toggleSoundButton': 'Toggle Sound',
   'signOff': 'Sign off',
   'offline': 'Offline',     // Automatic buddylist group
   'noSuchGroup': 'No such group on buddylist!',
   
   // Statuses
   'available': 'I\'m available',
   
   // Registration
   'registerSuccess': 'Registration Successful!',
   'registerUsernameTaken': 'The username you have chosen is already in use.',
   'registerUsernameBad': 'Usernames may only contain letters, numbers, _,<br />and be 3 to 16 characters long.',
   'registerPasswordShort': 'Passwords must be 6 to 20 characters long!',
   'registerInvalidEmail': 'Invalid Email Address!',
   'registerEmailTaken': 'A username is already registered with that email address!',
   'registerFailed': 'Registration Failed! Please try again later.',
   'registerPasswordsMatch': 'Passwords do not match!',
   
   // Chatrooms
   'hasJoined': 'has joined.',
   'hasLeft': 'has left.',
   
   // IMs
   'notifySentButOffline': 'Note: This user is currently offline, but they will receive this message when they log on.',
   'errorNotLoggedIn': 'Error: Your message could not be sent because the recipient is not logged in.',
   'errorMsgTooLong': 'Error: Your message could not be sent because it is too long.',
   'errorUnknown': 'Error: An unknown error occured while sending your message.',
   'bold': 'Bold',
   'italic': 'Italic',
   'underline': 'Underline',
   
   // New IM Dialog
   'newIM': 'New Instant Message...',
   'newIMPlease': 'Please enter the username of the person you would like to IM.',
   'newIMProper': 'Please enter a proper username!',
   'openIM': 'Open IM',
   
   // New Room Dialog
   'newRoom': 'Join a Chatroom...',
   'newRoomPlease': 'Please enter the name of the room you would like to join.',
   'alreadyInRoom': 'You are already in "%1"',
   'invalidRoom': 'The chosen room name is invalid.',
   'invalidRoomChars': 'Room name contains invalid characters!',
   'joinRoom': 'Join',
   'roomname': 'Room Name',
   
   // New Buddy Dialog
   'newBuddy': 'Add a Buddy',
   'newBuddyPlease': 'Please enter the name of the user you would like to add to your buddylist.',
   'noSuchUser': 'No such user is registered!',
   'alreadyOnBuddylist':  'User is already on your buddy list!',
   'add': 'Add',
   'addtogroup': 'Add to Group',
   
   // Remove Buddy Dialog
   'removeBuddy': 'Remove Buddy',
   'removeBuddyAreYouSure': 'Are you sure you want to remove buddy "<b>%1</b>" from your buddylist?',
   
   // Block Buddy Dialog
   'blockBuddy': 'Block Buddy',
   'unblockBuddy': 'Unblock Buddy',
   'blockBuddyAreYouSure': 'Are you sure you want to block buddy "<b>%1</b>"?',
   'unblockBuddyAreYouSure': 'Are you sure you want to unblock buddy "<b>%1</b>"?',
   
   // Remove Group Dialog
   'removeGroup': 'Remove a Group',
   'removeGroupAreYouSure': 'Are you sure you want to remove group "<b>%1</b>" (and all users in it) from your buddylist?',
   
   // Change Password Dialog
   'changePassword': 'Change Password',
   'changePasswordInstructions': 'To change your password, please your current password, then your new password.',
   'currentPassword': 'Current Password',
   'newPassword': 'New Password',
   'confirmPassword': 'Confirm Password',
   'changeSuccess': "The password change was successful!\nPlease re-login now.",
   'currentPassInvalid': 'The "Current Password" you entered is invalid.',
   'changePasswordShort': 'Passwords must be 6 to 20 characters long!',
   'changeFailed': 'There was a problem processing your password change. Please try again later.',
   'changeNoMatch': 'Your passwords do not match!',
   'change': 'Change',
   
   // Reset Password
   'newPasswordEmailed': 'Your new password has been emailed to %1',
   'noEmailOnRecord': 'There is no such email address for any username on record.',
   'problemResetting': 'There has been a problem resetting your password.<br />Please try again later.',
   
   // Miscellaneous
   'autoreply': 'Auto-Reply',
   'signedOff': 'You have signed off!',
   'reconnect': 'Reconnect',
   'onunload': 'If you do so, you will be signed out of the instant messenger.',
   'ok': 'Ok',
   'cancel': 'Cancel',
   'username': 'Username',
   'email': 'Email',
   'search': 'Search',
   'searchAgain': 'Search Again',
   
   // Admin - User Search
   'admin-userSearch': 'User Search',
   'admin-chooseByAndSearch': 'Choose the search type and then enter the appropriate search information. Wildcards (*) are allowed.',
   'admin-searchType': 'Search Type',
   'admin-lastKnownIP': 'Last Known IP',
   'admin-lastActive': 'Last Active',
   'admin-status': 'Status',
   'admin-kick': 'Kick',
   'admin-ban': 'Ban',
   'admin-unban': 'Unban',
   'admin-makeAdmin': 'Make Admin',
   'admin-removeAdmin': 'Remove Admin',
   'admin-banned': 'Banned',
   'admin-admin': 'Admin'
};
   