From e21ba0f6caca77a3cdcfff5259d0f350e412a9ed Mon Sep 17 00:00:00 2001 From: wangyidong Date: Tue, 27 Sep 2022 16:01:18 +0800 Subject: [PATCH] * finish task #70326. --- module/dev/lang/de.php | 3 +++ module/dev/lang/en.php | 3 +++ module/dev/lang/fr.php | 3 +++ module/dev/lang/zh-cn.php | 3 +++ 4 files changed, 12 insertions(+) diff --git a/module/dev/lang/de.php b/module/dev/lang/de.php index 6f06ca4cff..ed164ae857 100644 --- a/module/dev/lang/de.php +++ b/module/dev/lang/de.php @@ -158,6 +158,9 @@ $lang->dev->groupList['api'] = 'API'; $lang->dev->groupList['message'] = 'Message'; $lang->dev->groupList['search'] = 'Search'; +global $config; +if($config->systemMode != 'new') unset($lang->dev->groupList['program']); + $lang->dev->endGroupList['admin'] = 'Admin'; $lang->dev->endGroupList['system'] = 'System'; $lang->dev->endGroupList['other'] = 'Andere'; diff --git a/module/dev/lang/en.php b/module/dev/lang/en.php index 92957df1d7..8a14448e96 100644 --- a/module/dev/lang/en.php +++ b/module/dev/lang/en.php @@ -158,6 +158,9 @@ $lang->dev->groupList['api'] = 'API'; $lang->dev->groupList['message'] = 'Message'; $lang->dev->groupList['search'] = 'Search'; +global $config; +if($config->systemMode != 'new') unset($lang->dev->groupList['program']); + $lang->dev->endGroupList['admin'] = 'Admin'; $lang->dev->endGroupList['system'] = 'System'; $lang->dev->endGroupList['other'] = 'Others'; diff --git a/module/dev/lang/fr.php b/module/dev/lang/fr.php index 4b3d217e93..5779da098a 100644 --- a/module/dev/lang/fr.php +++ b/module/dev/lang/fr.php @@ -158,6 +158,9 @@ $lang->dev->groupList['api'] = 'API'; $lang->dev->groupList['message'] = 'Message'; $lang->dev->groupList['search'] = 'Search'; +global $config; +if($config->systemMode != 'new') unset($lang->dev->groupList['program']); + $lang->dev->endGroupList['admin'] = 'Admin'; $lang->dev->endGroupList['system'] = 'Syst?me'; $lang->dev->endGroupList['other'] = 'Autres'; diff --git a/module/dev/lang/zh-cn.php b/module/dev/lang/zh-cn.php index 86fce01359..3abace2c9d 100644 --- a/module/dev/lang/zh-cn.php +++ b/module/dev/lang/zh-cn.php @@ -158,6 +158,9 @@ $lang->dev->groupList['api'] = 'API'; $lang->dev->groupList['message'] = '消息'; $lang->dev->groupList['search'] = '搜索'; +global $config; +if($config->systemMode != 'new') unset($lang->dev->groupList['program']); + $lang->dev->endGroupList['admin'] = '后台'; $lang->dev->endGroupList['system'] = '系统'; $lang->dev->endGroupList['other'] = '其他';