* fix a bug for project burn.

This commit is contained in:
wyd621
2014-04-30 09:28:40 +00:00
parent 3343c88fb1
commit 64b41bb092
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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';
+1 -1
View File
@@ -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. */