window.LANG = {


// part of the error message reported when some characters in a field are invalid (i.e. Username contains invalid chars)
    CONTAINS_INVALID_CHARS: ' contains invalid characters.',

// part of the error message reported when some field is not valid (i.e. Email address is not valid)
    IS_NOT_VALID: ' is not valid.',

// error message reported when parameters sent to server are not valid (this should never occure as all validation is done on client side before sending request)
    INVALID_PARAMS: 'Specified parameters are not valid.',

// error message reported when username or email address are already taken (%field% gets replaced with either 'username' or 'email address')
    ALREADY_TAKEN: 'This %field% is already taken.',

// error message reported when someone uses forgot password form for user which is not in the database
    NO_REG_USER: 'There is no registered user with provided email address.',

// error message reported when system was unable to send email (for some reason)
    MAIL_FAILED: 'There was an error sending email, please try again.',

// error message reported when user sends move for game which was canceled by the opponent (this should never happen)
    OPPONENT_CANCELED_REQUEST: 'The opponent has canceled game request.',

// error message reported when passwords don't match (in register form)
    PASS_DONT_MATCH: 'Passwords don\' match.',

// part of the error message reported when some value is too long (like username or email address)
    TOO_LONG: ' is too long.',

// part of the error message reported when some value is too short (like username or email address)
    TOO_SHORT: ' is too short.',

// part of the error message reported when some numeric value is too big
    TOO_BIG: ' is too big.',

// part of the error message reported when some numeric value is too small
    TOO_SMALL: ' is too small.',

// error message reported when some required field is not filled in (%field% gets replaced by field name)
    REQUIRED_FIELD: 'You must fill in %field%.',

// login failed error message
    LOGIN_FAILED: 'Login failed. Please try again.',

// error message reported when entered password is invalid
    WRONG_PASSWORD: 'Wrong password.',

// error message reported when user account has been disabled
    ACCOUNT_DISABLED: 'Your account has been disabled by the site administrator!',

// error message reported when user has to be logged in to do something
    LOGIN_REQUIRED: 'You must be logged in order to proceede with this action.',

// error message reported when server returns 'database error'
    DATABASE_ERROR: 'Database error.',

// error message reported when something has happend with server and it was unable to proccess the request
    INTERNAL_ERROR: 'Oops! Something went wrong!',

// error message reported when something goes wrong and reason could not be known
    UNEXPECTED_ERROR: 'Unexpected error.',

// displayed in notifications window when waiting for opponent to accept game request (name of opponent is prepended to this value)
    WAITING_TO_ACCEPT_INVITATION: ' to accept game invitation...',

// full names of the months
    MONTH_JAN: 'January',
    MONTH_FEB: 'February',
    MONTH_MAR: 'March',
    MONTH_APR: 'April',
    MONTH_MAY: 'May',
    MONTH_JUN: 'June',
    MONTH_JUL: 'July',
    MONTH_AUG: 'August',
    MONTH_SEP: 'September',
    MONTH_OCT: 'October',
    MONTH_NOV: 'November',
    MONTH_DEC: 'December',

// short names of the months
    MONTH_SHORT_JAN: 'Jan',
    MONTH_SHORT_FEB: 'Feb',
    MONTH_SHORT_MAR: 'Mar',
    MONTH_SHORT_APR: 'Apr',
    MONTH_SHORT_MAY: 'May',
    MONTH_SHORT_JUN: 'Jun',
    MONTH_SHORT_JUL: 'Jul',
    MONTH_SHORT_AUG: 'Aug',
    MONTH_SHORT_SEP: 'Sep',
    MONTH_SHORT_OCT: 'Oct',
    MONTH_SHORT_NOV: 'Nov',
    MONTH_SHORT_DEC: 'Dec',

// name of week days
    DAY_MON: 'Monday',
    DAY_TUE: 'Tuesday',
    DAY_WED: 'Wednesday',
    DAY_THU: 'Thursday',
    DAY_FRI: 'Friday',
    DAY_SAT: 'Saturday',
    DAY_SUN: 'Sunday',

// window title when user comes from Internet Explorer 6 (or even older)
    OLD_IE_TITLE: 'You have to upgrade your browser.',

// text displayed to user coming from IE6
    OLD_IE_MESSAGE: 'You\'re using Internet Explorer 6 to browse ChessEmpires right now. ChessEmpires  will  work  for you if you upgrade to Internet Explorer 7+ or switch to another browser.',

// options (links) offered to user coming from IE6
    UPGRADE_IE: 'Upgrade to latest Internet Explorer',
    SWITCH_TO_FIREFOX: 'Switch to Mozilla Firefox',
    SWITCH_TO_SAFARI: 'Switch to Apple Safari',

// shown inside alert message box
    CLICK_OK_TO_CONTINUE: 'Click OK to continue.',

// title of error message window
    ERROR: 'Error',

// caption of 'OK' button
    OK: 'OK',

// caption of 'Close' button
    CLOSE: 'Close',

// caption of 'Cancel' button
    CANCEL: 'Cancel',

// caption of 'Send' button
    SEND: 'Send',

// caption of 'Refresh' button
    REFRESH: 'Refresh',

// message displayed while loading files
    LOADING: 'loading, please wait...',

// displayed in notifications window
    GAME_REQUEST: 'Game request',

// displayed in notifications window when opponent has rejected game invitation
    INVITATION_REJECTED: ' has rejected your game invitation.',

// displayed in notifications window when opponent has not responded to game request (for some time)
    INVITATION_IGNORED: ' did not respond to your game request.',

// displayed when friend request has been successfully sent
    FRIEND_REQUEST_SENT: 'Friend request had been sent.',

// displayed when friend request has already been sent to this user
    FRIEND_REQUEST_PENDING: 'Friend request has already been sent to this user.',

// displayed when user has ignored previous friend request
    FRIEND_REQUEST_IGNORED: 'This user ignored your last friend request. You are not able to send another one.',

// displayed when user has blocked loggedin user
    FRIEND_REQUEST_BLOCKED: 'This user has blocked you. You are not able to send friend request.',

// displayed when user is already friend with another user and he tries to send him friend request (he should not be able to do so, but this is just in case...)
    FRIEND_REQUEST_CONFIRMED: 'You are already friends with this user...',

// title of 'Send offline message' window
    FRIEND_IS_OFFLINE: 'Friend is offline',

// text in the 'Send offline message' window (%friend% gets replaced with friend's name, %him/her% with either HIM or HER string and %he/she% with either HE or SHE string)
    OFFLINE_TEXT: '%friend% appears to be offline.<br/>You can send %him/her% an offline message which will be delivered next time %he/she% signs in.',
    HIM: 'him',
    HER: 'her',
    HE: 'he',
    SHE: 'she',

// displayed in chat window when friend who you were talking to signs off (%friend% gets replaced by friend's name, %he/she% gets replaced either by HE or SHE string, based on friend's gender)
    CHAT_USER_OFFLINE: '%friend% is offline, message will be delivered next time %he/she% signs in',

// 'Message:' label in 'Send offline message' window
    OFFLINE_MESSAGE: 'Message:',

// caption of 'Send' button in 'Send offline message' window
    OFFLINE_BTN_SEND: 'Send',

// caption of 'Close' button in 'Send offline message' window
    OFFLINE_BTN_CLOSE: 'Close',

// caption of 'View profile' button in 'Send offline message' window
    OFFLINE_BTN_VIEW_PROFILE: 'View profile',

// message displayed when offline message has been sent
    OFFLINE_MESSAGE_SENT: 'message sent',

// online/offline labels
    ONLINE: 'online',
    OFFLINE: 'offline',

// user signed in/signed out message
    USER_SIGNED_IN: '%user% signed in.',
    USER_SIGNED_OUT: '%user% signed out.',

// Start Game window (when responding to game invitation):
    WND_START_GAME_TITLE: 'Start game',
    WND_START_GAME_OPPONENT: 'Opponent:',
    WND_START_GAME_PLAY_AS: 'You play as:',
    WND_START_GAME_DURATION: 'Duration:',
    WND_START_GAME_SELECT_ARMY: 'Select army:',
    WND_START_GAME_BTN_START: 'Start game',
    WND_START_GAME_BTN_REJECT: 'Reject',

// Start new game window (when sending game invitation):
    WND_START_NEW_GAME_TITLE: 'Start new game',
    WND_START_NEW_GAME_OPPONENT: 'Opponent:',
    WND_START_NEW_GAME_COLOR: 'Color:',
    WND_START_NEW_GAME_WHITE: 'White',
    WND_START_NEW_GAME_BLACK: 'Black',
    WND_START_NEW_GAME_DURATION: 'Duration:',
    WND_START_NEW_GAME_MINUTES: 'minutes',
    WND_START_NEW_GAME_ARMY: 'Army:',

    WND_START_GAME_SELECT_ARMY: 'Select army:',
    WND_START_GAME_BTN_START: 'Start game',
    WND_START_GAME_BTN_REJECT: 'Reject',

// messages randomly returned by the bots when user tries to chat with them (you can have as many as you want 'em)
    BOT_MESSAGES: [
        'you will loose!',
        'you will loose but I am willing to negotiate...',
        'Do you need cash? then beat me first... ',
        'r U over 18?',
        'I am invinsible whether I am white or black...',
        'Do not understimate me',
        'Do not make me waste my time',
        'So you feel lucky today?',
        'I am a mean tough Machine...',
        'You have 7 moves before I\'ll destroy you',
        'So you think you can beat me?'
    ],

// displayed in chat window when other person has closed chat window
    CHAT_CLOSED: 'Conversation has been closed.',

// 'Spectate' button caption
    SPECTATE: 'Spectate',

// part of the 'welcome' message (username gets appended to this value)
    WELCOME: 'Welcome, ',

// 'Quick playe' button caption
    QUICK_PLAY: 'Quick Play',

// 'Play' button caption
    BTN_PLAY: 'Play',

// 'Edit Profile' button caption
    EDIT_PROFILE: 'Edit Profile',

// 'Latest activities' label
    LATEST_ACTIVITIES: 'Latest activities',

// rank amog friends message (%rank% gets replaced by position based on rank, i.e. 1. or 3.)
    RANK_AMONG_FRIENDS: 'You are ranked %rank% among your friends',

// 'Change Picture' button caption
    CHANGE_PICTURE: 'Change Picture',

// text displayed whil image upload is in progress
    UPLOADING_IMAGE: 'uploading image...',

// error message reported when upload of image was unsuccessful
    UPLOAD_FAILED: 'Image upload failed. Please try again.',

// Edit profile window:
    WND_EDIT_PROFILE_TITLE: 'Edit Profile',
    WND_EDIT_PROFILE_BTN_RESET_PIC: 'Reset picture',
    WND_EDIT_PROFILE_NAME: 'Name:',
    WND_EDIT_PROFILE_EMAIL: 'Email:',
    WND_EDIT_PROFILE_GENDER: 'Gender:',
    WND_EDIT_PROFILE_BIRTHDAY: 'Birthday:',
    WND_EDIT_PROFILE_COUNTRY: 'Country:',
    WND_EDIT_PROFILE_CITY: 'City:',
    WND_EDIT_PROFILE_MALE: 'Male',
    WND_EDIT_PROFILE_FEMALE: 'Female',
    WND_EDIT_PROFILE_FAV_ARMY: 'Favorite Army:',
    WND_EDIT_PROFILE_ABOUT_ME: 'About me:',
    WND_EDIT_PROFILE_CLASSIC_DEFAULT: 'Display classic pieces by default',
    WND_EDIT_PROFILE_PUBLIC_PROFILE: 'Allow all users to see my profile',
    WND_EDIT_PROFILE_PRIVATE_GAMES: 'Make all my games private <small>(unregistered users cannot spectate)</small>',
    WND_EDIT_PROFILE_QUICK_PLAY_READY: 'Make me available for Quick Play feature',
    WND_EDIT_PROFILE_BTN_SAVE: 'Save',
    WND_EDIT_PROFILE_BTN_CANCEL: 'Cancel',
    WND_EDIT_PROFILE_BTN_CHANGE_PASS: 'Change Password',

// Change password window:
    WND_CHANGE_PASS_TITLE: 'Change password',
    WND_CHANGE_PASS_SELECT_NEW: 'Please select a new password:',
    WND_CHANGE_PASS_CURRENT: 'Current Password:',
    WND_CHANGE_PASS_NEW: 'New Password:',
    WND_CHANGE_PASS_REPEAT: 'Repeat Password:',
    WND_CHANGE_PASS_BTN_SAVE: 'Save',
    WND_CHANGE_PASS_BTN_CANCEL: 'Cancel',
    WND_CHANGE_PASS_MSG_SUCCESS: 'Password changed successfuly!',
    WND_CHANGE_PASS_MSG_ERROR: 'There was an error contacting the server, your password is not changed.',

// Friends button caption:
    BTN_FRIENDS: 'Friends',

// Notifications button caption:
    BTN_NOTIFICATIONS: 'Notifications',

// message shown in friends window when user has no friends (this should never be displayed since bots should always be online)
    NO_FRIENDS_YET: 'You don\'t have friends yet.',

// number of online friends message (%online% gets replaced by number of online friends and %total% gets replaced by total number of friends online + offline)
    FRIENDS_ONLINE: '%online% of %total% online',

// message shown when user has only unreaded notification
    UNREADED_ITEM: 'You have 1 unreaded item.',

// message shown when user has more than one unreaded notification (%items% gets replaced by number od unreaded notifications)
    UNREADED_ITEMS: 'You have %items% unreaded items.',

// title of 'Games in progress' window
    GAMES_IN_PROGRESS: 'Games in progress',

// 'Find people...' string (displayed in search box while it is inactive)
    FIND_PEOPLE: 'Find People...',

// caption of 'search people' button
    BTN_SEARCH: 'Search',

// caption of 'quick play' button
    BTN_QUICK_PLAY: 'Quick Play',

// caption of 'invite friends' button
    BTN_INVITE_FRIENDS: 'Invite friends!',

// caption of 'view profile' button
    BTN_PROFILE: 'Profile',

// caption of 'go to dashboard' button
    BTN_MAIN: 'Main',

// caption of 'logout' button
    BTN_LOGOUT: 'Logout',

// caption of 'login/register' button
    BTN_LOGIN_REGISTER: 'Login/Register',

// caption of 'send feedback' button
    BTN_FEEDBACK: 'Feedback',

// 'post your feed back' label
    POST_YOUR_FEEDBACK: 'Post your feed back:',

// message displayed when feedback is being send
    FEEDBACK_SENDING: 'Sending...',

// message displayed when feedback is successfully sent
    FEEDBACK_SENT: 'Feed back sent. Thank you!',

// message displayed when there was some error sending feedback
    FEEDBACK_NOT_SENT: 'Error sending feed back.',

// 'online users for quick play' message text
    USERS_FOR_QUICK_PLAY: 'Online users available for Quick Play',

// 'similiar skills' checkbox text
    SIMILIAR_SKILLS: 'Similiar skills',

// 'my friends' checkbox text
    MY_FRIENDS: 'My friends',

// message shown to user when he tries to close browser window/tab
    CLOSE_WARNNING: 'You have one or more games running, if you leave this page now you will lose all those games.',

// invite friends window:
    WND_INVITE_FRIENDS_TITLE: 'Invite Friends!',
    WND_INVITE_FRIENDS_TEXT: 'Invite your friends to join ChessEmpires.com!<br /><br />Just insert your webmail address and password, and we will search your address book:',
    WND_INVITE_FRIENDS_EMAIL: 'Your email address:',
    WND_INVITE_FRIENDS_PASSWORD: 'Account password:',
    WND_INVITE_FRIENDS_BTN_SUBMIT: 'Submit',
    WND_INVITE_FRIENDS_LOGIN_FAILED: 'Wrong username or password.',
    WND_INVITE_FRIENDS_CANT_FETCH_ADDRESSBOOK: 'There was an error trying to fetch your address book. Please try again.',
    WND_INVITE_FRIENDS_SERVER_ERROR: 'There was an error contacting the server. Please try again later.',
    WND_INVITE_FRIENDS_DISCLAIMER: ' We won\'t store your password or contact anyone without your permission.',
    WND_INVITE_FRIENDS_SELECT_EMAILS: 'Please select email addresses on which you want to send invitation:',
    WND_INVITE_FRIENDS_SUCCESS: 'Invitations will be sent to emails you\'ve selected. Thank you!',
    WND_INVITE_FRIENDS_NOT_SUPPORTED: 'We currently don’t support your webmail provider.<br /><br />Please enter manually email addresses of friends you want to invite to ChessEmpires.com:',
    WND_INVITE_FRIENDS_COMMA_INFO: 'Please separate addresses with comma or new line.',

// login window
    WND_LOGIN_TITLE: 'Title',
    WND_LOGIN_EMAIL: 'Email:',
    WND_LOGIN_PASSWORD: 'Password:',
    WND_LOGIN_REMEMBER: 'Remember me',
    WND_LOGIN_FORGOT_PASS: 'Forgot Your password?',
    WND_LOGIN_BTN_LOGIN: 'Login',

// forgotten password window
    WND_FORGOTTEN_PASS_TITLE: 'Forgotten password',
    WND_FORGOTTEN_PASS_TEXT: 'Please enter the email you have used to register. We\'ll email you the further instructions.',

// part of the 'quick game invitation' notification
    USER_WANTS_QUICK_PLAY: ' wants to play quick game against you.',

// part of the 'game invitation' notification
    USER_WANTS_GAME: ' wants to play against you.',

// caption of the 'Accept' button
    BTN_ACCEPT: 'Accept',

// caption of the 'Deny' button
    BTN_DENY: 'Deny',

// 'invitation accepted' message
    INVITATION_ACCEPTED: 'Invitation accepted.',

// 'invitation rejected' message
    INVITATION_REJECTED: 'Invitation rejected.',

// 'offline message' notification
    OFFLINE_MESSAGE_NOTIFICATION_TITLE: 'Offline message',

// part of the 'user sent you a message' notification
    OFFLINE_MESSAGE_NOTIFICATION_TEXT: ' sent you a message while you were offline.',

// 'offline messages' box title
    OFFLINE_MESSAGES_SENT_TO_YOU: 'Messages sent while you were offline:',

// caption of 'view message' button
    BTN_VIEW_MESSAGE: 'View message',

// title of 'friend request' notification
    FRIEND_REQUEST_NOTIFICATION_TITLE: 'Friend request',

// 'friend request' notification text (%user% gets replaced by user name who sent request, and %user_link% by linked user name)
    FRIEND_REQUEST_NOTIFICATION_TEXT: '%user_link% sent you a friend request. Add %user% as your friend?',

// 'request accepted' message
    REQUEST_ACCEPTED: 'Request accepted.',

// 'request rejected' message
    REQUEST_REJECTED: 'Request rejected.',

// 'user has accepted friend request' message
    FRIEND_REQUEST_ACCEPTED: '%user% has accepted your friend request!',

// 'user profile' window
    WND_PROFILE_TITLE: 'Profile',
    WND_PROFILE_RANKING: 'Ranking:',
    WND_PROFILE_BIRTHDAY: 'Brithday:',
    WND_PROFILE_GENDER: 'Gender:',
    WND_PROFILE_JOINED: 'Joined:',
    WND_PROFILE_COUNTRY: 'Country:',
    WND_PROFILE_CITY: 'City:',
    WND_PROFILE_FAV_ARMY: 'Favorite Army:',
    WND_PROFILE_ABOUT_ME: 'About me:',
    WND_PROFILE_LATEST_ACTIVITIES: 'Latest Activities:',
    WND_PROFILE_BTN_VIEW_ALL: 'View All',
    WND_PROFILE_FRIENDS: 'Friends:',
    WND_PROFILE_BTN_ADD_FRIEND: 'Add Friend',
    WND_PROFILE_BTN_EDIT_PROFILE: 'Edit Profile',
    WND_PROFILE_BTN_BLOCK_USER: 'Remove friend',
// %s% gets replaced with either 's or '
    WND_PROFILE_USERS_PROFILE: '%user%<small>%s% profile</small>',

// 'registration' window
    WND_REGISTRATION_TITLE: 'Registration',
    WND_REGISTRATION_CREATE_CE_PROFILE: 'Create your Chess Empires profile:',
    WND_REGISTRATION_NAME_MISSING: 'You must fill in your name.',
    WND_REGISTRATION_EMAIL_INVALID: 'Email address is not in valid.',
    WND_REGISTRATION_EMAIL_MISSING: 'You must fill in your email address.',
    WND_REGISTRATION_PASSWORD_SHORT: 'Password is too short.',
    WND_REGISTRATION_PASSWORD_MISSING: 'You must fill in password.',
    WND_REGISTRATION_PASSWORDS_NOT_MATCH: 'Passwords don\'t match.',
    WND_REGISTRATION_PASSWORD_MUST_REPEAT: 'You must repeat your password.',
    WND_REGISTRATION_NAME: 'Name:',
    WND_REGISTRATION_EMAIL: 'Email:',
    WND_REGISTRATION_EMAIL_TAKEN: 'This email address is already taken.',
    WND_REGISTRATION_PASSWORD: 'Password:',
    WND_REGISTRATION_REPEAT_PASSWORD: 'Repeat Password:',
    WND_REGISTRATION_I_ACCEPT: 'I accept %a%Terms &amp; Conditions%/a%',
    WND_REGISTRATION_BTN_CREATE_PROFILE: 'Create Profile',
    WND_REGISTRATION_YOUR_NAME: 'your name',
    WND_REGISTRATION_EMAIL_ADDRESS: 'email address',

// 'search results for' message (%query% gets replaced by search query)
    SEARCH_RESULTS_FOR: 'Search results for: %query%',

// 'ranking' string in search results
    SEARCH_RANKING: 'Ranking:',

// caption of 'Next' button:
    BTN_NEXT: 'Next',

// caption of 'Previous' button:
    BTN_PREVIOUS: 'Previous',

// 'site news' window title
    SITE_NEWS: 'Site News',

// 'waiting for' window title
    WAITING_FOR: 'Waiting for:',

// 'vs' string
    VS: 'VS',

// 'Spectate' string
    SPECTATE: 'Spectate',

// 'Move history' window title
    MOVE_HISTORY: 'Move history',
	
// 'Report this user' button (on user's profile page)	
	BTN_REPORT_USER: 'Report user',
	
// 'report reason' label
    WND_REPORT_REASON: 'Report reason:',

// message displayed when report is being send
    REPORT_SENDING: 'Sending...',

// message displayed when report is successfully sent
    REPORT_SENT: 'Report sent. Thank you!',

// message displayed when there was some error sending report
    REPORT_NOT_SENT: 'Error sending report.',

_:''};