var msgList = new Object;

// demo message

msgList ['%warning.msg%'        ] = 'This is a demo warning message';
msgList ['%warning1.msg%'       ] = 'This is a demo warning message';
msgList ['%warning2.msg%'       ] = 'This is a demo warning message';

// fatal errors
msgList ['DATABASE_ERROR'       ] = 'SYSTEM ERROR: Database error!<br>Wait several seconds and try again.';
msgList ['MENU_READ_ERROR'      ] = 'SYSTEM ERROR: Menu could not be retrieved!';
msgList ['MAIL_TEMPLATE_ERROR'  ] = 'SYSTEM ERROR: Mail template not found!';
msgList ['ACCESS_DENIED'        ] = 'SYSTEM ERROR: Access denied!';
msgList ['GD_ERROR'             ] = 'SYSTEM ERROR: Graphic engine error!<br>Wait several seconds and try again.';
msgList ['INVALID_CALL'         ] = 'SYSTEM ERROR: Invalid function call!';

// not found & duplicate found messages
msgList ['ORDER_NOT_FOUND'      ] = 'Specified order is not found!';
msgList ['AGENCY_NOT_FOUND'     ] = 'Specified agency is not found!';
msgList ['PRODUCT_NOT_FOUND'    ] = 'Specified product is not found!';
msgList ['INGREDIENT_NOT_FOUND' ] = 'Specified ingredient is not found!';
msgList ['ARTICLE_NOT_FOUND'    ] = 'Specified article is not found!';
msgList ['LINK_NOT_FOUND'       ] = 'Specified link is not found!';
msgList ['PHOTO_NOT_FOUND'      ] = 'Specified photo is not found!';
msgList ['FAQ_NOT_FOUND'        ] = 'Specified FAQ is not found!';
msgList ['DEAL_NOT_FOUND'       ] = 'Specified deal is not found!';
msgList ['PAGE_NOT_FOUND'       ] = 'Specified page is not found!';
msgList ['ITEM_NOT_FOUND'       ] = 'Specified item is not found!';
msgList ['NEWS_NOT_FOUND'       ] = 'Specified news is not found!';
msgList ['USER_NOT_FOUND'       ] = 'User not found!';
msgList ['DUPLICATE_USER'       ] = 'The user with the specified e-mail already exists!';
msgList ['MENU_NOT_EMPTY'       ] = 'Specified menu could not be deleted cause it contains sub-items!';

// invalid parameters messages
msgList ['INVALID_NEWS_ID'      ] = 'Invalid news ID!!';
msgList ['INVALID_ITEM_ID'      ] = 'Invalid menu item ID!!';
msgList ['INVALID_BLOCK_ID'     ] = 'Invalid main page block ID!!';
msgList ['INVALID_BANNER_ID'    ] = 'Invalid banner / slideshow ID!!';
msgList ['INVALID_PROD_ID'      ] = 'Invalid product ID!!';
msgList ['INVALID_ING_ID'       ] = 'Invalid ingredient ID!!';
msgList ['INVALID_ART_ID'       ] = 'Invalid article ID!!';
msgList ['INVALID_LINK_ID'      ] = 'Invalid link ID!!';
msgList ['INVALID_PHOTO_ID'     ] = 'Invalid photo ID!!';
msgList ['INVALID_AGENCY_ID'    ] = 'Invalid agency ID!!';
msgList ['INVALID_FAQ_ID'       ] = 'Invalid FAQ ID!!';
msgList ['INVALID_DEAL_ID'      ] = 'Invalid deal ID!!';
msgList ['INVALID_SLIDE_ID'     ] = 'Invalid slide ID!!';
msgList ['INVALID_SPONSOR_ID'   ] = 'Invalid distributor ID!!';
msgList ['INVALID_ORDER_ID'     ] = 'Invalid order ID!!';
msgList ['INVALID_PRODUCT_QTY'  ] = 'Invalid product quantity!!';
msgList ['INVALID_USER_ID'      ] = 'Invalid user ID!!';
msgList ['INVALID_USER_TYPE'    ] = 'Invalid user type!!';
msgList ['INVALID_EMAIL'        ] = 'Invalid e-mail!';
msgList ['INVALID_PASSWORD'     ] = 'Invalid password!';
msgList ['INVALID_TYPE'         ] = 'Invalid type!';
msgList ['INVALID_SELECT'       ] = 'Invalid selection!';
msgList ['INVALID_STATUS'       ] = 'Invalid status!';
msgList ['INVALID_ACCESS_TYPE'  ] = 'Invalid access type!';
msgList ['INVALID_ARTICLE_TYPE' ] = 'Invalid article type!';
msgList ['INVALID_GALLERY_TYPE' ] = 'Invalid gallery type!';
msgList ['INVALID_LANG_DEFAULT' ] = 'Invalid default language selected!';
msgList ['INVALID_ART_PER_PAGE' ] = 'Invalid number of articles per page!';
msgList ['INVALID_PROD_PER_PAGE'] = 'Invalid number of products per page!';
msgList ['INVALID_FAQ_PER_PAGE' ] = 'Invalid number of FAQ per page!';
msgList ['INVALID_ORDERS_PER_PAGE'] = 'Invalid number of orders per page!';

// no info given messages
msgList ['NO_USER_INFO_GIVEN'   ] = 'No user information given!';
msgList ['NO_NEWS_INFO_GIVEN'   ] = 'No news information given!';
msgList ['NO_BLOCK_INFO_GIVEN'  ] = 'No main page block information given!';
msgList ['NO_PAGE_INFO_GIVEN'   ] = 'No page information given!';
msgList ['NO_LINK_INFO_GIVEN'   ] = 'No link information given!';
msgList ['NO_ARTICLE_INFO_GIVEN'] = 'No article information given!';
msgList ['NO_PRODUCT_INFO_GIVEN'] = 'No product information given!';
msgList ['NO_INGREDIENT_INFO_GIVEN'] = 'No ingredient information given!';
msgList ['NO_AGENCY_INFO_GIVEN' ] = 'No agency information given!';
msgList ['NO_FAQ_INFO_GIVEN'    ] = 'No FAQ information given!';
msgList ['NO_DEAL_INFO_GIVEN'   ] = 'No deal information given!';

// mail messages
msgList ['REGISTER_EMAIL_ERROR' ] = 'Error sending confirmation e-mail!<br>Wait several seconds and try again!';
msgList ['REGISTER_EMAIL_SENT'  ] = 'A short e-mail was sent to you with your initial password!';

msgList ['LOSTPASS_EMAIL_ERROR' ] = 'Error sending confirmation e-mail!<br>Wait several seconds and try again!';
msgList ['LOSTPASS_EMAIL_SENT'  ] = 'A short e-mail was sent to you with your new password!';

msgList ['FAQ_EMAIL_ERROR'      ] = 'Error sending e-mail with answer!<br>Wait several seconds and try again!';

msgList ['QUEST_EMAIL_ERROR'    ] = 'Error sending e-mail with question!<br>Wait several seconds and try again!';
msgList ['QUEST_EMAIL_SENT'     ] = 'Your question was successfully sent.';

msgList ['CONFIRM_EMAIL_ERROR'  ] = 'Error sending confirmation e-mail!<br>Wait several seconds and try again!';

// missed information messages
msgList ['SIGN_AGREEMENT'       ] = 'You should mark that you accept the Agreement!';
msgList ['SPECIFY_EMAIL'        ] = 'You should specify the e-mail!';
msgList ['SPECIFY_FIRST_NAME'   ] = 'You should specify the first name!';
msgList ['SPECIFY_LAST_NAME'    ] = 'You should specify the last name!';
msgList ['SPECIFY_CITY'    ] = 'You should specify your city!';
msgList ['SPECIFY_AREA'    ] = 'You should specify your living area!';
msgList ['SPECIFY_COUNTRY'      ] = 'You should specify the country!';
msgList ['PASSWORD_SHOULD_MATCH'] = 'Entered passwords should match!';
msgList ['SPECIFY_TITLE'        ] = 'You should specify the title!';
msgList ['SPECIFY_AUTHOR'       ] = 'You should specify the author name!';
msgList ['SPECIFY_TYPE'         ] = 'You should specify the type!';
msgList ['SPECIFY_PICTURE'      ] = 'You should specify the picture!';
msgList ['SPECIFY_BANNER'       ] = 'You should specify the flash banner!';
msgList ['SPECIFY_URL'          ] = 'You should specify the link URL!';
msgList ['SPECIFY_CONTENT'      ] = 'You should specify the content!';
msgList ['SPECIFY_NAME'         ] = 'You should specify your name!';
msgList ['SPECIFY_PHONE'        ] = 'You should specify your phone number!';
msgList ['SPECIFY_PHONE_EMAIL'  ] = 'You should specify e-mail or phone number!';
msgList ['SPECIFY_MESSAGE'      ] = 'You should write the message!';
msgList ['SPECIFY_QUESTION'     ] = 'You should write the question!';
msgList ['SPECIFY_ANSWER'       ] = 'You should write the answer!';
msgList ['SPECIFY_PRODUCT'      ] = 'You should specify the product!';
msgList ['ORDER_EMPTY'          ] = 'Your shopping cart is empty!';

// image specific errors
msgList ['IMAGE_UPLOAD_ERROR'   ] = 'Error checking uploaded image file!';
msgList ['IMAGE_REMOVE_ERROR'   ] = 'Error removing image file!';
msgList ['INVALID_IMAGE_NAME'   ] = 'Image file name can contain english letters,digits,underscores,periods and just a single dot!';
msgList ['INVALID_IMAGE_TYPE'   ] = 'You can upload JPG/GIF/PNG files only!';
msgList ['INVALID_IMAGE_DIM'    ] = 'The dimensions of the uploaded image do not satisfy the requirement!';
msgList ['INVALID_IMAGE_SIZE'   ] = 'The size of the uploaded image does not satisfy the requirement!';

// gallery specific errors
msgList ['GALLERY_EMPTY'          ] = 'This gallery is empty!';

msgList ['GALLERY_PHOTO_UPLOADING'] = 'uploading';
msgList ['GALLERY_PHOTO_OK'       ] = 'OK';
msgList ['GALLERY_PHOTO_ERROR'    ] = 'ERROR!';
msgList ['GALLERY_PHOTO_ABORT'    ] = 'ABORTED!';
msgList ['GALLERY_PHOTO_TIMEOUT'  ] = 'TIMEOUT!';

msgList ['GALLERY_HINT_ADD_BEFORE'] = 'Add new photos before this one';
msgList ['GALLERY_HINT_EDIT'      ] = 'Edit this photo';
msgList ['GALLERY_HINT_DELETE'    ] = 'Delete this photo';
msgList ['GALLERY_HINT_ADD_AFTER' ] = 'Add new photos after this one';

msgList ['GALLERY_PHOTO_JPEG_ONLY'] = 'You can upload JPEG photos only!';
msgList ['GALLERY_SHOWCASE_ERROR' ] = 'Error creating page preview image!';

// slideshow specific messages
msgList ['SLIDESHOW_MODE_SET_OK'     ] = 'Slideshow / Banner mode was changed successfully';
msgList ['SLIDESHOW_URL_SET_OK'      ] = 'Slideshow / Banner URL was changed successfully';
msgList ['SLIDESHOW_BANNER_UPLOAD_OK'] = 'Banner was uploaded successfully';
msgList ['SLIDESHOW_BANNER_DEL_OK'   ] = 'Banner was removed successfully';
msgList ['SLIDESHOW_SLIDE_UPLOAD_OK' ] = 'Slide was added successfully';
msgList ['SLIDESHOW_SLIDE_DEL_OK'    ] = 'Slide was removed successfully';


msgList ['%global.mode_active%'      ] = 'DISABLE ALL';
msgList ['SLIDESHOW_SLIDESHOW'       ] = 'SLIDESHOW';
msgList ['SLIDESHOW_FLASHBANNER'     ] = 'FLASH-BANNER';
msgList ['SLIDESHOW_IMAGEBANNER'     ] = 'IMAGE-BANNER';
msgList ['SLIDESHOW_NONE'            ] = 'DISABLE ALL';

// order status messages
msgList ['%order.status%'       ] = 'In process';
msgList ['ORDER_IN_PROCESS'     ] = 'In process';
msgList ['ORDER_DECLINED'       ] = 'Declined';
msgList ['ORDER_PAYED'          ] = 'Payment accepted';
msgList ['ORDER_SHIPPED'        ] = 'Shipped to client';
msgList ['ORDER_RECEIVED'       ] = 'Received by client';

// user questions status messages
msgList ['%faq.status%'         ] = 'Not answered';
msgList ['USER_QUEST_PENDING'   ] = 'Not answered';
msgList ['USER_QUEST_EMAIL'     ] = 'Answered by e-mail';
msgList ['USER_QUEST_FAQ'       ] = 'Answered in FAQ';

// deals messages
msgList ['DEAL_REMOVE_COUNTRY'  ] = 'Remove this country';
msgList ['DEAL_NO_COUNTRY'      ] = 'Country list is empty!';
msgList ['DEAL_PDF_UPLOAD_ERROR'] = 'Error checking uploaded PDF file!';
msgList ['INVALID_DEAL_PDF_SIZE'] = 'The size of the uploaded PDF does not satisfy the requirement!';

