<?php
//=======================================
//###################################
// Kayako Infotech Ltd. - SWIFT Framework
//
// Source Copyright 2001-2008 Kayako Infotech Ltd.
// Unauthorized reproduction is not allowed
// License Number: $%LICENSE%$
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//                   www.kayako.com
//###################################
//=======================================

$__LANG = array (
    'mailparser' => 'Mail Parser',
    'queue_id_label' => 'ID',    // label must be short
    'queuelist' => 'E-mail Queue List',
    'managemailqueue' => 'Manage E-mail Queues',
    'insertemailqueue' => 'Insert E-mail Queue',
    'queuedetails' => 'Queue Details',
    'insertqueue' => 'Insert Queue',
    'queuenextstep' => 'Next &raquo;',
    'emailgeneralfields' => 'E-mail Fields',
    'emailimapfields' => 'Login Information (required only if POP3/IMAP is selected)',
    'emailaddress' => 'E-mail Queue Address',
    'desc_emailaddress' => 'Enter a valid e-mail address for the queue. Example: support@domain.com',
    'invalidqueueaddress' => 'You must enter a valid e-mail address for the queue.',
    'emailtype' => 'Queue Type',
    'desc_emailtype' => '',
    'emailfetchtype' => 'Fetch Type',
    'desc_emailfetchtype' => 'Specify how the mail parser will fetch new e-mail. Options other than <i>Pipe</i> require hostname, username and password to be specified.',
    'fetchpipe' => 'Pipe',
    'fetchpop3' => 'POP3',
    'fetchpop3ssl' => 'POP3 SSL',
    'fetchpop3tls' => 'POP3 TLS',
    'fetchimap' => 'IMAP',
    'fetchimapssl' => 'IMAP SSL',
    'fetchimaptls' => 'IMAP TLS',
    'emailhost' => 'Host',
    'desc_emailhost' => 'Enter the mail server hostname. This can be an IP address or a hostname such as <i>mail.domain.com</i>.',
    'emailport' => 'Port',
    'desc_emailport' => 'Specify the mail server port. It is recommended that this value is left unchanged unless the mail server is running on a separate port than the one selected by default.',
    'emailusername' => 'Username',
    'desc_emailusername' => 'Enter the mail server username.',
    'emailpassword' => 'Password',
    'desc_emailpassword' => 'Enter your mail server password.',
    'errloopcontrol' => 'Message blocked due to loop control rule in effect.',    
    
    'queueoverrides' => 'Queue Overrides (Optional)',
    'queuefromname' => 'From Name',
    'desc_queuefromname' => 'If specified, all outgoing e-mails under this queue will have their <i>From Name</i> replaced with this name.',
    'queuefromemail' => 'From E-mail',
    'desc_queuefromemail' => 'If specified, all outgoing e-mails under this queue will have their <i>From E-mail</i> replaced with this address.',
    'queuesettings' => 'Queue Settings',
    'templategroup' => 'Queue Template Group',
    'desc_templategroup' => 'Select the queue template group. The settings &amp; templates from this template group are used for the newly-created e-mail queue.',
    'queuesignature' => 'Queue Signature (Optional)',
    'desc_queuesignature' => 'Enter the queue signature. This signature is appended to all outgoing e-mail under this queue.',
    'registrationrequired' => 'Registration Required?',
    'desc_registrationrequired' => 'If enabled, only <b>registered</b> users will be able to raise new tickets by sending a message to this e-mail address and queue. Non-registered users will still be able to submit tickets via the support center.',
    'issueautoresponder' => 'Enable New Issue Autoresponder?',
    'desc_issueautoresponder' => 'If enabled, the system will send an Autoresponder message confirming the receipt of a new issue.',
    'replyautoresponder' => 'Enable New Reply Autoresponder?',
    'desc_replyautoresponder' => 'If enabled, the system will send an Autoresponder message confirming the receipt of a new reply under an already existing issue.',
    'ticketfields' => 'Ticket Fields',
    'queuedepartment' => 'Department',
    'desc_queuedepartment' => 'Specify the department under which new tickets will be created.',
    'queueticketstatus' => 'Ticket Status',
    'desc_queueticketstatus' => 'Select the ticket status for this queue. Any new tickets under this queue will be created using this status',
    'queuepriority' => 'Ticket Priority',
    'desc_queuepriority' => 'Select the ticket priority for this queue. This is not related to the "Priority" of an incoming e-mail. Any new tickets created under this queue will be assigned the selected priority.',
    'failedtocreatequeue' => 'ERROR: Failed to create e-mail queue',
    'redirect_queueinsert' => 'E-mail queue inserted successfully.',
    'queueinsertconfirm' => 'E-mail queue "%s" inserted successfully',
    'depdeleteconfirm' => 'E-mail queue "%s" deleted successfully',
    'invalidemailqueue' => 'Invalid e-mail queue specified',
    'editemailqueue' => 'Edit E-mail Queue',
    'emailqueues' => 'E-mail Queues',
    'queueupdconfirm' => 'E-mail queue "%s" updated successfully',
    'invalidparserlog' => 'Invalid parser log entry. Make sure that the parser log entry exists in the database and has not been deleted.',
    'desc_parserlog' => 'The mail parser logs all incoming e-mail under the log with useful information to help debug any problems. To disable the logging of e-mail or change other settings, navigate to <i>Settings &gt; Mail Parser</i>.',
    'desc_mailparser' => 'The mail parser is a crucial component of '.SWIFTPRODUCT .'. It includes some powerful features like parser rules, catch-all rules, breaklines, and banning to simplify your workflow. The mail parser uses e-mail queues to associate different information with a department and to find out which department an incoming e-mail should be routed to. For more information, please refer to the Mail Parser section of the user manual.',
    'queueprefix' => 'Queue Subject Prefix (Optional)',
    'desc_queueprefix' => 'If specified, all mail subjects under this queue will be prefixed with the specified value. For example, if you specify the queue prefix as <i>SUPPORT</i> the outgoing e-mail subject for staff replies will be: <i>[SUPPORT #ABC-12345]: Actual Subject</i>',
    'invalidqueueprefix' => 'Invalid queue prefix; only alphanumeric characters (e.g. A-Z, 0-9) and spaces are allowed.',
	'errorlockfilefound' => '[ERROR]: Lock file found! (./files/parser.lockfile). A lock file has been found preventing further execution. If it is from a stale instance of cron then please delete the file in order to continue. To remove the file manually <a href="%s">click here</a>',
	'lockfileexpired' => '[WARNING]: Expired lock file (./files/parser.lockfile) from previous instance of cron found; automatically deleting...',

    // View Parser Log
    'viewparserlog' => 'View Parser Log',
    'parserlogentry' => 'Parser Log #%s',
    'generalinformation' => 'General Information',
    'mimedata' => 'MIME Data',
    'ppticketid' => 'Ticket ID: ',
    'ppticketmaskid' => 'Ticket Mask ID: ',
    'ppdate' => 'Date: ',
    'pptimeline' => 'Timeline: ',
    'ppemailqueue' => 'E-mail Queue: ',
    'ppstatus' => 'Process Status: ',
    'ppsubject' => 'Subject: ',
    'ppfromemail' => 'From E-mail: ',
    'pptoemail' => 'Destination E-mail: ',
    'ppsize' => 'Size: ',
    'pptimetaken' => 'Time Taken: ',
    'ppdesc' => 'Description: ',
    'ppresult' => 'Result',
    'pparserlogid' => 'Parser Log ID: ',

    // Parser Log
    'parserlog' => 'Parser Log',
    'parserlogs' => 'Parser Logs',
    'emailsubject' => 'E-mail Subject',
    'emailsubjectresult' => 'E-mail Subject &amp; Result',
    'emailstatus' => 'Status',
    'emailsubresultformat' => '%s<BR /><B>Result:</B> %s',
    'emailparsetime' => 'Parse Time',
    'emailfrom' => '"From:" E-mail',
    'emailto' => '"To:" E-mail',
    'emaildescription' => 'Description',
    'emailticketid' => 'Ticket/Bug ID',
    'emailticketmaskid' => 'Ticket Mask ID',
    'emailcontents' => 'E-mail Contents',

    'nosubject' => '(No Subject)',


    // Breaklines
    'breaklines' => 'Breaklines',
    'desc_breaklines' => 'The Breakline feature in '. SWIFTPRODUCT .' prevents the addition of previously quoted content in an e-mail. '. SWIFTPRODUCT .' will strip the entire text that follows the breakline. This helps keep the content of the incoming e-mail "clean." If the Reply Content is ever empty, the entire message is stored in the database. Example:<BR /><BR /><b>Original E-mail:</b><BR />Reply Content<BR />-----Original Message-----<BR />Quoted Message<BR /><BR /><b>Result:</b><BR />Reply Content<BR /><BR />',
    'breaklinelist' => 'Breakline List',
    'breakline' => 'Breakline',
    'insertbreakline' => 'Insert Breakline',
    'desc_breakline' => 'Enter the contents of the breakline you wish to insert.<BR /><BR />Note: To use regular expressions, prepend your breakline with "regex:"<BR />Example: <i>"regex:@[-=]{4,}[^-=]+[-=]{4,}@"</i>',
    'breaklinedelconfirm' => 'Breakline deleted successfully',
    'breaklineinsertconfirm' => 'Breakline inserted successfully',

    // Parser Errors
    'errtoobig' => 'Maximum allowed message size of %s exceeded; message size: %s',
    'errnorecipients' => 'No recipients found',
    'errnofromemail' => 'No from e-mail specified',
    'errnoqueues' => 'No assigned queues found for mail recipients',
    'scccreatedticket' => 'Created ticket #%s',
    'scccreatedreply' => 'Created reply #%s to ticket #%s',
    'sctcreatedreply' => 'Created reply from third party #%s to ticket #%s',
    'scccreatedstaffreply' => 'Created staff reply #%s to ticket #%s',
    'clearedduelimit' => '-- MIME data cleared due to the size limit under Settings > Parser --',
    'errusernotreg' => 'User %s is not registered. The queue settings require that the user be registered.',
    'erremailbanned' => 'User e-mail address is banned',
    'autorespondernotsent' => ' (Autoresponder not sent due to settings in effect)',
    'actionrepprefix' => 'Re: ',

    // loop cutter
    'pr_loopcutter_prevents_autoresponder_desc' => ' (Autoresponder not sent due to loop control)',
    'pr_mangelooprules' => 'Manage Loop Rules',
    'pr_loopcontrolrules' => 'Loop Control Rules',
    'pr_manageloopblockages' => 'Manage Loop Blockages',
    'pr_loopblockages' => 'Loop Blockages',
    'pr_insert_new_loopcutter_rule_title' => 'Insert New Loop Control Rule',
    'pr_threshhold_grid_timeframe_title' => 'Timeframe',
	'pr_threshhold_grid_maxhits_title' => 'Max Hits',
	'pr_threshhold_grid_restoreafter_title' => 'Restore After',
	'pr_threshhold_grid_address_title' => 'Address',
	'pr_new_loop_control_header_text' => 'New Loop Control',
	'pr_newloopcontrolwatchlength_title' => 'Watching Timeframe',
	'pr_newloopcontrolwatchlength_desc' => 'This is the length of the timeframe that the loop blocker considers, measured in seconds.',
	'pr_newloopcontrolmaxcontacts_title' => 'Maximum Contacts',
	'pr_newloopcontrolmaxcontacts_desc' => 'This is the number of emails sent which will trigger a loop block.',
	'pr_newloopcontrolrestoreafter_title' => 'Restore After',
	'pr_newloopcontrolrestoreafter_desc' => 'This is the amount of time after which a loop block will be automatically removed, measured in seconds.',
	'pr_new_loop_control_rule_added_desc' => 'New loop control rule added.',
	'pr_desc_loopblockages_filler' => 'Below is a list of active loop blockages.  The addresses listed here triggered one or more loop control rules (<i>Mail Parser >> Manage Loop Rules</i>).  Depending on the active settings (<i>Settings >> Mail Parser >> Loop Control Settings</i>), incoming e-mail from these addresses may be completely ignored by ' . SWIFTPRODUCT . ' and an autoresponder message may not be sent.  These settings will be in effect for each blockage until it expires.',
	'pr_desc_looprules_filler' => 'Below is a list of loop control rules.  These rules prevent autoresponder loops or other e-mail flood situations and all incoming e-mail messages are subjected to them.  If a rule is triggered, the settings (<i>Settings >> Mail Parser >> Loop Control Settings</i>) are applied.  This allows ' . SWIFTPRODUCT . ' to completely ignore the message and/or not reply with an autoresponder message.  Blockages created by these rules are automatically removed after the specified timeframe.',
	'pr_loop_rule_deleted' => 'Rule deleted.',
	'pr_loop_block_deleted' => 'Blockage deleted.',
	
    // Misc
    'reprocessemail' => 'Reprocess E-mail',
);
?>