From 3156cfbd0913e8d4fbae24f08046c322e4f0ad69 Mon Sep 17 00:00:00 2001 From: hufangzhou Date: Mon, 23 Dec 2024 09:32:48 +0800 Subject: [PATCH] * [bug#58481,done,0.2h] Object not initialized. --- extension/lite/common/ext/lang/de/lite.php | 2 +- extension/lite/common/ext/lang/en/lite.php | 2 +- extension/lite/common/ext/lang/fr/lite.php | 2 +- extension/lite/common/ext/lang/zh-cn/lite.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/extension/lite/common/ext/lang/de/lite.php b/extension/lite/common/ext/lang/de/lite.php index affe62e813..6d87004e1c 100644 --- a/extension/lite/common/ext/lang/de/lite.php +++ b/extension/lite/common/ext/lang/de/lite.php @@ -193,7 +193,7 @@ unset($lang->createIcons['testcase']); unset($lang->createIcons['product']); unset($lang->createIcons['program']); -unset($lang->workflow->menu->flowgroup); +if($config->edition != 'open') unset($lang->workflow->menu->flowgroup); $lang->createObjects['story'] = 'Story'; $lang->createObjects['task'] = 'Task'; diff --git a/extension/lite/common/ext/lang/en/lite.php b/extension/lite/common/ext/lang/en/lite.php index affe62e813..6d87004e1c 100644 --- a/extension/lite/common/ext/lang/en/lite.php +++ b/extension/lite/common/ext/lang/en/lite.php @@ -193,7 +193,7 @@ unset($lang->createIcons['testcase']); unset($lang->createIcons['product']); unset($lang->createIcons['program']); -unset($lang->workflow->menu->flowgroup); +if($config->edition != 'open') unset($lang->workflow->menu->flowgroup); $lang->createObjects['story'] = 'Story'; $lang->createObjects['task'] = 'Task'; diff --git a/extension/lite/common/ext/lang/fr/lite.php b/extension/lite/common/ext/lang/fr/lite.php index affe62e813..6d87004e1c 100644 --- a/extension/lite/common/ext/lang/fr/lite.php +++ b/extension/lite/common/ext/lang/fr/lite.php @@ -193,7 +193,7 @@ unset($lang->createIcons['testcase']); unset($lang->createIcons['product']); unset($lang->createIcons['program']); -unset($lang->workflow->menu->flowgroup); +if($config->edition != 'open') unset($lang->workflow->menu->flowgroup); $lang->createObjects['story'] = 'Story'; $lang->createObjects['task'] = 'Task'; diff --git a/extension/lite/common/ext/lang/zh-cn/lite.php b/extension/lite/common/ext/lang/zh-cn/lite.php index d69e3356b8..5ebf4f22c5 100644 --- a/extension/lite/common/ext/lang/zh-cn/lite.php +++ b/extension/lite/common/ext/lang/zh-cn/lite.php @@ -193,7 +193,7 @@ unset($lang->createIcons['testcase']); unset($lang->createIcons['product']); unset($lang->createIcons['program']); -unset($lang->workflow->menu->flowgroup); +if($config->edition != 'open') unset($lang->workflow->menu->flowgroup); $lang->createObjects['story'] = '目标'; $lang->createObjects['task'] = '任务';