<?php
$lang->dataset->id             = 'ID';
$lang->dataset->name           = 'Name';
$lang->dataset->desc           = 'Description';
$lang->dataset->data           = 'Data';
$lang->dataset->schema         = 'Schema';
$lang->dataset->fieldName      = 'Field Name';
$lang->dataset->fieldType      = 'Field Type';
$lang->dataset->create         = 'Create dataset';
$lang->dataset->browse         = 'Browse dataset';
$lang->dataset->edit           = 'Edit dataset';
$lang->dataset->view           = 'View dataset';
$lang->dataset->delete         = 'Delete dataset';
$lang->dataset->sql            = 'SQL Query';
$lang->dataset->sqlPlaceholder = 'A SQL query can only do query, and other SQL is forbidden.';
$lang->dataset->query          = 'Query';
$lang->dataset->onlyOne        = 'Only allow one query';
$lang->dataset->empty          = 'Please enter a query statement';
$lang->dataset->allowSelect    = 'Only SELECT is allowed';
$lang->dataset->noStar         = "For performance, 'SELECT *' is not allowed";
$lang->dataset->fieldSettings  = "Field Settings";
$lang->dataset->varSettings    = "Var Settings";
$lang->dataset->result         = "Query Result";
$lang->dataset->chart          = "Chart";
$lang->dataset->table          = "Table";
$lang->dataset->save           = "Save";
$lang->dataset->field          = "Field";
$lang->dataset->varError       = "Format of var is error";
$lang->dataset->time           = "Time";
$lang->dataset->confirmDelete  = 'Do you want to delete this dataset?';

$lang->dataset->objects = array();
$lang->dataset->objects['program']     = $lang->program->common;
$lang->dataset->objects['line']        = $lang->productCommon . 'line';
$lang->dataset->objects['product']     = $lang->product->common;
$lang->dataset->objects['module']      = 'module';
$lang->dataset->objects['story']       = $lang->story->common;
$lang->dataset->objects['build']       = $lang->build->common;
$lang->dataset->objects['productplan'] = 'plan';
$lang->dataset->objects['release']     = $lang->release->common;
$lang->dataset->objects['bug']         = $lang->bug->common;
$lang->dataset->objects['project']     = $lang->project->common;
$lang->dataset->objects['task']        = $lang->task->common;
$lang->dataset->objects['team']        = 'team';
$lang->dataset->objects['execution']   = $lang->execution->common;
$lang->dataset->objects['user']        = $lang->user->common;
$lang->dataset->objects['testtask']    = 'testtask';
$lang->dataset->objects['testrun']     = 'testrun';
$lang->dataset->objects['testcase']    = 'testcase';
$lang->dataset->objects['testresult']  = 'result';
$lang->dataset->objects['caselib']     = 'case lib';
$lang->dataset->objects['casemodule']  = 'case module';

$lang->dataset->tables = array();
$lang->dataset->tables['build']       = array('name' => 'Build', 'desc' => '');
$lang->dataset->tables['product']     = array('name' => $lang->projectCommon, 'desc' => '');
$lang->dataset->tables['productplan'] = array('name' => $lang->projectCommon . 'Plan', 'desc' => '');
$lang->dataset->tables['release']     = array('name' => 'Release', 'desc' => '');
$lang->dataset->tables['project']     = array('name' => $lang->projectCommon, 'desc' => '');
$lang->dataset->tables['execution']   = array('name' => 'Execution',  'desc' => '');
$lang->dataset->tables['task']        = array('name' => 'Task',  'desc' => '');
//$lang->dataset->tables['team']        = array('name' => 'Team',  'desc' => '');
$lang->dataset->tables['bug']         = array('name' => 'Bug', 'desc' => 'pri, severity,' . $lang->projectCommon .', ' . $lang->productCommon . '...');
$lang->dataset->tables['bugbuild']    = array('name' => 'Build Bug', 'desc' => 'pri, severity,' . $lang->projectCommon . ', build...');
$lang->dataset->tables['story']       = array('name' => 'Story', 'desc' => '');
$lang->dataset->tables['testcase']    = array('name' => 'Testcase', 'desc' => '');
$lang->dataset->tables['casestep']    = array('name' => 'Testcase step', 'desc' => '');
$lang->dataset->tables['testtask']    = array('name' => 'Testtask', 'desc' => '');
$lang->dataset->tables['testrun']     = array('name' => 'Test run', 'desc' => '');
$lang->dataset->tables['testresult']  = array('name' => 'Test result', 'desc' => '');

$lang->dataset->typeList = array();
$lang->dataset->typeList['table'] = 'Data table';
$lang->dataset->typeList['view']  = 'Intermediate table';

$lang->dataset->featureBar['browse']['internal'] = 'Internal';
$lang->dataset->featureBar['browse']['custom']   = 'Custom';

$lang->dataset->fieldTypeList = array();
$lang->dataset->fieldTypeList['number']   = 'Number';
$lang->dataset->fieldTypeList['option']   = 'Option';
$lang->dataset->fieldTypeList['string']   = 'String';
$lang->dataset->fieldTypeList['text']     = 'Text';
$lang->dataset->fieldTypeList['user']     = 'User';
$lang->dataset->fieldTypeList['object']   = 'Object';
$lang->dataset->fieldTypeList['date']     = 'Date';
$lang->dataset->fieldTypeList['datetime'] = 'Datetime';
$lang->dataset->fieldTypeList['json']     = 'JSON';
