<?php
/*+***********************************************************************************
 * The contents of this file are subject to the vtiger CRM Public License Version 1.1
 * ("License"); You may not use this file except in compliance with the License
 * The Original Code is: vtiger CRM Open Source
 * The Initial Developer of the Original Code is vtiger.
 * Portions created by vtiger are Copyright (C) vtiger.
 * All Rights Reserved.
 ************************************************************************************ */

$languageStrings = Array (
	'MailManager' => 'Mail Manager',
	'LBL_Folders'         => 'Folders',
	'LBL_Newer'           => 'Newer',
	'LBL_Older'           => 'Older',
	'LBL_No_Mails_Found'  => 'No mails found.',
	'LBL_Go_Back'         => 'Back',
	'LBL_Reply_All'       => 'Reply all',
	'LBL_Reply'           => 'Reply',
	'LBL_Mark_As_Unread'  => 'Mark as unread',
	'LBL_Previous'        => 'previous',
	'LBL_Next'            => 'next',
	'LBL_RELATED_RECORDS' => 'Related Records',
	'LBL_Mailbox'         => 'Mailbox',
	'LBL_Outbox'          => 'CRM Outbox',
	'LBL_Like'            => 'like',
	'LBL_Mail_Server'     => 'Mail Server Name or IP',
	'LBL_Refresh'         => 'Refresh',
	'LBL_Cancel'          => 'Cancel',
	'LBL_Send'            => 'Send',
	'LBL_Compose'         => 'Compose',
	'LBL_Forward'         => 'Forward',
	'LBL_Remove'          => 'Remove',
	'LBL_Associate'       => 'Associate',
	'LBL_Create_Contact'  => 'Create contact',
	'LBL_No_Matching_Record_Found' => 'No matching records found.',
	'LBL_ACTIONS'         => 'Actions',
	'LBL_Search'          => 'Search',
	'LBL_Delete'          =>  'Delete',
	'LBL_Username'             => 'User Name',
	'LBL_Your_Mailbox_Account' => 'your mailbox account',
	'LBL_Password'             => 'Password',
	'LBL_Account_Password'     => 'account password',
	'LBL_Protocol'    => 'Protocol',
	'LBL_Imap2'       => 'IMAP2',
	'LBL_Imap4'       => 'IMAP4',
	'LBL_SSL_Options' => 'SSL Options',
	'LBL_No_TLS'      => 'No TLS',
	'LBL_TLS'         => 'TLS',
	'LBL_SSL'         => 'SSL',
	'LBL_Certificate_Validations' => 'Certificate Validations',
	'LBL_Validate_Cert'           => 'Validate cert',
	'LBL_Do_Not_Validate_Cert'    => 'Do not validate cert',
	'LBL_SELECT_ACCOUNT_TYPE'     => 'Select Organization Type',
	'LBL_FROM'        => 'From',
	'LBL_TO'          => 'To',
	'LBL_CC'          => 'CC',
	'LBL_BCC'         => 'BCC',
	'LBL_Date'        => 'Date',
	'LBL_Attachments' => 'Attachments',
	'LBL_EMAIL_TEMPLATES_LIST'=>'Email Templates',
	'LBL_SELECT_EMAIL_TEMPLATE'=>'Select Email template',
	'LBL_ATTACHMENTS'  =>'Attachment:',
	'LBL_SELECT_DOCUMENTS'=>'Select Documents',
	'LBL_IN' =>'in',
	'LBL_FIND'=>'Find',
	'LBL_SAVE_NOW'=>'Save Now',
	'LBL_Drafts'=>'Drafts',
 	'LBL_NO_EMAILS_SELECTED' => 'No Emails Selected.',
	'LBL_SUBJECT'	=>	'Subject',
	'LBL_WRITE_ACCESS_FOR'	=>'Write access for',
	'LBL_READ_ACCESS_FOR'	=>'Read access for',
	'LBL_MODULE_DENIED' => 'module denied!',
	'LBL_REFRESH_TIME'=>'Refresh Time',
	'LBL_NONE' => 'None',
	'LBL_5_MIN' => '5 Minutes',
	'LBL_10_MIN' => '10 Minutes',
	'LBL_MOVE_TO'=>'Move To...',
    'LBL_MAILMANAGER_ADD_Contacts' => 'Add Contact',
    'LBL_MAILMANAGER_ADD_Accounts' => 'Add Organization',
    'LBL_MAILMANAGER_ADD_Leads' => 'Add Lead',
    'LBL_MAILMANAGER_ADD_Calendar' => 'Add Event/To Do',
    'LBL_MAILMANAGER_ADD_HelpDesk' => 'Add Ticket',
    'LBL_MAILMANAGER_ADD_Emails' => 'Attach Email',
    'LBL_MAILMANAGER_ADD_ModComments' => 'Add Comment',
    'LBL_MAILMANAGER_ADD_Potentials' => 'Add Opportunity',
    'LBL_ADD' => 'Add',
	'JSLBL_Body_Cannot_Be_Empty' => 'Body cannot be empty',
	'LBL_ALLMAILS' => 'All Mails',
	'LBL_TO_CONTACTS' => 'To Contacts',
	'LBL_TO_ACCOUNTS' => 'To Organizations',
	'LBL_TO_LEADS' => 'To Leads',
	'LBL_TO_USERS' => 'To Users',
	'LBL_SENT_MAILS' => 'Sent Mails',
	'LBL_Print' => 'Print',
	'LBL_SAVE_BUTTON_LABEL' => 'Save',
	'LBL_CANCEL_BUTTON_LABEL' => 'Cancel',
	'LBL_CREATE_MAILBOX' => 'Create Mailbox',
	'LBL_WRITE_YOUR_COMMENT_HERE' => 'Add your comment here ...',
	'LBL_MAILBOX_DETAILS' => 'Mailbox Details',
	'LBL_DELETE_Mailbox' => 'Delete Mailbox',
	'LBL_ACCOUNT_TYPE' => 'Account Type',
	'LBL_MODULE_DESCRIPTION' => "Mail Manager is an integrated email client that allows users to perform CRM related actions on incoming email. It helps you create Leads, Contacts, Organizations, Trouble Tickets and To Dos from the emails that you receive in your inbox. Should sender's email id match with a record in vtiger CRM, you can perform more actions like, Attaching email, Adding To do, Comment and Ticket. Additionally, you can manage composing, replying, forwarding emails etc.",
	'LBL_CHOOSE_EXISTING_FOLDER' => 'Choose an existing folder',
    'LBL_CHOOSE_FOLDER_DESC' => 'Copies of the sent mails for this account will be saved in the default <b>Sent Mail</b> folder.<br><br>            If you want to change the default sent mail folder, after creating the mail box click on <b>Settings</b> icon and <b>Edit</b> the MailBox.',
    'LBL_CHOOSE_FOLDER' => 'Copies of the sent mails for this account will be saved in this folder.',
    'LBL_SELECTED_FOLDER' => 'Selected Folder',
	'LBL_EDIT_MAILBOX' => 'Edit Mailbox',
	'LBL_SELECT_ACCOUNT' => 'Select Account',
	'LBL_SAVE_SENT_MAILS_IN' => 'Save sent mails in',
	'LBL_CONFIGURE_MAILBOX' => 'Configure Mailbox',
	'LBL_INBOX' => 'Inbox',
	'LBL_SENT' => 'Sent',
	'LBL_TRASH' => 'Trash',
	'LBL_TYPE_TO_SEARCH' => 'Type to search...',
	'LBL_NO_MAIL_SELECTED_DESC' => 'No mail selected. Click on mail for preview.',
	'LBL_FILES' => 'files',
	'LBL_CC_SMALL' => 'Cc',
	'LBL_BCC_SMALL' => 'Bcc',
	'LBL_MARK_AS_READ' => 'Mark as read',

  'LBL_ADD_CALENDAR' => 'Add Task',
  'LBL_ADD_EVENTS' => 'Add Event',
  'JSLBL_ENTER_VALID_EMAIL_ADDRESS' => 'Please enter a valid email address.',
  'JSLBL_MAILS_DELETED' => 'Mail(s deleted successfully.',
  'JSLBL_MAILS_MARKED_UNREAD' => 'Mail(s marked as unread.',
  'JSLBL_MAILS_MARKED_READ' => 'Mail(s marked as read.',

	'LBL_MAILMANAGER_ADD_Cases' => 'Add Case',
);

$jsLanguageStrings = Array (
	'MailManager' => 'Mail Manager',
	'JSLBL_Loading_Please_Wait'  => 'Loading Please Wait',
	'JSLBL_Loading'              => 'Loading',
	'JSLBL_Settings'             => 'Settings',
	'JSLBL_Opening'              => 'Opening',
	'JSLBL_Deleting'              => 'Deleting',  
	'JSLBL_Updating'             => 'Updating',
	'JSLBL_Associating'          => 'Associating',
	'JSLBL_Saving_And_Verifying' => 'Saving & Verifying',
	'JSLBL_Failed_To_Open_Mail'  => 'Failed to open the mail',
	'JSLBL_Finding_Relation'     => 'Finding relation',
	'JSLBL_Find_Relation_Now'    => 'Find relation now',
	'JSLBL_Searching'            => 'Searching',
	'JSLBL_Searching_Please_Wait'=> 'Searching Please Wait',
	'JSLBL_Sending'              => 'Sending',
	'JSLBL_Replied'              => 'Replied',
	'JSLBL_Failed_To_Send_Mail'  => 'Failed to send the mail',
	'JSLBL_Recepient_Cannot_Be_Empty' => 'Recepient (To) cannot be empty',
	'JSLBL_Subject_Cannot_Be_Empty'     => 'Subject cannot be empty',
	'JSLBL_Removing'                  => 'Removing',
	'JSLBL_Choose_Server_Type'        => 'Choose server type',
	'JSLBL_Other'                     => 'Other',
	'JSLBL_Gmail'                     => 'Gmail',
	'JSLBL_Fastmail'                  => 'Fastmail',
	'JSLBL_Search_For_Email'          => 'Search for email',
	'JSLBL_Nothing_Found'             => 'Nothing found',
	'JSLBL_Delete_Confirm'            =>'Do you want to delete the Emails permanently?',
	'JSLBL_Delete_Mails_Confirm'      =>'Do you want to delete the Emails?',
	'JSLBL_Receipents_Warning_Message'=>'Please select recepients',
	'JSLBL_NO_MATCH'				  => 'No match found',
	'JSLBL_Saving'					=> 'Saving',
	'JSLBL_Failed_To_Save_Mail'		=>	'Failed to save the mail',
	'JSLBL_ATTACHMENT_NOT_DELETED'	=>	'Attachment could not be deleted',
	'JSLBL_UPLOAD_CANCEL'	=> 'Cancel',
	'JSLBL_UPLOAD_DROPFILES'=>'Drop files here to upload',
	'JSLBL_UPLOAD_FILE'=>'Upload',
	'JSLBL_UPLOAD_DELETE'=>'[x]',
	'JSLBL_UPLOAD_FAILED'=>'Failed',
	'JSLBL_FILEUPLOAD_LIMIT_EXCEEDED'=>'File Upload Limit exceeded!!',
	'JSLBL_MAIL_SENT'=>'Mail Sent',
	'JSLBL_EMAIL_FORMAT_INCORRECT'=>'Please provide proper email address',
	'JSLBL_Saving'=>'Saving',
	'JSLBL_SaveWith_EmptySubject'=>'Save with subject empty?',
	'JSLBL_Delete'            =>  'Delete',
	'JSLBL_Drafts'=>'Drafts',
	'JSLBL_PASSWORD_CANNOT_BE_EMPTY'=>'Password cannot be empty',
	'JSLBL_SERVERNAME_CANNOT_BE_EMPTY'=>'Server Name cannot be empty',
	'JSLBL_USERNAME_CANNOT_BE_EMPTY'=>'User Name cannot be empty',
	'JSLBL_ACCOUNTNAME_CANNOT_EMPTY'=>'Organization Name cannot be empty',
	'JSLBL_FROM'=>'From:',
	'JSLBL_DATE'=>'Date: ',
	'JSLBL_SUBJECT'=>'Subject: ',
	'JSLBL_TO'=>'To: ',
	'JSLBL_CC'=>'Cc: ',
	'JSLBL_FORWARD_MESSAGE_TEXT'=>'---------- Forwarded message ----------',
	'JSLBL_PLEASE_SELECT_ATLEAST_ONE_MAIL'=>'Please select at least one mail',
	'JSLBL_PLEASE_SELECT_ATLEAST_ONE_RECORD'=>'Please select at least one record',
	'JSLBL_MAIL_MOVED'=>'Mail(s) moved',
	'JSLBL_MOVING'=>'Moving Mail(s)',
	'JSLBL_LOADING_FOLDERS' => 'Loading Folders..',
	'JSLBL_ADD_COMMENT'=>'Add Comment',
    'JSLBL_Yahoo'=>'Yahoo',
    'JSLBL_CANNOT_ADD_EMPTY_COMMENT' => 'Comment cannot be empty',
    'JSLBL_NO_EMAILS_SELECTED' => 'No Emails Selected.',
    'JSLBL_ENTER_SOME_VALUE' => 'Enter some string to search',
    'JSLBL_DRAFT_MAIL_SAVED'=>'Mail is saved under Drafts',
	'JS_FUTURE_EVENT_CANNOT_BE_HELD' => 'Cannot Be Held For Future',
	'LBL_DELETE_CONFIRMATION' => 'Are you sure you want to delete the email(s) permanently?',
	'JS_DELETE_MAILBOX_SETTINGS_CONFIRMATION' => 'Are you sure you want to Delete?',
	'JSLBL_NO_MAIL_SELECTED_DESC' => 'No mail selected. Click on mail for preview.',
	'JSLBL_FAILED_ADDING_COMMENT' => 'Failed to add comment',

  'JSLBL_ENTER_VALID_EMAIL_ADDRESS' => 'Please enter a valid email address.',
  'JSLBL_MAILS_DELETED' => 'Mail(s deleted successfully.',
  'JSLBL_MAILS_MARKED_UNREAD' => 'Mail(s marked as unread.',
  'JSLBL_MAILS_MARKED_READ' => 'Mail(s marked as read.',

);

//Special Handling: Mix of language strings are used.
$languageStrings = array_merge($languageStrings, $jsLanguageStrings);