<?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',

    'desc_parserrules' => '',

    // Operators
    'smatchall' => 'Match <b>All</b> Criteria',
    'smatchany' => 'Match <b>Any<b> Criteria',
    'opcontains' => 'Contains',
    'opnotcontains' => 'Doesn\'t Contain',
    'opequal' => 'Equal',
    'opnotequal' => 'Not Equal',
    'opgreater' => 'Greater Than',
    'opless' => 'Less Than',
    'opregexp' => 'Regular Expression',
    'strue' => 'True',
    'sfalse' => 'False',

    // Criterias
    'psendername' => 'Sender Name',
    'desc_psendername' => 'The sender name is parsed from the "From:" header of the e-mail message. Example: <i>From: <span class="tabletitle">Sender Name</span> &lt;senderemail@domain.com&gt;</i>',

    'psenderemail' => 'Sender E-mail Address',
    'desc_psenderemail' => 'The sender e-mail address is parsed from the "From:" header of the e-mail message. Example: <i>From: <span class="tabletitle">Sender Name</span> &lt;senderemail@domain.com&gt;</i>',

    'pdestinationname' => 'Destination Name',
    'desc_pdestinationname' => 'The destination name is parsed from the "To:" header of the e-mail. The destination name is usually the name of the staff user that has replied to the ticket (unless configured otherwise). Example: <i>To: <span class="tabletitle">Destination Name</span> &lt;destinationemail@domain.com&gt;</i>',

    'pdestinationemail' => 'Destination E-mail Address',
    'desc_pdestinationemail' => 'The destination e-mail address is parsed from the "To:" header of the e-mail message. The destination name is usually the address belonging to the e-mail queue that the reply is being sent from (unless configured otherwise). Example: <i>To: <span class="tabletitle">Destination Name</span> &lt;destinationemail@domain.com&gt;</i>',

    'preplytoname' => 'Reply-To Name',
    'desc_preplytoname' => 'The reply-to name is parsed from the "Reply-To:" header of the e-mail message. Example: <i>Reply-To: <span class="tabletitle">Reply-To Name</span> &lt;replytoemail@domain.com&gt;</i>',

    'preplytoemail' => 'Reply-To E-mail Address',
    'desc_preplytoemail' => 'The reply-to e-mail address is parsed from the "Reply-To:" header of the e-mail message. Example: <i>Reply-To: <span class="tabletitle">Reply-To Name</span> &lt;replytoemail@domain.com&gt;</i>',

    'psubject' => 'Subject',
    'desc_psubject' => 'Matches the e-mail subject.',
    
    'precipients' => 'Recipients',
    'desc_precipients' => 'Matches the e-mail recipients. There can be multiple recipients to which the incoming e-mail was sent. This rule also searches the recipients listed under the "To:" and "CC:" headers of the e-mail message.',

    'pbody' => 'Body',
    'desc_pbody' => 'Matches the remaining contents of the e-mail body after HTML (unless configured otherwise) and breaklines have been stripped out.',

    'pbodysize' => 'Body Size',
    'desc_pdbodysize' => 'The total size of the body content of the e-mail in bytes.',

    'ptextbody' => 'Plain-text Body',
    'desc_ptextbody' => 'An e-mail can have two content types; <i>plain-text</i>, <i>HTML</i> or <i>both</i>. This rule searches the <i>plain-text</i> version of the body only. Note that not all e-mails are sent in <b>both formats</b>.',

    'phtmlbody' => 'HTML Body',
    'desc_phtmlbody' => 'An e-mail can have two content types; <i>plain-text</i>, <i>HTML</i> or <i>both</i>. This rule searches the <i>plain-text</i> version of the body only. Note that not all e-mails are sent in <b>both formats</b>.',

    'ptextbodysize' => 'Text Body Size',
    'desc_ptextbodysize' => 'An e-mail can have two content types; <i>plain-text</i>, <i>HTML</i> or <i>both</i>. This rule matches the total size of the <i>plain-text</i> body content of the e-mail in bytes.',

    'phtmlbodysize' => 'HTML Body Size',
    'desc_phtmlbodysize' => 'An e-mail can have two content types; <i>plain-text</i>, <i>HTML</i> or <i>both</i>. This rule matches the total size of the <i>HTML</i> body content of the e-mail in bytes.',

    'pattachmentname' => 'Attachment Name',
    'desc_pattachmentname' => 'Matches attachment names of <i>accepted</i> attachments. Accepted attachment types are defined in the administrator control panel under <i>Mail Parser</i>.',

    'pattachmentsize' => 'Attachment Size',
    'desc_pattachmentsize' => 'Matches the size (in bytes) of any <i>accepted</i> attachments in the incoming e-mail. Accepted attachment types are defined in the administrator control panel under <i>Mail Parser</i>.',

    'ptotalattachmentsize' => 'Total Attachment Size',
    'desc_ptotalattachmentsize' => 'Matches the <b>total</b> size (in bytes) of any <i>accepted</i> attachments in the incoming e-mail. Accepted attachment types are defined in the administrator control panel under <i>Mail Parser</i>.',

    'pisreply' => 'Is Reply',
    'desc_pisreply' => 'If the incoming e-mail is flagged as a reply to an <b>existing ticket</b>, this rule will match (return true).',

    'pisthirdparty' => 'Is Third Party',
    'desc_pisthirdparty' => 'If the incoming e-mail is flagged as a reply to an <b>existing ticket</b> from an address that has been added as a third-party recipient, this rule will match (return true).',

    'pisstaffreply' => 'Is Staff Reply',
    'desc_pisstaffreply' => 'If the incoming e-mail is flagged as a reply to an <b>existing ticket</b> from a staff user e-mail address, this rule will match (return true).',

    // Insert Rule
    'insertrule' => 'Insert Rule',
    'criteria' => 'Criteria',
    'newcriteria' => 'New Criteria',
    'iruletype' => 'Rule Type: ',
    'ipreparse' => 'Pre Parse',
    'ipostparse' => 'Post Parse',

    'paignore' => 'Ignore E-mail',
    'desc_paignore' => 'The e-mail will be completely ignored by the system and will not be parsed into a ticket or a reply.',
    'panoautoresp' => 'Do not send autoresponder message',
    'desc_panoautoresp' => 'The ticket or ticket reply receipt will not be sent.',
    'panoalerts' => 'Do Not Process Ticket Alert Rules',
    'desc_panoalerts' => 'Staff e-mail or SMS alert rules will not be processed.',
    'pnochange' => '-- No Change --',
    'pcstaff' => 'Assign The Ticket',
    'desc_pcstaff' => 'The ticket (whether a new one or a reply to an existing one) will be assigned to the staff user specified here.',
    'pcstatus' => 'Change Ticket Status',
    'desc_pcstatus' => 'The ticket will be changed to the status specified here.',
    'pcpriority' => 'Change Ticket Priority',
    'desc_pcpriority' =>' The ticket will be changed to the priority specified here.',
    'pcdepartment' => 'Change Ticket Department',
    'desc_pcdepartment' => 'The ticket will be moved to the department specified here.',
    'pcslaplan' => 'Change Ticket SLA Plan',
    'desc_pcslaplan' => 'The ticket will be assigned the SLA plan specified here.',
    'pcflag' => 'Flag Ticket',
    'desc_pcflag' => 'The ticket will be flagged this color.',
    'paddnotes' => 'Add Note',
    'desc_paddnotes' => 'A note will be added to the ticket.',
    'pcforward' => 'Forward To',
    'desc_pcforward' => 'The e-mail will be forwarded to the address specified here.',
    'preply' => 'Reply To E-mail',
    'desc_preply' => 'The e-mail will be automatically responded to with the message specified here.',
    'pticketstatus' => 'Ticket Status',
    'desc_pticketstatus' => 'If the incoming e-mail is parsed as a reply to an existing ticket, the ticket\'s status will be matched by this rule.',
    'panoticket' => 'Do not parse as ticket reply',
    'desc_panoticket' => 'Instead of being appended to the existing ticket, the e-mail will be taken and parsed as a new ticket.',

    // Edit Rules
    'editrule' => 'Edit Rule',
    'ptitle' => 'Rule Title',
    'desc_ptitle' => 'Enter a title for the rule.',
    'pstop' => 'Stop processing rules',
    'desc_pstop' => 'If enabled and if this mail parser rule is met first, no other rules will be parsed (even if they match for the incoming e-mail).',
    'ruleinsertconfirm' => 'Parser rule "%s" inserted successfully',
    'ruleupdateconfirm' => 'Parser rule "%s" updated successfully',
    'invalidrule' => 'ERROR: Invalid parser rule',

    // Manage Rules
    'managerules' => 'Manage Rules',
    'ruledelconfirm' => 'Parser rule deleted successfully',
    'ruletitle' => 'Rule Title',
    'sortorder' => 'Execution Order',
    'desc_sortorder' => 'The mail parser will execute the mail parser rules according to this value. (e.g. <i>rule "1" will be executed before "2" etc</i>).',
    'ruletype' => 'Rule Type',
    'creationdate' => 'Creation Date',
    'rulelist' => 'Rule List',
);
?>