First version of Notify on expiration

SVN:trunk[6919]
This commit is contained in:
Vincent Dumas
2018-07-19 14:52:09 +00:00
commit 101b485657
7 changed files with 1056 additions and 0 deletions

View File

@@ -0,0 +1,78 @@
<?php
// Copyright (C) 2012-2018 Combodo SARL
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 3 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/**
* Localized data
*
* @author Erwan Taloc <erwan.taloc@combodo.com>
* @author Romain Quetiez <romain.quetiez@combodo.com>
* @author Denis Flaven <denis.flaven@combodo.com>
* @author Guillaume Lajarige <guillaume.lajarige@combodo.com>
* @author Vincent Dumas <vincent.dumas@combodo.com>
* @license http://www.opensource.org/licenses/gpl-3.0.html LGPL
*/
// ExpirationRule
Dict::Add('DE DE', 'German', 'Deutsch', array(
// Class
'Class:ExpirationRule/Name' => '%1$s~~',
'Class:ExpirationRule' => 'Expiration rule~~',
'Class:ExpirationRule+' => '~~',
'Class:ExpirationRule/Attribute:name' => 'Name~~',
'Class:ExpirationRule/Attribute:name+' => '~~',
'Class:ExpirationRule/Attribute:class' => 'Class~~',
'Class:ExpirationRule/Attribute:class+' => '~~',
'Class:ExpirationRule/Attribute:description' => 'Description',
'Class:ExpirationRule/Attribute:description+' => '',
'Class:ExpirationRule/Attribute:status' => 'Status~~',
'Class:ExpirationRule/Attribute:status+' => '~~',
'Class:ExpirationRule/Attribute:status/Value:active' => 'Active~~',
'Class:ExpirationRule/Attribute:status/Value:inactive' => 'Inactive~~',
'Class:ExpirationRule/Attribute:type' => 'Applied option~~',
'Class:ExpirationRule/Attribute:type+' => 'Which option will be used regarding the filled fields. If both are filled, advanced option is applied~~',
'Class:ExpirationRule/Attribute:type/Value:simple' => 'Simple~~',
'Class:ExpirationRule/Attribute:type/Value:advanced' => 'Advanced~~',
'Class:ExpirationRule/Attribute:date_to_check_att' => 'Date to check~~',
'Class:ExpirationRule/Attribute:date_to_check_att+' => 'Attribute code of the date to check~~',
'Class:ExpirationRule/Attribute:term_of_notice' => 'Term of notice~~',
'Class:ExpirationRule/Attribute:term_of_notice+' => 'Number of days before the date to check, to trigger the notification~~',
'Class:ExpirationRule/Attribute:oql_scope' => 'OQL scope~~',
'Class:ExpirationRule/Attribute:oql_scope+' => 'OQL query to define which objects are concerned by this rule.~~',
// Integrity errors
'Class:ExpirationRule/Error:ClassNotValid' => 'Class must be a valid class from datamodel, "%1$s" given~~',
'Class:ExpirationRule/Error:AttributeNotValid' => '"%2$s" is not a valid attribute for class "%1$s"~~',
'Class:ExpirationRule/Error:AttributeMustBeDate' => '"%2$s" must be a date attribute of class "%1$s"~~',
'Class:ExpirationRule/Error:NoOptionFilled' => 'Either option 1 or option 2 must be filled~~',
'Class:ExpirationRule/Error:OptionOneMissingField' => 'All fields of option 1 must be filled~~',
// Presentation
'ExpirationRule:general' => 'General informations~~',
'ExpirationRule:simple' => 'Fill either option 1 (simple) ...~~',
'ExpirationRule:advanced' => '... or option 2 (advanced)~~',
// Menus
'Menu:ExpirationRule' => 'Expiration rules~~',
'Menu:ExpirationRule+' => 'Expiration rules~~',
// Tabs
'UI:AutocloseTicket:Preview' => 'Preview~~',
'UI:AutocloseTicket:Title' => '%1$s reach their term of notice today~~',
'Class:TriggerOnExpirationRule' => 'Trigger (on expiration)~~',
'Class:TriggerOnExpirationRule+' => 'Trigger activated when an object is in scope of an expiration rule~~',
));