* Finish task #9002.
This commit is contained in:
@@ -199,10 +199,12 @@ class router extends baseRouter
|
||||
$model->model = 'scrum';
|
||||
if($this->session->PRJ) $model = $this->dbh->query('SELECT model FROM' . TABLE_PROJECT . "WHERE id = {$this->session->PRJ}")->fetch();
|
||||
|
||||
$iterationKey = $projectKey;
|
||||
if(isset($model->model) && $model->model == 'waterfall') $projectKey = STAGE_KEY;
|
||||
|
||||
/* Set productCommon, projectCommon and hourCommon. Default english lang. */
|
||||
$lang->productCommon = $this->config->productCommonList[$this->clientLang][PRODUCT_KEY];
|
||||
$lang->iterationCommon = isset($this->config->executionCommonList[$this->clientLang][(int)$iterationKey]) ? $this->config->executionCommonList[$this->clientLang][(int)$iterationKey] : $this->config->executionCommonList['en'][(int)$iterationKey];
|
||||
$lang->executionCommon = isset($this->config->executionCommonList[$this->clientLang][(int)$projectKey]) ? $this->config->executionCommonList[$this->clientLang][(int)$projectKey] : $this->config->executionCommonList['en'][(int)$projectKey];
|
||||
$lang->hourCommon = isset($this->config->hourPointCommonList[$this->clientLang][(int)$hourKey]) ? $this->config->hourPointCommonList[$this->clientLang][(int)$hourKey] : $this->config->hourPointCommonList['en'][(int)$hourKey];
|
||||
|
||||
|
||||
@@ -208,7 +208,7 @@ $lang->user->contactFieldList['slack'] = $lang->user->slack;
|
||||
$lang->user->contactFieldList['whatsapp'] = $lang->user->whatsapp;
|
||||
|
||||
$lang->user->executionTypeList['stage'] = 'Stage';
|
||||
$lang->user->executionTypeList['sprint'] = 'Iteration';
|
||||
$lang->user->executionTypeList['sprint'] = $lang->iterationCommon;
|
||||
|
||||
$lang->user->contacts = new stdclass();
|
||||
$lang->user->contacts->common = 'Kontakt';
|
||||
|
||||
@@ -208,7 +208,7 @@ $lang->user->contactFieldList['slack'] = $lang->user->slack;
|
||||
$lang->user->contactFieldList['whatsapp'] = $lang->user->whatsapp;
|
||||
|
||||
$lang->user->executionTypeList['stage'] = 'Stage';
|
||||
$lang->user->executionTypeList['sprint'] = 'Iteration';
|
||||
$lang->user->executionTypeList['sprint'] = $lang->iterationCommon;
|
||||
|
||||
$lang->user->contacts = new stdclass();
|
||||
$lang->user->contacts->common = 'Contacts';
|
||||
|
||||
@@ -208,7 +208,7 @@ $lang->user->contactFieldList['slack'] = $lang->user->slack;
|
||||
$lang->user->contactFieldList['whatsapp'] = $lang->user->whatsapp;
|
||||
|
||||
$lang->user->executionTypeList['stage'] = 'Stage';
|
||||
$lang->user->executionTypeList['sprint'] = 'Iteration';
|
||||
$lang->user->executionTypeList['sprint'] = $lang->iterationCommon;
|
||||
|
||||
$lang->user->contacts = new stdclass();
|
||||
$lang->user->contacts->common = 'Contacts';
|
||||
|
||||
@@ -208,7 +208,7 @@ $lang->user->contactFieldList['slack'] = $lang->user->slack;
|
||||
$lang->user->contactFieldList['whatsapp'] = $lang->user->whatsapp;
|
||||
|
||||
$lang->user->executionTypeList['stage'] = 'Stage';
|
||||
$lang->user->executionTypeList['sprint'] = 'Iteration';
|
||||
$lang->user->executionTypeList['sprint'] = $lang->iterationCommon;
|
||||
|
||||
$lang->user->contacts = new stdclass();
|
||||
$lang->user->contacts->common = 'Liên lạc';
|
||||
|
||||
@@ -211,7 +211,7 @@ $lang->user->contactFieldList['slack'] = $lang->user->slack;
|
||||
$lang->user->contactFieldList['whatsapp'] = $lang->user->whatsapp;
|
||||
|
||||
$lang->user->executionTypeList['stage'] = '阶段';
|
||||
$lang->user->executionTypeList['sprint'] = '迭代';
|
||||
$lang->user->executionTypeList['sprint'] = $lang->iterationCommon;
|
||||
|
||||
$lang->user->contacts = new stdclass();
|
||||
$lang->user->contacts->common = '联系人';
|
||||
|
||||
@@ -199,7 +199,7 @@ $lang->user->contactFieldList['slack'] = $lang->user->slack;
|
||||
$lang->user->contactFieldList['whatsapp'] = $lang->user->whatsapp;
|
||||
|
||||
$lang->user->executionTypeList['stage'] = '階段';
|
||||
$lang->user->executionTypeList['sprint'] = '迭代';
|
||||
$lang->user->executionTypeList['sprint'] = $lang->iterationCommon;
|
||||
|
||||
$lang->user->contacts = new stdclass();
|
||||
$lang->user->contacts->common = '聯繫人';
|
||||
|
||||
Reference in New Issue
Block a user