diff --git a/module/custom/lang/de.php b/module/custom/lang/de.php index 15f2910b13..6b52b8e0f1 100644 --- a/module/custom/lang/de.php +++ b/module/custom/lang/de.php @@ -230,5 +230,10 @@ $lang->custom->conceptOptions->hourPoint['0'] = 'Stunde'; $lang->custom->conceptOptions->hourPoint['1'] = 'Story Point'; $lang->custom->conceptOptions->hourPoint['2'] = 'Function Point'; +$lang->custom->conceptOptions->estimateUnit = array(); +$lang->custom->conceptOptions->estimateUnit['0'] = 'Stunde(H)'; +$lang->custom->conceptOptions->estimateUnit['1'] = 'Story Point(SP)'; +$lang->custom->conceptOptions->estimateUnit['2'] = 'Function Point(FP)'; + $lang->custom->scrum = new stdclass(); $lang->custom->scrum->setConcept = 'Set concept'; diff --git a/module/custom/lang/en.php b/module/custom/lang/en.php index f88bbfaf6f..6f5465a4c3 100644 --- a/module/custom/lang/en.php +++ b/module/custom/lang/en.php @@ -230,5 +230,10 @@ $lang->custom->conceptOptions->hourPoint['0'] = 'Hours'; $lang->custom->conceptOptions->hourPoint['1'] = 'Story Point'; $lang->custom->conceptOptions->hourPoint['2'] = 'Function Point'; +$lang->custom->conceptOptions->estimateUnit = array(); +$lang->custom->conceptOptions->estimateUnit['0'] = 'Stunde(H)'; +$lang->custom->conceptOptions->estimateUnit['1'] = 'Story Point(SP)'; +$lang->custom->conceptOptions->estimateUnit['2'] = 'Function Point(FP)'; + $lang->custom->scrum = new stdclass(); $lang->custom->scrum->setConcept = 'Set concept'; diff --git a/module/custom/lang/fr.php b/module/custom/lang/fr.php index 1836208efa..d601b0ac4c 100644 --- a/module/custom/lang/fr.php +++ b/module/custom/lang/fr.php @@ -230,5 +230,10 @@ $lang->custom->conceptOptions->hourPoint['0'] = 'Heures'; $lang->custom->conceptOptions->hourPoint['1'] = 'Story Point'; $lang->custom->conceptOptions->hourPoint['2'] = 'Function Point'; +$lang->custom->conceptOptions->estimateUnit = array(); +$lang->custom->conceptOptions->estimateUnit['0'] = 'Stunde(H)'; +$lang->custom->conceptOptions->estimateUnit['1'] = 'Story Point(SP)'; +$lang->custom->conceptOptions->estimateUnit['2'] = 'Function Point(FP)'; + $lang->custom->scrum = new stdclass(); $lang->custom->scrum->setConcept = 'Set concept'; diff --git a/module/custom/lang/vi.php b/module/custom/lang/vi.php index ca2426f9fe..7989f32572 100644 --- a/module/custom/lang/vi.php +++ b/module/custom/lang/vi.php @@ -230,5 +230,10 @@ $lang->custom->conceptOptions->hourPoint['0'] = 'giờ'; $lang->custom->conceptOptions->hourPoint['1'] = 'Điểm'; $lang->custom->conceptOptions->hourPoint['2'] = 'Function Point'; +$lang->custom->conceptOptions->estimateUnit = array(); +$lang->custom->conceptOptions->estimateUnit['0'] = 'Stunde(H)'; +$lang->custom->conceptOptions->estimateUnit['1'] = 'Story Point(SP)'; +$lang->custom->conceptOptions->estimateUnit['2'] = 'Function Point(FP)'; + $lang->custom->scrum = new stdclass(); $lang->custom->scrum->setConcept = 'Set concept'; diff --git a/module/custom/lang/zh-cn.php b/module/custom/lang/zh-cn.php index fd3533323d..ab0c265664 100644 --- a/module/custom/lang/zh-cn.php +++ b/module/custom/lang/zh-cn.php @@ -230,5 +230,10 @@ $lang->custom->conceptOptions->hourPoint['0'] = '工时'; $lang->custom->conceptOptions->hourPoint['1'] = '故事点'; $lang->custom->conceptOptions->hourPoint['2'] = '功能点'; +$lang->custom->conceptOptions->estimateUnit = array(); +$lang->custom->conceptOptions->estimateUnit['0'] = '工时(H)'; +$lang->custom->conceptOptions->estimateUnit['1'] = '故事点(SP)'; +$lang->custom->conceptOptions->estimateUnit['2'] = '功能点(FP)'; + $lang->custom->scrum = new stdclass(); $lang->custom->scrum->setConcept = '设置项目概念'; diff --git a/module/custom/view/estimate.html.php b/module/custom/view/estimate.html.php index 94da243b60..a22b601039 100644 --- a/module/custom/view/estimate.html.php +++ b/module/custom/view/estimate.html.php @@ -23,7 +23,7 @@ $lang->custom->system[] = 'estimate';
| custom->estimateUnit;?> | -custom->conceptOptions->hourPoint, $unit);?> | +custom->conceptOptions->estimateUnit, $unit);?> | |||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| productTitle;?> | openedBy);?> | -estimate . ' ' . $config->hourUnit;?> | + config->custom, 'hourPoint', '1');?> +estimate . ' ' . $config->hourUnit;?> | processStatus('story', $story);?> | story->stageList, $story->stage);?> | diff --git a/module/my/view/story.html.php b/module/my/view/story.html.php index a4be227221..09ce4e3d9d 100644 --- a/module/my/view/story.html.php +++ b/module/my/view/story.html.php @@ -87,7 +87,8 @@ | productTitle;?> | planTitle;?> | openedBy);?> | -estimate . ' ' . $config->hourUnit;?> | + config->custom, 'hourPoint', '1');?> +estimate . ' ' . $config->hourUnit;?> | processStatus('story', $story);?> | story->stageList, $story->stage);?> | diff --git a/module/project/view/story.html.php b/module/project/view/story.html.php index c1d6fbbc3a..e887690e65 100644 --- a/module/project/view/story.html.php +++ b/module/project/view/story.html.php @@ -173,7 +173,8 @@ | openedBy);?> | assignedTo);?> | -estimate . ' ' . $config->hourUnit;?> | + config->custom, 'hourPoint', '1');?> +estimate . ' ' . $config->hourUnit;?> | processStatus('story', $story);?>diff --git a/module/story/model.php b/module/story/model.php index 8bf990b436..157ab46a82 100644 --- a/module/story/model.php +++ b/module/story/model.php @@ -3314,7 +3314,8 @@ class storyModel extends model } else if($id == 'estimate') { - $title = $story->estimate . ' ' . $this->config->hourUnit; + $unit = zget($this->config->custom, 'hourPoint', '1'); + $title = $story->estimate . ' ' . $this->lang->custom->conceptOptions->hourPoint[$unit]; } else if($id == 'reviewedBy') { |