<?php
global $app, $lang;

$lang->perfproject->common        = 'X分析';
$lang->perfproject->create        = '開始分析';
$lang->perfproject->edit          = '編輯';
$lang->perfproject->delete        = '刪除';
$lang->perfproject->rename        = '重命名';
$lang->perfproject->empty         = '暫時沒有項目';
$lang->perfproject->id            = 'ID';
$lang->perfproject->name          = '項目名稱';
$lang->perfproject->source        = '數據源';
$lang->perfproject->table         = '選擇表格';
$lang->perfproject->desc          = '描述';
$lang->perfproject->createdBy     = '創建者';
$lang->perfproject->createdDate   = '創建時間';
$lang->perfproject->createProject = '新建項目';
$lang->perfproject->needProject   = '請填寫項目名稱';
$lang->perfproject->needName      = '請填寫項目名稱';
$lang->perfproject->needSource    = '請選擇數據源';
$lang->perfproject->readError     = '表格數據為空或數據錯誤';
$lang->perfproject->rowLimitError = '表格數據行數需小於30000條';
$lang->perfproject->bylist        = '列表';
$lang->perfproject->bycard        = '卡片';
$lang->perfproject->all           = '所有的';
$lang->perfproject->createdByMe   = '我創建';
$lang->perfproject->browse        = '分析項目列表';
$lang->perfproject->copySuccess   = '複製成功';
$lang->perfproject->createTitle   = '請選擇需要分析的數據';
$lang->perfproject->selectData    = '選擇數據';
$lang->perfproject->selectTable   = '選擇列表';
$lang->perfproject->list          = '列表';
$lang->perfproject->dataAnalysis  = '數據分析';
$lang->perfproject->emptyAnalysis = '空表分析';
$lang->perfproject->history       = '歷史記錄';
$lang->perfproject->selectFile    = '選擇檔案';
$lang->perfproject->emptyError    = '不能為空';
$lang->perfproject->lengthError   = "『%s』長度應當不超過『%d』";

$lang->perfproject->teamDesc = '共%s人';
$lang->perfproject->allDesc  = '所有';

$lang->perfproject->data        = '數據';
$lang->perfproject->managepriv  = '修改項目權限';

$lang->perfproject->acl                = '權限控制';
$lang->perfproject->aclList['private'] = '私有';
$lang->perfproject->aclList['open']    = '公開';

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

/* 權限 */
$lang->perfproject->view         = '查看X分析';
$lang->perfproject->createAction = '創建分析項目';
$lang->perfproject->editAction   = '編輯分析項目';
$lang->perfproject->deleteAction = '刪除分析項目';

$lang->perfproject->analysis    = new stdClass();
$lang->perfproject->analysis->title        = '分析';
$lang->perfproject->analysis->rename       = '重命名';
$lang->perfproject->analysis->delete       = '刪除';
$lang->perfproject->analysis->expand       = '展開';
$lang->perfproject->analysis->reduce       = '收起';
$lang->perfproject->analysis->refresh      = '更新';
$lang->perfproject->analysis->setting      = '參數設置';
$lang->perfproject->analysis->renameMethod = '重命名';
$lang->perfproject->analysis->copy         = '複製';
$lang->perfproject->analysis->export       = '導出';
$lang->perfproject->analysis->deleteMethod = '刪除';

$lang->perfproject->notes = new stdClass();
$lang->perfproject->notes->title         = '註釋';
$lang->perfproject->notes->placeholder   = '在此輸入註釋...';
$lang->perfproject->notes->deleteConfirm = '您確定要刪除嗎？';
$lang->perfproject->notes->empty         = '暫時沒有註釋';
$lang->perfproject->notes->history       = '預設展示近12個上傳的檔案';
$lang->perfproject->notes->file          = '請選擇xlsx類型的檔案, 不超過 %s';
$lang->perfproject->notes->emptyTable    = '系統會創建一個空的分析項目, 進入項目後您可以繼續添加分析數據';
$lang->perfproject->notes->upload        = '選擇歷史檔案將清除已上傳的檔案, 是否繼續?';
$lang->perfproject->notes->emptyProject  = '暫時沒有分析項目';
$lang->perfproject->notes->copyFailed    = '複製失敗，請重試';

$lang->perfproject->tips = new stdClass();
$lang->perfproject->tips->selectTable = '為確保數據分析的有效性，系統僅保留名稱、數值、日期和選項類欄位數據';
$lang->perfproject->tips->noProduct   = '暫時沒有產品，請先創建';
$lang->perfproject->tips->noProject   = '暫時沒有項目，請先創建';
$lang->perfproject->tips->noTask      = '暫時沒有任務，請先創建';
$lang->perfproject->tips->fileType    = '僅支持xlsx格式的 Excel 檔案';

$lang->perfproject->featureBar = array();
$lang->perfproject->featureBar['all']         = '所有';
$lang->perfproject->featureBar['createdByMe'] = '由我創建';

$lang->perfproject->featureBar['browse']['all']         = '所有';
$lang->perfproject->featureBar['browse']['createdbyme'] = '我創建';

$lang->perfproject->confirmDelete = '您確定要刪除嗎？';

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

$lang->perfproject->calculateMethod = array();
$lang->perfproject->calculateMethod['rank']       = '排秩';
$lang->perfproject->calculateMethod['log']        = '自然對數';
$lang->perfproject->calculateMethod['reciprocal'] = '倒數';
$lang->perfproject->calculateMethod['square']     = '平方';

$lang->perfproject->method = array();
$lang->perfproject->method['normal']     = '正態';
$lang->perfproject->method['rank']       = '排秩';
$lang->perfproject->method['log']        = '自然對數';
$lang->perfproject->method['reciprocal'] = '倒數';
$lang->perfproject->method['square']     = '平方';

$lang->perfproject->simulate = array();
// TODO
// $lang->perfproject->simulate['template']         = array();
// $lang->perfproject->simulate['template']['name'] = '模板數據';
// $lang->perfproject->simulate['template']['data'] = array();

$lang->perfproject->simulate['random']         = array();
$lang->perfproject->simulate['random']['name'] = '隨機數據';
$lang->perfproject->simulate['random']['data'] = $lang->perfproject->randomMethod;
$lang->perfproject->simulate['calculate']         = array();
$lang->perfproject->simulate['calculate']['name'] = '計算數據';
$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']     = '產品Bug';
$lang->perfproject->tableList['planBug']        = '計劃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;
