From a2477a59bf27c95f27e98ed11027a6d99b4792e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=99=E5=B9=BF=E6=98=8E?= Date: Fri, 21 Jan 2022 14:33:58 +0800 Subject: [PATCH] * Delete unused lang. --- module/block/lang/en.php | 19 ------------------- module/block/lang/zh-cn.php | 19 ------------------- module/block/view/dashboard.html.php | 4 ++-- 3 files changed, 2 insertions(+), 40 deletions(-) diff --git a/module/block/lang/en.php b/module/block/lang/en.php index 28d45685d1..b0a9a555e3 100644 --- a/module/block/lang/en.php +++ b/module/block/lang/en.php @@ -106,25 +106,6 @@ $lang->block->spent = 'Has Been Spent'; $lang->block->budget = 'Budget'; $lang->block->left = 'Residuals'; -$lang->block->titleList['flowchart'] = 'Flowchart'; -$lang->block->titleList['statistic'] = 'Statistic'; -$lang->block->titleList['recentproject'] = 'Recent Project'; -$lang->block->titleList['assigntome'] = 'Assign To Me'; -$lang->block->titleList['projectteam'] = 'Project Team'; -$lang->block->titleList['project'] = 'Project'; -$lang->block->titleList['dynamic'] = 'Dynamic'; -$lang->block->titleList['list'] = 'List'; -$lang->block->titleList['contribute'] = 'Contribute'; -$lang->block->titleList['scrumoverview'] = 'Scrum Overview'; -$lang->block->titleList['scrumtest'] = 'Scrum Test'; -$lang->block->titleList['scrumlist'] = 'Scrum List'; -$lang->block->titleList['sprint'] = 'Sprint'; -$lang->block->titleList['projectdynamic'] = 'Project Dynamic'; -$lang->block->titleList['bug'] = 'Bug'; -$lang->block->titleList['case'] = 'Case'; -$lang->block->titleList['testtask'] = 'Testtask'; - - $lang->block->default['waterfall']['project']['3']['title'] = 'Plan Gantt Chart'; $lang->block->default['waterfall']['project']['3']['block'] = 'waterfallgantt'; $lang->block->default['waterfall']['project']['3']['source'] = 'project'; diff --git a/module/block/lang/zh-cn.php b/module/block/lang/zh-cn.php index 3ca65ef783..e5d8deface 100644 --- a/module/block/lang/zh-cn.php +++ b/module/block/lang/zh-cn.php @@ -106,25 +106,6 @@ $lang->block->spent = '已花费'; $lang->block->budget = '预算'; $lang->block->left = '剩余'; -$lang->block->titleList['flowchart'] = '流程图'; -$lang->block->titleList['statistic'] = '项目统计'; -$lang->block->titleList['recentproject'] = '我近期参与的项目'; -$lang->block->titleList['assigntome'] = '待处理'; -$lang->block->titleList['projectteam'] = '项目人力投入'; -$lang->block->titleList['project'] = '项目列表'; -$lang->block->titleList['dynamic'] = '最新动态'; -$lang->block->titleList['list'] = '我的待办'; -$lang->block->titleList['contribute'] = '我的贡献'; -$lang->block->titleList['scrumoverview'] = '项目概况'; -$lang->block->titleList['scrumtest'] = '待测版本'; -$lang->block->titleList['scrumlist'] = '迭代列表'; -$lang->block->titleList['sprint'] = '迭代总览'; -$lang->block->titleList['projectdynamic'] = '最新动态'; -$lang->block->titleList['bug'] = '指派给我的Bug'; -$lang->block->titleList['case'] = '指派给我的用例'; -$lang->block->titleList['testtask'] = '待测版本列表'; - - $lang->block->default['waterfall']['project']['3']['title'] = "项目计划"; $lang->block->default['waterfall']['project']['3']['block'] = 'waterfallgantt'; $lang->block->default['waterfall']['project']['3']['source'] = 'project'; diff --git a/module/block/view/dashboard.html.php b/module/block/view/dashboard.html.php index 4390aa91e2..ccca29da24 100644 --- a/module/block/view/dashboard.html.php +++ b/module/block/view/dashboard.html.php @@ -35,7 +35,7 @@ $useGuest = $this->app->user->account == 'guest'; block != 'welcome');?>
-
block->titleList, $block->block);?>
+
title;?>