<?php
$lang->montecarlo->addVar        = 'Add variable';
$lang->montecarlo->addForecast   = 'Add forecast';
$lang->montecarlo->addTarget     = 'Target';
$lang->montecarlo->addRequest    = 'Request';
$lang->montecarlo->targetTip     = 'Add target';
$lang->montecarlo->requestTip    = 'Add request';
$lang->montecarlo->addDecision   = 'Add decision';
$lang->montecarlo->var           = 'Define variable';
$lang->montecarlo->varName       = 'Assume variable';
$lang->montecarlo->planName      = 'Scenario name';
$lang->montecarlo->distribution  = 'Obey a distribution or value';
$lang->montecarlo->forecast      = 'Define forecast';
$lang->montecarlo->forecastName  = 'Forecast name';
$lang->montecarlo->formula       = 'Formula';
$lang->montecarlo->runNumber     = 'Run number';
$lang->montecarlo->export        = 'Export forecast';
$lang->montecarlo->distTip       = 'Please set the distribution';
$lang->montecarlo->decision      = 'Use decision';
$lang->montecarlo->decisionVar   = 'Name of decision';
$lang->montecarlo->decisionValue = 'Value of decision';
$lang->montecarlo->planDefine    = 'Plan';
$lang->montecarlo->statistic     = 'statistic';
$lang->montecarlo->request       = 'Request';
$lang->montecarlo->forecastVar   = 'Forecast variable';
$lang->montecarlo->value         = 'Value';
$lang->montecarlo->let           = 'Let';
$lang->montecarlo->andSingle     = 'And';
$lang->montecarlo->sensitivity   = 'Sensitivity analysis';
$lang->montecarlo->displayPlans  = 'All plan simulate';
$lang->montecarlo->importInfo    = 'Import information';

$lang->montecarlo->importTemplate = 'Monte Carlo import template';
$lang->montecarlo->dataError      = 'Data format error, please re-download the template and fill i.';
$lang->montecarlo->numberError    = 'Cell %s needs to be a number.';

$lang->montecarlo->formulaTip  = 'Please enter the existing variable code for calculation, such as a*(b-c)+if(x1=1,1,0)+max(a,b).';
$lang->montecarlo->decisionTip = 'Please fill in the natural numbers separated by commas, such as 1,2,3';

$lang->montecarlo->importTipPrefix = 'Please';
$lang->montecarlo->importTipLink   = 'download information import template';
$lang->montecarlo->importTipSuffix = 'fill in the data;As a result of import failure, please do not modify the table header.';

$lang->montecarlo->condition        = 'Condition';
$lang->montecarlo->conditionFormula = 'Condition';

$lang->montecarlo->hypo      = 'Assume';
$lang->montecarlo->hypoVar   = 'Variable';
$lang->montecarlo->value     = 'Value';
$lang->montecarlo->if        = 'If';
$lang->montecarlo->and       = 'And';
$lang->montecarlo->then      = 'Then';
$lang->montecarlo->otherwise = 'Other';

$lang->montecarlo->conditionCheck = array();
$lang->montecarlo->conditionCheck['value']     = 'Value';
$lang->montecarlo->conditionCheck['then']      = 'Then';
$lang->montecarlo->conditionCheck['otherwise'] = 'Other';

$lang->montecarlo->supportedFormulas = 'The current formula supports max() /min(), if conditional functions, and does not support input [] and {}.';
$lang->montecarlo->decisionHelp      = 'For example, decision variable x1 is a test mode and contains two schemes, namely walk check and sampling check. Then enter 1,2 in the input box.';
$lang->montecarlo->errorLimit        = 'The upper and lower limits do not coincide with the intervals of the distributed data. Reset them.';

$lang->montecarlo->typeList = array();
$lang->montecarlo->typeList['dist']  = 'Distribution';
$lang->montecarlo->typeList['fixed'] = 'Number';

$lang->montecarlo->sensitivityList = array();
$lang->montecarlo->sensitivityList['true']  = 'On';
$lang->montecarlo->sensitivityList['false'] = 'Off';

$lang->montecarlo->displayPlansList = array();
$lang->montecarlo->displayPlansList['true']  = 'show';
$lang->montecarlo->displayPlansList['false'] = 'hide';

$lang->montecarlo->validMsg  = array();
$lang->montecarlo->validMsg['required'] = '[%s] can not be empty';
$lang->montecarlo->validMsg['limit']    = '%s ≤ [%s] ≤ %s';
$lang->montecarlo->validMsg['number']   = '[%s] must be numeric';
$lang->montecarlo->validMsg['integer']  = '[%s] must be a positive integer';
$lang->montecarlo->validMsg['formula']  = '[%s] has error, ' . $lang->montecarlo->formulaTip;
$lang->montecarlo->validMsg['export']   = "[{$lang->montecarlo->export}] select at least one";

$lang->montecarlo->varMsg  = array();
$lang->montecarlo->varMsg['distribution']    = 'Obey a distribution or value';
$lang->montecarlo->varMsg['decisionVar']     = $lang->montecarlo->decisionValue;
$lang->montecarlo->varMsg['formula']         = 'Formula';
$lang->montecarlo->varMsg['exportForecasts'] = 'Export forecast';
$lang->montecarlo->varMsg['runNumber']       = 'Run number';
$lang->montecarlo->varMsg['reqValue']        = 'Value';

$lang->montecarlo->dists = array();

$lang->montecarlo->dists['normal']                   = new stdclass();
$lang->montecarlo->dists['normal']->title            = 'Normal dist';
$lang->montecarlo->dists['normal']->image            = 'normal.png';
$lang->montecarlo->dists['normal']->form             = array();
$lang->montecarlo->dists['normal']->form['mu']       = 'μ';
$lang->montecarlo->dists['normal']->form['sigma']    = 'σ';
$lang->montecarlo->dists['normal']->form['lowLimit'] = 'LL';
$lang->montecarlo->dists['normal']->form['upLimit']  = 'UL';
$lang->montecarlo->dists['normal']->describe         = "<p> Description: </p><p> Normal distribution, also known as normal distribution, is a kind of probability distribution of continuous random variables. A large number of phenomena in nature, human society, psychology and education are distributed in normal form, such as the level of ability and the quality of students' grades, etc., belong to normal distribution. It has different distribution patterns with the mean and standard deviation of random variables. </p>";

$lang->montecarlo->dists['triangular']                = new stdclass();
$lang->montecarlo->dists['triangular']->title         = 'Triangular dist';
$lang->montecarlo->dists['triangular']->image         = 'triangular.png';
$lang->montecarlo->dists['triangular']->form          = array();
$lang->montecarlo->dists['triangular']->form['left']  = 'LL';
$lang->montecarlo->dists['triangular']->form['mode']  = 'Mode';
$lang->montecarlo->dists['triangular']->form['right'] = 'UL';
$lang->montecarlo->dists['triangular']->describe      = "<p> Description: </p><p>Triangular distribution is usually used to express the population information with only priority sampling data, especially when the relationship between variables is known but the sampling data is lacking due to the high cost of data collection. This is usually based on the known minimum and maximum values to deduce reasonable common values.</p>";

$lang->montecarlo->distOrValues = array();
$lang->montecarlo->distOrValues['normal']     = 'Normal dist';
$lang->montecarlo->distOrValues['triangular'] = 'Triangular dist';
$lang->montecarlo->distOrValues['value']      = 'Value';

$lang->montecarlo->target = 'Target';

$lang->montecarlo->decisionList = array();
$lang->montecarlo->decisionList['false'] = 'False';
$lang->montecarlo->decisionList['true']  = 'True';

$lang->montecarlo->targetList = array();
$lang->montecarlo->targetList['max'] = 'Max';
$lang->montecarlo->targetList['min'] = 'Min';

$lang->montecarlo->statisticList = array();
$lang->montecarlo->statisticList['mean']   = 'Mean';
$lang->montecarlo->statisticList['median'] = 'Middle';
$lang->montecarlo->statisticList['max']    = 'Max';
$lang->montecarlo->statisticList['min']    = 'Min';

$lang->montecarlo->conditionList = array();
$lang->montecarlo->conditionList['gt']  = '>';
$lang->montecarlo->conditionList['lt']  = '<';
$lang->montecarlo->conditionList['gte'] = '>=';
$lang->montecarlo->conditionList['lte'] = '<=';
$lang->montecarlo->conditionList['eq']  = '==';
$lang->montecarlo->conditionList['ne']  = '!=';
