<?php
$lang->sqlbuilder->common        = 'SQL Builder';
$lang->sqlbuilder->create        = 'Build SQL';
$lang->sqlbuilder->browseSQLView = 'Browse SQL View';
$lang->sqlbuilder->createSQLView = 'Create SQL View';
$lang->sqlbuilder->editSQLView   = 'Edit SQL View';
$lang->sqlbuilder->deleteSQLView = 'Delete SQL View';
$lang->sqlbuilder->buildSQL      = 'Build SQL';

$lang->sqlbuilder->from           = 'From';
$lang->sqlbuilder->mainTable      = 'Main Table';
$lang->sqlbuilder->createSQL      = 'Create SQL';
$lang->sqlbuilder->querySQL       = 'Query SQL';
$lang->sqlbuilder->fromTable      = 'From Table';
$lang->sqlbuilder->query          = 'Query';
$lang->sqlbuilder->handle         = 'Handle';
$lang->sqlbuilder->operate        = 'Operate';
$lang->sqlbuilder->condition      = 'Condition';
$lang->sqlbuilder->table          = 'Table';
$lang->sqlbuilder->field          = 'Field';
$lang->sqlbuilder->leftJoin       = 'LEFT JOIN';
$lang->sqlbuilder->on             = 'ON';
$lang->sqlbuilder->equal          = '=';
$lang->sqlbuilder->where          = 'WHERE';
$lang->sqlbuilder->value          = 'Value';
$lang->sqlbuilder->alias          = 'AS';
$lang->sqlbuilder->orderBy        = 'ORDER BY';
$lang->sqlbuilder->orderRule      = 'Order Rule';
$lang->sqlbuilder->groupBy        = 'GROUP BY';
$lang->sqlbuilder->limit          = 'LIMIT';
$lang->sqlbuilder->use            = 'USE';
$lang->sqlbuilder->funcOperate    = 'Func Operate';
$lang->sqlbuilder->computeOperate = 'Compute Operate';
$lang->sqlbuilder->reserve        = 'Reserve';
$lang->sqlbuilder->decimal        = 'Decimal';

$lang->sqlbuilder->orderRuleList['asc']  = 'Ascend';
$lang->sqlbuilder->orderRuleList['desc'] = 'Descend';

$lang->sqlbuilder->funcOperateList['']         = '';
$lang->sqlbuilder->funcOperateList['distinct'] = 'Distinct';
$lang->sqlbuilder->funcOperateList['count']    = 'Count';
$lang->sqlbuilder->funcOperateList['sum']      = 'Sum';
$lang->sqlbuilder->funcOperateList['avg']      = 'Average';

$lang->sqlbuilder->computeOperateList['']  = '';
$lang->sqlbuilder->computeOperateList['+'] = '+';
$lang->sqlbuilder->computeOperateList['-'] = '-';
$lang->sqlbuilder->computeOperateList['*'] = '*';
$lang->sqlbuilder->computeOperateList['/'] = '/';

$lang->sqlbuilder->roundList[0] = '0';
$lang->sqlbuilder->roundList[1] = '1';
$lang->sqlbuilder->roundList[2] = '2';
$lang->sqlbuilder->roundList[3] = '3';
$lang->sqlbuilder->roundList[4] = '4';
$lang->sqlbuilder->roundList[5] = '5';

$lang->sqlbuilder->andOrList['AND'] = 'And';
$lang->sqlbuilder->andOrList['OR']  = 'Or';

$lang->sqlbuilder->conditionOperateList['=']    = '=';
$lang->sqlbuilder->conditionOperateList['!=']   = '!=';
$lang->sqlbuilder->conditionOperateList['>']    = '>';
$lang->sqlbuilder->conditionOperateList['>=']   = '>=';
$lang->sqlbuilder->conditionOperateList['<']    = '<';
$lang->sqlbuilder->conditionOperateList['<=']   = '<=';
$lang->sqlbuilder->conditionOperateList['LIKE'] = 'like';

$lang->sqlview = new stdclass();
$lang->sqlview->common        = 'View';
$lang->sqlview->id            = 'ID';
$lang->sqlview->name          = 'Table Name';
$lang->sqlview->code          = 'Table Code';
$lang->sqlview->desc          = 'Description';
$lang->sqlview->sql           = 'SQL';
$lang->sqlview->createdBy     = 'Created By';
$lang->sqlview->createdDate   = 'Created Date';
$lang->sqlview->editedBy      = 'Edited By';
$lang->sqlview->editedDate    = 'Edited Date';
$lang->sqlview->confirmDelete = 'Confirm Delete?';

$lang->sqlbuilder->tips = new stdclass();
$lang->sqlbuilder->tips->onlyLetter      = 'Letters only. It cannot be changed once it is saved.';
$lang->sqlbuilder->tips->duplicateCode   = 'Please use another code, because the same code exists';
$lang->sqlbuilder->tips->wrongCode       = 'The code should be letters';
$lang->sqlbuilder->tips->createViewFail  = 'Create View Failed';
$lang->sqlbuilder->tips->createSuccess   = 'Create Success';
$lang->sqlbuilder->tips->editSuccess     = 'Edit Success';
