<?php
$lang->perfanalysis->common       = 'Analysis';
$lang->perfanalysis->create       = 'Add Analysis';
$lang->perfanalysis->edit         = 'Edit Analysis';
$lang->perfanalysis->rename       = 'Rename Analysis';
$lang->perfanalysis->name         = 'Analysis Name';
$lang->perfanalysis->method       = 'Analysis method';
$lang->perfanalysis->addMethod    = 'Add method';
$lang->perfanalysis->editMethod   = 'Edit method';
$lang->perfanalysis->editDiagram  = 'Edit diagram';
$lang->perfanalysis->renameMethod = 'Rename method';
$lang->perfanalysis->renameTitle  = 'Rename title';
$lang->perfanalysis->add          = 'Add analysis';
$lang->perfanalysis->addFilter    = 'Add filter';
$lang->perfanalysis->addData      = 'Add data';
$lang->perfanalysis->generateData = 'Simulate data';
$lang->perfanalysis->methodTitle  = 'Title';
$lang->perfanalysis->defaultName  = 'Analysis Report';
$lang->perfanalysis->grid         = 'Grid line';
$lang->perfanalysis->label        = 'Data display';
$lang->perfanalysis->legend       = 'Legend';
$lang->perfanalysis->title        = 'Axis title';
$lang->perfanalysis->cancel       = 'Cancel';
$lang->perfanalysis->addNotes     = 'Add notes';
$lang->perfanalysis->viewNotes    = 'View notes';
$lang->perfanalysis->expand       = 'Expand';
$lang->perfanalysis->reduce       = 'Reduce';
$lang->perfanalysis->editTitle    = 'Edit title';
$lang->perfanalysis->draftSetting = 'In settings,';
$lang->perfanalysis->continue     = 'Continue setting';

$lang->perfanalysis->refreshAll        = 'Update all results';
$lang->perfanalysis->refreshSuccess    = 'Refresh success';
$lang->perfanalysis->refreshFail       = '#%s:『%s』refresh fail, because: %s';
$lang->perfanalysis->refreshAllSuccess = 'All methods are refreshed successfully';
$lang->perfanalysis->noMethod          = 'There is no analysis result';
$lang->perfanalysis->notSupport        = 'Method『%s』refresh is not currently supported';

$lang->perfanalysis->thWidth['default']             = '80';
$lang->perfanalysis->thWidth['graphSummary']        = '70';
$lang->perfanalysis->thWidth['individualValuePlot'] = '80';
$lang->perfanalysis->thWidth['basicStatistic']      = '110';
$lang->perfanalysis->thWidth['IMR']                 = '125';
$lang->perfanalysis->thWidth['XbarR']               = '125';
$lang->perfanalysis->thWidth['XbarS']               = '125';
$lang->perfanalysis->thWidth['C']                   = '105';
$lang->perfanalysis->thWidth['U']                   = '105';
$lang->perfanalysis->thWidth['normalDistribution']  = '130';
$lang->perfanalysis->thWidth['normalTest']          = '125';
$lang->perfanalysis->thWidth['proportion1']         = '115';
$lang->perfanalysis->thWidth['proportion2']         = '155';
$lang->perfanalysis->thWidth['boxPlot']             = '100';
$lang->perfanalysis->thWidth['onesample']           = '130';
$lang->perfanalysis->thWidth['twosample']           = '155';
$lang->perfanalysis->thWidth['oneVariance']         = '155';
$lang->perfanalysis->thWidth['onewayanova']         = '70';
$lang->perfanalysis->thWidth['twoanova']            = '155';
$lang->perfanalysis->thWidth['pairt']               = '160';
$lang->perfanalysis->thWidth['chisquare']           = '110';
$lang->perfanalysis->thWidth['scatterPlot']         = '130';
$lang->perfanalysis->thWidth['correlation']         = '115';
$lang->perfanalysis->thWidth['linearRegression']    = '130';
$lang->perfanalysis->thWidth['multipleRegression']  = '130';
$lang->perfanalysis->thWidth['gompertz']            = '150';
$lang->perfanalysis->thWidth['barPlot']             = '80';
$lang->perfanalysis->thWidth['linePlot']            = '80';
$lang->perfanalysis->thWidth['bubblePlot']          = '80';
$lang->perfanalysis->thWidth['empiricalPlot']       = '90';

$lang->perfanalysis->gridEnum      = array();
$lang->perfanalysis->gridEnum['x'] = 'X axis';
$lang->perfanalysis->gridEnum['y'] = 'Y axis';

$lang->perfanalysis->labelEnum      = array();
$lang->perfanalysis->labelEnum['x'] = 'X axis';
$lang->perfanalysis->labelEnum['y'] = 'Y axis';

$lang->perfanalysis->legendEnum         = array();
$lang->perfanalysis->legendEnum['show'] = 'Show';
$lang->perfanalysis->legendEnum['hide'] = 'Hide';

$lang->perfanalysis->titleEnum         = array();
$lang->perfanalysis->titleEnum['xaxis'] = 'X axis';
$lang->perfanalysis->titleEnum['yaxis'] = 'Y axis';

$lang->perfanalysis->confirmDelete   = 'Are you sure you want to delete it?';
$lang->perfanalysis->deleteMethodTip = 'The analysis method has notes. Are you sure you want to delete it?';
$lang->perfanalysis->createLimitTip  = 'Unable to create more analysis.';

$lang->perfanalysis->methodTypes = array();
$lang->perfanalysis->methodTypes['statistic']  = 'Statistic';
$lang->perfanalysis->methodTypes['hypothesis'] = 'Hypothesis';
$lang->perfanalysis->methodTypes['control']    = 'Control';
$lang->perfanalysis->methodTypes['analysis']   = 'Correlation and Regression';
$lang->perfanalysis->methodTypes['graphic']    = 'Graphic';

$lang->perfanalysis->methodWidth = array();
$lang->perfanalysis->methodWidth['statistic']  = 3;
$lang->perfanalysis->methodWidth['hypothesis'] = 3;
$lang->perfanalysis->methodWidth['control']    = 3;
$lang->perfanalysis->methodWidth['analysis']   = 5;
$lang->perfanalysis->methodWidth['graphic']    = 3;

$lang->perfanalysis->methodValidMsg = array();
$lang->perfanalysis->methodValidMsg['required']      = 'Setting "%s" value is required';
$lang->perfanalysis->methodValidMsg['distinct']      = 'Setting "%s" value must be distinct from setting "%s"';
$lang->perfanalysis->methodValidMsg['stringMatch']   = 'Setting "%s" value is not match the rule';
$lang->perfanalysis->methodValidMsg['numberType']    = 'Setting "%s" value is invalid number type';
$lang->perfanalysis->methodValidMsg['numberRange']   = 'Setting "%s" value is not in range, %s value %s';
$lang->perfanalysis->methodValidMsg['stringLength']  = 'Setting "%s" value length is invalid';
$lang->perfanalysis->methodValidMsg['listLength']    = 'Setting "%s" value count is not in range';
$lang->perfanalysis->methodValidMsg['notEnumOption'] = 'Setting "%s" value in not in options list';
$lang->perfanalysis->methodValidMsg['gtError']       = 'Must be column "%s1" >= column "%s2"';

$lang->perfanalysis->methods = new stdclass();

$lang->perfanalysis->methods->statistic = array();
$lang->perfanalysis->methods->statistic['basicStatistic'] = 'Basic';
$lang->perfanalysis->methods->statistic['graphSummary']   = 'Diagram summary';
$lang->perfanalysis->methods->statistic['montecarlo']     = 'Monte Carlo simulate';
//$lang->perfanalysis->methods->statistic['processGroup']   = 'Process group simulate';
//$lang->perfanalysis->methods->statistic['normalDistribution'] = 'Normal';
//$lang->perfanalysis->methods->statistic['poisson']            = 'Poisson test';

$lang->perfanalysis->methods->hypothesis['normalTest']  = 'Normal test';
$lang->perfanalysis->methods->hypothesis['proportion1'] = '1 proportion';
$lang->perfanalysis->methods->hypothesis['proportion2'] = '2 proportions';
$lang->perfanalysis->methods->hypothesis['onesample']   = 'One-sample t';
$lang->perfanalysis->methods->hypothesis['twosample']   = 'Two-sample t';
$lang->perfanalysis->methods->hypothesis['pairt']       = 'Pair t';
$lang->perfanalysis->methods->hypothesis['twoanova']    = 'Two ANOVA test';
$lang->perfanalysis->methods->hypothesis['eqvariance']  = 'Equi-variance Test';
$lang->perfanalysis->methods->hypothesis['oneVariance'] = 'One varicace Test';
$lang->perfanalysis->methods->hypothesis['onewayanova'] = 'One-Way Anova';
$lang->perfanalysis->methods->hypothesis['chisquare']   = 'Chi-square Test';

$lang->perfanalysis->methods->control['IMR']   = 'I-MR charts';
$lang->perfanalysis->methods->control['XbarR'] = 'Xbar-R charts';
$lang->perfanalysis->methods->control['XbarS'] = 'Xbar-S charts';
$lang->perfanalysis->methods->control['C']     = 'C chart';
$lang->perfanalysis->methods->control['U']     = 'U chart';

$lang->perfanalysis->methods->graphic = array();
$lang->perfanalysis->methods->graphic['barPlot']             = 'Bar';
$lang->perfanalysis->methods->graphic['linePlot']            = 'Line';
$lang->perfanalysis->methods->graphic['piePlot']             = 'Pie';
$lang->perfanalysis->methods->graphic['bubblePlot']          = 'Bubble';
$lang->perfanalysis->methods->graphic['radarPlot']           = 'Radar';
$lang->perfanalysis->methods->graphic['individualValuePlot'] = 'Individual value';
$lang->perfanalysis->methods->graphic['empiricalPlot']       = 'ECDF';
$lang->perfanalysis->methods->graphic['boxPlot']             = 'Box';
$lang->perfanalysis->methods->graphic['scatterPlot']         = 'Scatter';
// $lang->perfanalysis->methods->graphic['boxGroupPlot']        = 'Box(Group)';

$lang->perfanalysis->methods->analysis = array();
$lang->perfanalysis->methods->analysis['correlation']          = 'Correlation';
$lang->perfanalysis->methods->analysis['linearRegression']     = 'Fitting chart';
$lang->perfanalysis->methods->analysis['multipleRegression']   = 'Linear regression';
$lang->perfanalysis->methods->analysis['polynomialRegression'] = 'Polynomial regression';
$lang->perfanalysis->methods->analysis['generalLinearModel']   = 'General linear model';
$lang->perfanalysis->methods->analysis['gompertz']             = 'Gompertz model';

$lang->perfanalysis->methods->exception['monte'] = 'Monte Carlo';

$lang->perfanalysis->exceptionMethod = array('montecarlo' => 'Montecarlo');

$lang->perfanalysis->errors = array();
$lang->perfanalysis->errors['illegal'] = 'Cannot analyse the data';

$lang->perfanalysis->resetMethodSettings = 'Reset method settings';

$lang->perfanalysis->errorTitle = 'Error';
$lang->perfanalysis->dataError  = 'No data is available, please add data for analysis.';
