<?php
$lang->workflowdatasource->common = 'Workflow Datasource';
$lang->workflowdatasource->browse = 'Datasource';
$lang->workflowdatasource->create = 'Create Datasource';
$lang->workflowdatasource->edit   = 'Edit Datasource';
$lang->workflowdatasource->view   = 'Datasource Details';
$lang->workflowdatasource->delete = 'Delete Datasource';

$lang->workflowdatasource->id          = 'ID';
$lang->workflowdatasource->type        = 'Type';
$lang->workflowdatasource->name        = 'Name';
$lang->workflowdatasource->datasource  = 'Datasource';
$lang->workflowdatasource->createdBy   = 'Created By';
$lang->workflowdatasource->createdDate = 'Created';
$lang->workflowdatasource->editedBy    = 'Edited By';
$lang->workflowdatasource->editedDate  = 'Edited';

$lang->workflowdatasource->key         = 'Key';
$lang->workflowdatasource->value       = 'Value';
$lang->workflowdatasource->app         = 'App';
$lang->workflowdatasource->module      = 'Module';
$lang->workflowdatasource->method      = 'Method';
$lang->workflowdatasource->desc        = 'Description';
$lang->workflowdatasource->param       = 'Parameter';
$lang->workflowdatasource->paramType   = 'Type';
$lang->workflowdatasource->paramValue  = 'Value';
$lang->workflowdatasource->sql         = 'SQL';

$lang->workflowdatasource->default = new stdclass();
$lang->workflowdatasource->default->options['user']        = 'System User';
$lang->workflowdatasource->default->options['dept']        = 'Department';
$lang->workflowdatasource->default->options['deptManager'] = 'Dept Manager';
$lang->workflowdatasource->default->options['today']       = 'Operated Date';
$lang->workflowdatasource->default->options['now']         = 'Operated Time';
$lang->workflowdatasource->default->options['actor']       = 'Operated User';
$lang->workflowdatasource->default->options['form']        = 'Form Data';
$lang->workflowdatasource->default->options['record']      = 'Record Data';
$lang->workflowdatasource->default->options['custom']      = 'Custom';

$lang->workflowdatasource->typeList['system'] = 'System Function';
$lang->workflowdatasource->typeList['sql']    = 'SQL';
//$lang->workflowdatasource->typeList['func']   = 'Function';
$lang->workflowdatasource->typeList['option'] = 'Option';
$lang->workflowdatasource->typeList['lang']   = 'Language';

$lang->workflowdatasource->langList['productStatus']  = 'Product Status';
$lang->workflowdatasource->langList['customerType']   = 'Customer Type';
$lang->workflowdatasource->langList['customerSize']   = 'Customer Size';
$lang->workflowdatasource->langList['customerLevel']  = 'Customer Level';
$lang->workflowdatasource->langList['customerStatus'] = 'Customer Status';
$lang->workflowdatasource->langList['currency']       = 'Currency';
$lang->workflowdatasource->langList['role']           = 'Role';

$lang->workflowdatasource->placeholder = new stdclass();
$lang->workflowdatasource->placeholder->optionCode = 'It should be letters or numbers.';
$lang->workflowdatasource->placeholder->sql        = 'Use a SQL query. Only the query is allowed. Other SQL operations are prohibited. The query result is key-value pairs. The 1st field of query will be the key of result and the 2nd one be the value, other fields will be ignored. If there is only one field it will be the key and the value.';

$lang->workflowdatasource->error = new stdclass();;
$lang->workflowdatasource->error->emptyOptions = 'Empty Key and Value.';
