<?php
global $app, $lang;

$lang->perfproject->common        = 'X analysis';
$lang->perfproject->create        = 'Start project';
$lang->perfproject->edit          = 'Edit project';
$lang->perfproject->delete        = 'Delete';
$lang->perfproject->rename        = 'Rename project';
$lang->perfproject->empty         = 'No project';
$lang->perfproject->id            = 'ID';
$lang->perfproject->name          = 'Name';
$lang->perfproject->source        = 'Datasource';
$lang->perfproject->table         = 'Select table';
$lang->perfproject->desc          = 'Desc';
$lang->perfproject->createdBy     = 'Created by';
$lang->perfproject->createdDate   = 'Created date';
$lang->perfproject->createProject = 'New project';
$lang->perfproject->needProject   = 'Need project name';
$lang->perfproject->needName      = 'Need project name';
$lang->perfproject->needSource    = 'Please select source';
$lang->perfproject->readError     = 'Table error';
$lang->perfproject->rowLimitError = 'The number of rows in the table must be less than 30000';
$lang->perfproject->bylist        = 'List';
$lang->perfproject->bycard        = 'Card';
$lang->perfproject->all           = 'All';
$lang->perfproject->createdByMe   = 'Created By Me';
$lang->perfproject->browse        = 'Analysis project list';
$lang->perfproject->copySuccess   = 'Copy success';
$lang->perfproject->createTitle   = 'Please select the data to be analyzed.';
$lang->perfproject->selectData    = 'Select data';
$lang->perfproject->selectTable   = 'Select List';
$lang->perfproject->list          = ' List';
$lang->perfproject->dataAnalysis  = ' data analysis';
$lang->perfproject->emptyAnalysis = 'empty table analysis';
$lang->perfproject->history       = 'History';
$lang->perfproject->selectFile    = 'Select file';
$lang->perfproject->emptyError    = 'Not empty';
$lang->perfproject->lengthError   = "『%s』length should be <=『%d』";

$lang->perfproject->teamDesc = 'Total of %s people';
$lang->perfproject->allDesc  = 'All';

$lang->perfproject->data        = 'Dataframe';
$lang->perfproject->managepriv  = 'Authority management';

$lang->perfproject->acl                = 'Permission';
$lang->perfproject->aclList['private'] = 'Private';
$lang->perfproject->aclList['open']    = 'Open';

$lang->perfproject->datatype['excel'] = 'Excel';
$lang->perfproject->datatype['view']  = 'MySQL';

/* 权限 */
$lang->perfproject->view         = 'View X analysis';
$lang->perfproject->createAction = 'Create analysis project';
$lang->perfproject->editAction   = 'Edit analysis project';
$lang->perfproject->deleteAction = 'Delete analysis project';

$lang->perfproject->analysis    = new stdClass();
$lang->perfproject->analysis->title        = 'Analysis';
$lang->perfproject->analysis->rename       = 'Rename';
$lang->perfproject->analysis->delete       = 'Delete';
$lang->perfproject->analysis->expand       = 'Expand';
$lang->perfproject->analysis->reduce       = 'Reduce';
$lang->perfproject->analysis->refresh      = 'Refresh';
$lang->perfproject->analysis->setting      = 'Setting';
$lang->perfproject->analysis->renameMethod = 'Rename';
$lang->perfproject->analysis->copy         = 'Copy';
$lang->perfproject->analysis->export       = 'Export';
$lang->perfproject->analysis->deleteMethod = 'Delete';

$lang->perfproject->notes = new stdClass();
$lang->perfproject->notes->title         = 'notes';
$lang->perfproject->notes->placeholder   = 'Enter notes here...';
$lang->perfproject->notes->deleteConfirm = 'Do you want to delete this note?';
$lang->perfproject->notes->empty         = 'No notes.';
$lang->perfproject->notes->history       = 'Default display of the last 12 uploaded files.';
$lang->perfproject->notes->file          = 'Please select files of type xlsx, no more than %s.';
$lang->perfproject->notes->emptyTable    = 'The system will create an empty analysis project, and after entering the project, you can continue to add analysis data.';
$lang->perfproject->notes->upload        = 'Selecting historical files will clear uploaded files. Do you want to continue?';
$lang->perfproject->notes->emptyProject  = 'There are currently no analysis projects available.';
$lang->perfproject->notes->copyFailed    = 'Copy failed, please try again.';

$lang->perfproject->tips = new stdClass();
$lang->perfproject->tips->selectTable = 'To ensure the effectiveness of data analysis, the system only retains data for fields such as name, value, date, and option.';
$lang->perfproject->tips->noProduct   = 'No product, please create first';
$lang->perfproject->tips->noProject   = 'No project, please create first';
$lang->perfproject->tips->noTask      = 'No task, please create first';
$lang->perfproject->tips->fileType    = 'Only supports excel files';

$lang->perfproject->featureBar = array();
$lang->perfproject->featureBar['all']         = 'All';
$lang->perfproject->featureBar['createdByMe'] = 'Created by me';

$lang->perfproject->featureBar['browse']['all']         = 'All';
$lang->perfproject->featureBar['browse']['createdbyme'] = 'Created by me';

$lang->perfproject->confirmDelete = 'Are you sure you want to delete it?';

$lang->perfproject->randomMethod = array();
$lang->perfproject->randomMethod['normal'] = 'Normal';

$lang->perfproject->calculateMethod = array();
$lang->perfproject->calculateMethod['rank']       = 'Rank';
$lang->perfproject->calculateMethod['log']        = 'Ln';
$lang->perfproject->calculateMethod['reciprocal'] = 'Reciprocal';
$lang->perfproject->calculateMethod['square']     = 'Square';

$lang->perfproject->method = array();
$lang->perfproject->method['normal']     = 'Normal';
$lang->perfproject->method['rank']       = 'Rank';
$lang->perfproject->method['log']        = 'Ln';
$lang->perfproject->method['reciprocal'] = 'Reciprocal';
$lang->perfproject->method['square']     = 'Square';

$lang->perfproject->simulate = array();
// TODO
// $lang->perfproject->simulate['template']         = array();
// $lang->perfproject->simulate['template']['name'] = 'Template data';
// $lang->perfproject->simulate['template']['data'] = array();

$lang->perfproject->simulate['random']         = array();
$lang->perfproject->simulate['random']['name'] = 'Random data';
$lang->perfproject->simulate['random']['data'] = $lang->perfproject->randomMethod;
$lang->perfproject->simulate['calculate']         = array();
$lang->perfproject->simulate['calculate']['name'] = 'Calculate data';
$lang->perfproject->simulate['calculate']['data'] = $lang->perfproject->calculateMethod;

$lang->perfproject->tableList = array();
$lang->perfproject->tableList['story']          = $lang->SRCommon;
$lang->perfproject->tableList['task']           = $lang->task->common;
$lang->perfproject->tableList['bug']            = $lang->bug->common;
$lang->perfproject->tableList['productStory']   = $lang->productCommon . ' ' . $lang->SRCommon;
$lang->perfproject->tableList['projectStory']   = $lang->projectCommon . ' ' . $lang->SRCommon;
$lang->perfproject->tableList['executionStory'] = $lang->execution->common . ' ' . $lang->SRCommon;
$lang->perfproject->tableList['planStory']      = $lang->productplan->shortCommon . ' ' . $lang->SRCommon;
$lang->perfproject->tableList['productBug']     = 'Product bug';
$lang->perfproject->tableList['planBug']        = 'Plan bug';
$lang->perfproject->tableList['execution']      = $lang->execution->common;

$app->loadLang('perfdatasource');
$lang->perfproject->dataTypeList['select'] = $lang->perfdatasource->select;
$lang->perfproject->dataTypeList['upload'] = $lang->perfdatasource->file;
$lang->perfproject->dataTypeList['empty']  = $lang->perfdatasource->emptyTable;
