From a2fded3f1facba5b01850cb54f8b063a5a64df26 Mon Sep 17 00:00:00 2001 From: zhaoke Date: Mon, 18 Sep 2023 15:09:07 +0800 Subject: [PATCH] * Fix bug #102952. --- module/space/lang/de.php | 10 +++++----- module/space/lang/en.php | 10 +++++----- module/space/lang/fr.php | 10 +++++----- module/space/lang/zh-cn.php | 10 +++++----- 4 files changed, 20 insertions(+), 20 deletions(-) diff --git a/module/space/lang/de.php b/module/space/lang/de.php index 9e90f608ef..fbc3f84197 100644 --- a/module/space/lang/de.php +++ b/module/space/lang/de.php @@ -23,13 +23,13 @@ $lang->space->notice->toInstall = 'Please go to the application market to instal $lang->space->byList = 'List'; $lang->space->byCard = 'Card'; -$lang->space->featureBar['browse']['all'] = 'All'; -$lang->space->featureBar['browse']['running'] = 'Running'; -$lang->space->featureBar['browse']['stopped'] = 'Stopped'; -$lang->space->featureBar['browse']['abnormal'] = 'Abnormal'; +$lang->space->featureBar['browse']['all'] = 'All'; +if($config->inQuickon) $lang->space->featureBar['browse']['running'] = 'Running'; +if($config->inQuickon) $lang->space->featureBar['browse']['stopped'] = 'Stopped'; +if($config->inQuickon) $lang->space->featureBar['browse']['abnormal'] = 'Abnormal'; $lang->space->appType['gitlab'] = 'GitLab'; -if(!$config->inQuickon) $lang->space->appType['gitea'] = 'Gitea'; +$lang->space->appType['gitea'] = 'Gitea'; $lang->space->appType['gogs'] = 'Gogs'; $lang->space->appType['jenkins'] = 'Jenkins'; $lang->space->appType['sonarqube'] = 'SonarQube'; diff --git a/module/space/lang/en.php b/module/space/lang/en.php index 9e90f608ef..fbc3f84197 100644 --- a/module/space/lang/en.php +++ b/module/space/lang/en.php @@ -23,13 +23,13 @@ $lang->space->notice->toInstall = 'Please go to the application market to instal $lang->space->byList = 'List'; $lang->space->byCard = 'Card'; -$lang->space->featureBar['browse']['all'] = 'All'; -$lang->space->featureBar['browse']['running'] = 'Running'; -$lang->space->featureBar['browse']['stopped'] = 'Stopped'; -$lang->space->featureBar['browse']['abnormal'] = 'Abnormal'; +$lang->space->featureBar['browse']['all'] = 'All'; +if($config->inQuickon) $lang->space->featureBar['browse']['running'] = 'Running'; +if($config->inQuickon) $lang->space->featureBar['browse']['stopped'] = 'Stopped'; +if($config->inQuickon) $lang->space->featureBar['browse']['abnormal'] = 'Abnormal'; $lang->space->appType['gitlab'] = 'GitLab'; -if(!$config->inQuickon) $lang->space->appType['gitea'] = 'Gitea'; +$lang->space->appType['gitea'] = 'Gitea'; $lang->space->appType['gogs'] = 'Gogs'; $lang->space->appType['jenkins'] = 'Jenkins'; $lang->space->appType['sonarqube'] = 'SonarQube'; diff --git a/module/space/lang/fr.php b/module/space/lang/fr.php index 9e90f608ef..fbc3f84197 100644 --- a/module/space/lang/fr.php +++ b/module/space/lang/fr.php @@ -23,13 +23,13 @@ $lang->space->notice->toInstall = 'Please go to the application market to instal $lang->space->byList = 'List'; $lang->space->byCard = 'Card'; -$lang->space->featureBar['browse']['all'] = 'All'; -$lang->space->featureBar['browse']['running'] = 'Running'; -$lang->space->featureBar['browse']['stopped'] = 'Stopped'; -$lang->space->featureBar['browse']['abnormal'] = 'Abnormal'; +$lang->space->featureBar['browse']['all'] = 'All'; +if($config->inQuickon) $lang->space->featureBar['browse']['running'] = 'Running'; +if($config->inQuickon) $lang->space->featureBar['browse']['stopped'] = 'Stopped'; +if($config->inQuickon) $lang->space->featureBar['browse']['abnormal'] = 'Abnormal'; $lang->space->appType['gitlab'] = 'GitLab'; -if(!$config->inQuickon) $lang->space->appType['gitea'] = 'Gitea'; +$lang->space->appType['gitea'] = 'Gitea'; $lang->space->appType['gogs'] = 'Gogs'; $lang->space->appType['jenkins'] = 'Jenkins'; $lang->space->appType['sonarqube'] = 'SonarQube'; diff --git a/module/space/lang/zh-cn.php b/module/space/lang/zh-cn.php index 912931a021..9cc4e801b6 100644 --- a/module/space/lang/zh-cn.php +++ b/module/space/lang/zh-cn.php @@ -23,13 +23,13 @@ $lang->space->notice->toInstall = '请到应用市场安装'; $lang->space->byList = '列表'; $lang->space->byCard = '卡片'; -$lang->space->featureBar['browse']['all'] = '全部'; -$lang->space->featureBar['browse']['running'] = '运行中'; -$lang->space->featureBar['browse']['stopped'] = '已关闭'; -$lang->space->featureBar['browse']['abnormal'] = '异常'; +$lang->space->featureBar['browse']['all'] = '全部'; +if($config->inQuickon) $lang->space->featureBar['browse']['running'] = '运行中'; +if($config->inQuickon) $lang->space->featureBar['browse']['stopped'] = '已关闭'; +if($config->inQuickon) $lang->space->featureBar['browse']['abnormal'] = '异常'; $lang->space->appType['gitlab'] = 'GitLab'; -if(!$config->inQuickon) $lang->space->appType['gitea'] = 'Gitea'; +$lang->space->appType['gitea'] = 'Gitea'; $lang->space->appType['gogs'] = 'Gogs'; $lang->space->appType['jenkins'] = 'Jenkins'; $lang->space->appType['sonarqube'] = 'SonarQube';