* Fix bug #12405.
This commit is contained in:
@@ -69,6 +69,14 @@ class executionModel extends model
|
||||
/* Unset story, bug, build and testtask if type is ops. */
|
||||
$execution = $this->getByID($executionID);
|
||||
|
||||
if($execution->type == 'stage')
|
||||
{
|
||||
global $lang;
|
||||
$this->loadModel('execution');
|
||||
$lang->executionCommon = $lang->project->stage;
|
||||
include $this->app->getModulePath('execution') . 'lang/' . $this->app->getClientLang() . '.php';
|
||||
}
|
||||
|
||||
if($execution and $execution->lifetime == 'ops')
|
||||
{
|
||||
unset($this->lang->execution->menu->story);
|
||||
|
||||
@@ -3,6 +3,7 @@ $lang->repo->common = 'Repo';
|
||||
$lang->repo->browse = 'View';
|
||||
$lang->repo->viewRevision = 'View Revision';
|
||||
$lang->repo->product = 'Product';
|
||||
$lang->repo->execution = $lang->execution->common;
|
||||
$lang->repo->create = 'Create';
|
||||
$lang->repo->createAction = 'Create Repo';
|
||||
$lang->repo->maintain = 'Repo List';
|
||||
|
||||
@@ -3,6 +3,7 @@ $lang->repo->common = 'Repo';
|
||||
$lang->repo->browse = 'View';
|
||||
$lang->repo->viewRevision = 'View Revision';
|
||||
$lang->repo->product = 'Product';
|
||||
$lang->repo->execution = $lang->execution->common;
|
||||
$lang->repo->create = 'Create';
|
||||
$lang->repo->maintain = 'Repo List';
|
||||
$lang->repo->edit = 'Edit';
|
||||
|
||||
@@ -3,6 +3,7 @@ $lang->repo->common = 'Référentiel';
|
||||
$lang->repo->browse = 'Aff';
|
||||
$lang->repo->viewRevision = 'Aff Modifs';
|
||||
$lang->repo->product = 'Product';
|
||||
$lang->repo->execution = $lang->execution->common;
|
||||
$lang->repo->create = 'Créer';
|
||||
$lang->repo->createAction = 'Créer Ref';
|
||||
$lang->repo->maintain = 'Liste Ref';
|
||||
|
||||
@@ -3,6 +3,7 @@ $lang->repo->common = 'Repo';
|
||||
$lang->repo->browse = 'Xem';
|
||||
$lang->repo->viewRevision = 'Xem Revision';
|
||||
$lang->repo->product = 'Product';
|
||||
$lang->repo->execution = $lang->execution->common;
|
||||
$lang->repo->create = 'Tạo';
|
||||
$lang->repo->createAction = 'Tạo Repo';
|
||||
$lang->repo->maintain = 'Repo danh sách';
|
||||
|
||||
@@ -3,7 +3,7 @@ $lang->repo->common = '代码';
|
||||
$lang->repo->browse = '浏览';
|
||||
$lang->repo->viewRevision = '查看修订';
|
||||
$lang->repo->product = '所属产品';
|
||||
$lang->repo->execution = '所属' . $lang->executionCommon;
|
||||
$lang->repo->execution = '所属' . $lang->execution->common;
|
||||
$lang->repo->create = '创建';
|
||||
$lang->repo->maintain = '版本库列表';
|
||||
$lang->repo->edit = '编辑';
|
||||
|
||||
Reference in New Issue
Block a user