97 lines
4.5 KiB
PHP
97 lines
4.5 KiB
PHP
<?php
|
|
$lang->workflowhook->common = 'Workflow Extended Action';
|
|
$lang->workflowhook->browse = 'Extended Actions';
|
|
$lang->workflowhook->create = 'Create Ext Action';
|
|
$lang->workflowhook->edit = 'Edit Ext Action';
|
|
$lang->workflowhook->delete = 'Delete Ext Action';
|
|
|
|
$lang->workflowhook->condition = 'Condition';
|
|
$lang->workflowhook->hook = 'Ext Action';
|
|
$lang->workflowhook->type = 'Type';
|
|
$lang->workflowhook->result = 'Result';
|
|
$lang->workflowhook->sql = 'SQL';
|
|
$lang->workflowhook->varName = 'Var Name';
|
|
$lang->workflowhook->varValue = 'Var Value';
|
|
$lang->workflowhook->action = 'Action';
|
|
$lang->workflowhook->table = 'Table';
|
|
$lang->workflowhook->field = 'Field';
|
|
$lang->workflowhook->value = 'Value';
|
|
$lang->workflowhook->where = 'Where';
|
|
$lang->workflowhook->message = 'Message';
|
|
|
|
$lang->workflowhook->typeList['data'] = 'Data as condition';
|
|
$lang->workflowhook->typeList['sql'] = 'SQL as condition';
|
|
|
|
$lang->workflowhook->resultList['empty'] = 'Execute extended action when result is empty or zero.';
|
|
$lang->workflowhook->resultList['notempty'] = 'Execute extended action when result is not empty nor zero.';
|
|
|
|
$lang->workflowhook->logicalOperatorList['and'] = 'And';
|
|
$lang->workflowhook->logicalOperatorList['or'] = 'Or';
|
|
|
|
$lang->workflowhook->actionList['insert'] = 'Insert';
|
|
$lang->workflowhook->actionList['update'] = 'Update';
|
|
$lang->workflowhook->actionList['delete'] = 'Delete';
|
|
|
|
$lang->workflowhook->tables = array();
|
|
$lang->workflowhook->tables['order'] = 'Order';
|
|
$lang->workflowhook->tables['contract'] = 'Contract';
|
|
$lang->workflowhook->tables['customer'] = 'Customer';
|
|
$lang->workflowhook->tables['provider'] = 'Provider';
|
|
$lang->workflowhook->tables['contact'] = 'Contact';
|
|
$lang->workflowhook->tables['product'] = 'Product';
|
|
$lang->workflowhook->tables['user'] = 'User';
|
|
$lang->workflowhook->tables['project'] = 'Project';
|
|
$lang->workflowhook->tables['task'] = 'Task';
|
|
$lang->workflowhook->tables['todo'] = 'Todo';
|
|
$lang->workflowhook->tables['article'] = 'Article';
|
|
$lang->workflowhook->tables['doc'] = 'Document';
|
|
$lang->workflowhook->tables['doclib'] = 'Document Library';
|
|
$lang->workflowhook->tables['refund'] = 'Refund';
|
|
$lang->workflowhook->tables['announce'] = 'Announce';
|
|
$lang->workflowhook->tables['holiday'] = 'Holiday';
|
|
$lang->workflowhook->tables['attend'] = 'Attend';
|
|
$lang->workflowhook->tables['leave'] = 'Leave';
|
|
$lang->workflowhook->tables['lieu'] = 'Lieu';
|
|
$lang->workflowhook->tables['overtime'] = 'Overtime';
|
|
$lang->workflowhook->tables['trip'] = 'Trip';
|
|
$lang->workflowhook->tables['depositor'] = 'Depositor';
|
|
$lang->workflowhook->tables['trade'] = 'Trade';
|
|
$lang->workflowhook->tables['payable'] = 'Payable';
|
|
$lang->workflowhook->tables['balance'] = 'Balance';
|
|
$lang->workflowhook->tables['thread'] = 'Thread';
|
|
$lang->workflowhook->tables['reply'] = 'Reply';
|
|
|
|
$lang->workflowhook->options['currentUser'] = 'User';
|
|
$lang->workflowhook->options['currentDept'] = 'Dept';
|
|
$lang->workflowhook->options['deptManager'] = 'Dept Manager';
|
|
$lang->workflowhook->options['actor'] = 'Operated User';
|
|
$lang->workflowhook->options['today'] = 'Operated Date';
|
|
$lang->workflowhook->options['now'] = 'Operated Time';
|
|
$lang->workflowhook->options['formula'] = 'Formula';
|
|
|
|
$lang->workflowhook->placeholder = new stdclass();
|
|
$lang->workflowhook->placeholder->sql = 'Write a SQL query. Only the query is allowed.';
|
|
|
|
$lang->workflowhook->error = new stdclass();
|
|
$lang->workflowhook->error->wrongSQL = 'The SQL is wrong! Error: ';
|
|
|
|
/* Formula */
|
|
$lang->workflowhook->formula = new stdclass();
|
|
$lang->workflowhook->formula->common = 'Expression';
|
|
$lang->workflowhook->formula->target = 'Target';
|
|
$lang->workflowhook->formula->operator = 'Operator';
|
|
$lang->workflowhook->formula->numbers = 'Number';
|
|
$lang->workflowhook->formula->clearLast = 'Delete';
|
|
$lang->workflowhook->formula->clearAll = 'Delete All';
|
|
$lang->workflowhook->formula->set = 'Setting';
|
|
|
|
$lang->workflowhook->formula->functions['sum'] = 'Total_%s_%s';
|
|
$lang->workflowhook->formula->functions['average'] = 'Average_%s_%s';
|
|
$lang->workflowhook->formula->functions['max'] = 'Max_%s_%s';
|
|
$lang->workflowhook->formula->functions['min'] = 'Min_%s_%s';
|
|
$lang->workflowhook->formula->functions['count'] = 'Quantity_%s_%s';
|
|
|
|
$lang->workflowhook->formula->error = new stdclass();
|
|
$lang->workflowhook->formula->error->empty = 'Expression can not be empty.';
|
|
$lang->workflowhook->formula->error->error = 'Expression is not correct.';
|