From 291657284e779426fdb4d17c4e2c953199ed016c Mon Sep 17 00:00:00 2001 From: tianshujie Date: Tue, 9 Sep 2025 11:54:38 +0800 Subject: [PATCH] * [task#149051,doing,0.3h] add langage items and config. --- module/weekly/config.php | 8 ++++++++ module/weekly/lang/de.php | 16 ++++++++++++---- module/weekly/lang/en.php | 16 ++++++++++++---- module/weekly/lang/fr.php | 16 ++++++++++++---- module/weekly/lang/zh-cn.php | 16 ++++++++++++---- 5 files changed, 56 insertions(+), 16 deletions(-) create mode 100644 module/weekly/config.php diff --git a/module/weekly/config.php b/module/weekly/config.php new file mode 100644 index 0000000000..d503e95475 --- /dev/null +++ b/module/weekly/config.php @@ -0,0 +1,8 @@ +weekly->charts['weekly_term'] = array('date' => '$thisWeek'); +$config->weekly->charts['weekly_staff'] = array('date' => '$thisWeek'); +$config->weekly->charts['project_progress_summary'] = array(); +$config->weekly->charts['task_basicStatistic_finished'] = array('date' => '$thisWeek'); +$config->weekly->charts['task_basicStatistic_unfinished'] = array('date' => '$thisWeek'); +$config->weekly->charts['task_basicStatistic_workplan'] = array('date' => '$nextWeek'); +$config->weekly->charts['project_basicStatistic_workload'] = array(); diff --git a/module/weekly/lang/de.php b/module/weekly/lang/de.php index a93317c186..33c1ecdc8c 100644 --- a/module/weekly/lang/de.php +++ b/module/weekly/lang/de.php @@ -22,10 +22,12 @@ $lang->weekly->postponed = 'Work unfinished this week'; $lang->weekly->nextWeek = 'Work planned for next week'; $lang->weekly->workloadByType = 'Workload Summary'; -$lang->weekly->term = 'Reporting Cycle'; -$lang->weekly->project = $lang->projectCommon . ' Name'; -$lang->weekly->master = 'Project Manager '; -$lang->weekly->staff = 'Weekly Effort'; +$lang->weekly->term = 'Reporting Cycle'; +$lang->weekly->project = $lang->projectCommon . ' Name'; +$lang->weekly->master = 'Project Manager '; +$lang->weekly->staff = 'Weekly Effort'; +$lang->weekly->projectCommon = 'Project'; +$lang->weekly->template = 'Weekly Report Template'; $lang->weekly->weekDesc = 'Week % s (% s ~% s)'; $lang->weekly->progress = 'Progress of the ' . $lang->projectCommon; @@ -42,6 +44,10 @@ $lang->weekly->totalCount = 'Total : %u tasks'; $lang->weekly->exportWeeklyReport = 'Export Weekly Report'; +$lang->weekly->builtInScopes = array(); +$lang->weekly->builtInScopes['rnd'] = array(); +$lang->weekly->builtInScopes['rnd']['project'] = 'Project'; + $lang->weekly->reportHelpNotice = <<PV Planned Value Calculation method: @@ -143,3 +149,5 @@ Calculation method: SV(%) = -1 * (1 - (EV / PV))%

CV(%) Schedule Variance

Calculation method: CV(%) = -1 * (1 - (EV / AC))% EOD; + +$lang->weekly->builtinContent = '

Weekly report: The project is managed by , the number of people involved is .

'; diff --git a/module/weekly/lang/en.php b/module/weekly/lang/en.php index a93317c186..33c1ecdc8c 100644 --- a/module/weekly/lang/en.php +++ b/module/weekly/lang/en.php @@ -22,10 +22,12 @@ $lang->weekly->postponed = 'Work unfinished this week'; $lang->weekly->nextWeek = 'Work planned for next week'; $lang->weekly->workloadByType = 'Workload Summary'; -$lang->weekly->term = 'Reporting Cycle'; -$lang->weekly->project = $lang->projectCommon . ' Name'; -$lang->weekly->master = 'Project Manager '; -$lang->weekly->staff = 'Weekly Effort'; +$lang->weekly->term = 'Reporting Cycle'; +$lang->weekly->project = $lang->projectCommon . ' Name'; +$lang->weekly->master = 'Project Manager '; +$lang->weekly->staff = 'Weekly Effort'; +$lang->weekly->projectCommon = 'Project'; +$lang->weekly->template = 'Weekly Report Template'; $lang->weekly->weekDesc = 'Week % s (% s ~% s)'; $lang->weekly->progress = 'Progress of the ' . $lang->projectCommon; @@ -42,6 +44,10 @@ $lang->weekly->totalCount = 'Total : %u tasks'; $lang->weekly->exportWeeklyReport = 'Export Weekly Report'; +$lang->weekly->builtInScopes = array(); +$lang->weekly->builtInScopes['rnd'] = array(); +$lang->weekly->builtInScopes['rnd']['project'] = 'Project'; + $lang->weekly->reportHelpNotice = <<PV Planned Value Calculation method: @@ -143,3 +149,5 @@ Calculation method: SV(%) = -1 * (1 - (EV / PV))%

CV(%) Schedule Variance

Calculation method: CV(%) = -1 * (1 - (EV / AC))% EOD; + +$lang->weekly->builtinContent = '

Weekly report: The project is managed by , the number of people involved is .

'; diff --git a/module/weekly/lang/fr.php b/module/weekly/lang/fr.php index a93317c186..33c1ecdc8c 100644 --- a/module/weekly/lang/fr.php +++ b/module/weekly/lang/fr.php @@ -22,10 +22,12 @@ $lang->weekly->postponed = 'Work unfinished this week'; $lang->weekly->nextWeek = 'Work planned for next week'; $lang->weekly->workloadByType = 'Workload Summary'; -$lang->weekly->term = 'Reporting Cycle'; -$lang->weekly->project = $lang->projectCommon . ' Name'; -$lang->weekly->master = 'Project Manager '; -$lang->weekly->staff = 'Weekly Effort'; +$lang->weekly->term = 'Reporting Cycle'; +$lang->weekly->project = $lang->projectCommon . ' Name'; +$lang->weekly->master = 'Project Manager '; +$lang->weekly->staff = 'Weekly Effort'; +$lang->weekly->projectCommon = 'Project'; +$lang->weekly->template = 'Weekly Report Template'; $lang->weekly->weekDesc = 'Week % s (% s ~% s)'; $lang->weekly->progress = 'Progress of the ' . $lang->projectCommon; @@ -42,6 +44,10 @@ $lang->weekly->totalCount = 'Total : %u tasks'; $lang->weekly->exportWeeklyReport = 'Export Weekly Report'; +$lang->weekly->builtInScopes = array(); +$lang->weekly->builtInScopes['rnd'] = array(); +$lang->weekly->builtInScopes['rnd']['project'] = 'Project'; + $lang->weekly->reportHelpNotice = <<PV Planned Value Calculation method: @@ -143,3 +149,5 @@ Calculation method: SV(%) = -1 * (1 - (EV / PV))%

CV(%) Schedule Variance

Calculation method: CV(%) = -1 * (1 - (EV / AC))% EOD; + +$lang->weekly->builtinContent = '

Weekly report: The project is managed by , the number of people involved is .

'; diff --git a/module/weekly/lang/zh-cn.php b/module/weekly/lang/zh-cn.php index 70b4e58ae2..9f275457f9 100644 --- a/module/weekly/lang/zh-cn.php +++ b/module/weekly/lang/zh-cn.php @@ -22,10 +22,12 @@ $lang->weekly->postponed = '本周未完成工作'; $lang->weekly->nextWeek = '下周工作计划'; $lang->weekly->workloadByType = '工作量统计'; -$lang->weekly->term = '报告周期'; -$lang->weekly->project = $lang->projectCommon . '名称'; -$lang->weekly->master = '项目经理 '; -$lang->weekly->staff = '本周投入人数'; +$lang->weekly->term = '报告周期'; +$lang->weekly->project = $lang->projectCommon . '名称'; +$lang->weekly->master = '项目经理 '; +$lang->weekly->staff = '本周投入人数'; +$lang->weekly->projectCommon = '项目'; +$lang->weekly->template = '周报模板'; $lang->weekly->weekDesc = '第 %s 周( %s ~ %s)'; $lang->weekly->progress = $lang->projectCommon . '当前进展状况'; @@ -42,6 +44,10 @@ $lang->weekly->totalCount = '总计 : %u 个任务'; $lang->weekly->exportWeeklyReport = '导出周报'; +$lang->weekly->builtInScopes = array(); +$lang->weekly->builtInScopes['rnd'] = array(); +$lang->weekly->builtInScopes['rnd']['project'] = '项目'; + $lang->weekly->reportHelpNotice = <<PV 计划完成的工作 计算方式: @@ -144,3 +150,5 @@ $lang->weekly->blockHelpNotice = <<CV(%) 成本偏差率 计算方式:CV(%) = -1 * (1 - (EV / AC))% EOD; + +$lang->weekly->builtinContent = '

周报: 项目由项目经理 负责,投入人数为 。

';