<?php
$lang->workflowcondition->common = 'Workflow Condition';
$lang->workflowcondition->browse = 'Conditions';
$lang->workflowcondition->create = 'Create Condition';
$lang->workflowcondition->edit   = 'Edit Condition';
$lang->workflowcondition->delete = 'Delete Condition';

$lang->workflowcondition->condition = 'Condition';
$lang->workflowcondition->type      = 'Type';
$lang->workflowcondition->result    = 'Result';
$lang->workflowcondition->field     = 'Field';
$lang->workflowcondition->sql       = 'SQL';
$lang->workflowcondition->varName   = 'Var Name';
$lang->workflowcondition->varValue  = 'Var Value';

$lang->workflowcondition->know = 'Known';
$lang->workflowcondition->tips = 'Set conditions to display the action, e.g., display the review button when the amount > 1000.';

$lang->workflowcondition->typeList['data'] = 'Data';
$lang->workflowcondition->typeList['sql']  = 'SQL';

$lang->workflowcondition->resultList['empty']    = 'Pass when the search result is empty or zero.';
$lang->workflowcondition->resultList['notempty'] = 'Pass when the search result is not empty nor zero.';

$lang->workflowcondition->logicalOperatorList['and'] = 'And';
$lang->workflowcondition->logicalOperatorList['or']  = 'Or';

$lang->workflowcondition->options['currentUser'] = 'Current User';
$lang->workflowcondition->options['currentDept'] = 'Current Dept';
$lang->workflowcondition->options['deptManager'] = 'Dept Manager';
$lang->workflowcondition->options['actor']       = 'Operated User';
$lang->workflowcondition->options['today']       = 'Operated Date';
$lang->workflowcondition->options['now']         = 'Operated Time';

$lang->workflowcondition->placeholder = new stdclass();
$lang->workflowcondition->placeholder->sql     = 'Use a SQL query. Only the query is allowed. Other SQL operations are prohibited.';
