* fix a bug for project burn.
This commit is contained in:
@@ -29,7 +29,7 @@ $lang->action->editComment = 'Edit comment';
|
||||
$lang->action->trashTips = "Tips:The deleting actions in zentao are all logic";
|
||||
$lang->action->textDiff = 'Text mode';
|
||||
$lang->action->original = 'Original content';
|
||||
$lang->action->confirmHideAll = '您确定要全部隐藏这些记录吗?';
|
||||
$lang->action->confirmHideAll = 'Are you sure you hide these records?';
|
||||
|
||||
$lang->action->dynamic = new stdclass();
|
||||
$lang->action->dynamic->today = 'Today';
|
||||
|
||||
@@ -711,7 +711,7 @@ class project extends control
|
||||
|
||||
/* Set a space when assemble the string for english. */
|
||||
$space = $this->app->getClientLang() == 'en' ? ' ' : '';
|
||||
$dayList = array_fill(1, floor(count($dateList) / $this->config->project->maxBurnDay) + 5, '');
|
||||
$dayList = array_fill(1, floor($project->days / $this->config->project->maxBurnDay) + 5, '');
|
||||
foreach($dayList as $key => $val) $dayList[$key] = $this->lang->project->interval . $space . ($key + 1) . $space . $this->lang->day;
|
||||
|
||||
/* Assign. */
|
||||
|
||||
Reference in New Issue
Block a user