* fix the error of pri naming.

This commit is contained in:
wangchunsheng
2009-10-28 01:49:22 +00:00
parent 13c9e8c1ec
commit 82fb9eb63a
4 changed files with 15 additions and 15 deletions

View File

@@ -73,9 +73,9 @@ $lang->resource->project->browse = 'browse';
$lang->resource->project->create = 'create';
$lang->resource->project->edit = 'edit';
$lang->resource->project->delete = 'delete';
$lang->resource->project->task = 'tasks';
$lang->resource->project->story = 'stories';
$lang->resource->project->bug = 'bugs';
$lang->resource->project->task = 'task';
$lang->resource->project->story = 'story';
$lang->resource->project->bug = 'bug';
$lang->resource->project->manageProducts = 'manageProducts';
$lang->resource->project->manageChilds = 'manageChilds';
$lang->resource->project->manageMembers = 'manageMembers';

View File

@@ -83,9 +83,9 @@ class project extends control
$this->app->session->set('storyList', $this->app->getURI(true));
/* 设定header和position信息。*/
$header['title'] = $project->name . $this->lang->colon . $this->lang->project->tasks;
$header['title'] = $project->name . $this->lang->colon . $this->lang->project->task;
$position[] = html::a($this->createLink('project', 'browse', "projectID=$projectID"), $project->name);
$position[] = $this->lang->project->tasks;
$position[] = $this->lang->project->task;
/* 分页操作。*/
$this->app->loadClass('pager', $static = true);
@@ -118,9 +118,9 @@ class project extends control
$project = $this->commonAction($projectID);
/* 设定header和position信息。*/
$header['title'] = $project->name . $this->lang->colon . $this->lang->project->stories;
$header['title'] = $project->name . $this->lang->colon . $this->lang->project->story;
$position[] = html::a($this->createLink('project', 'browse', "projectID=$projectID"), $project->name);
$position[] = $this->lang->project->stories;
$position[] = $this->lang->project->story;
/* 分页操作。*/
$this->app->loadClass('pager', $static = true);
@@ -151,9 +151,9 @@ class project extends control
$project = $this->commonAction($projectID);
/* 设定header和position信息。*/
$header['title'] = $project->name . $this->lang->colon . $this->lang->project->bugs;
$header['title'] = $project->name . $this->lang->colon . $this->lang->project->bug;
$position[] = html::a($this->createLink('project', 'browse', "projectID=$projectID"), $project->name);
$position[] = $this->lang->project->bugs;
$position[] = $this->lang->project->bug;
/* 分页操作。*/
$this->app->loadClass('pager', $static = true);

View File

@@ -70,9 +70,9 @@ $lang->project->QM = '测试负责人';
$lang->project->team = '团队名称';
$lang->project->products = '相关产品';
$lang->project->childProjects= '子项目';
$lang->project->tasks = '任务列表';
$lang->project->stories = '需求列表';
$lang->project->bugs = 'Bug列表';
$lang->project->task = '任务列表';
$lang->project->story = '需求列表';
$lang->project->bug = 'Bug列表';
$lang->project->burndown = '燃烧图';
$lang->team->account = '用户';

View File

@@ -1,9 +1,9 @@
<ul>
<?php
echo "<li><nobr>$project->name</nobr></li>";
echo "<li id='tasktab'><nobr>" . html::a($this->createLink('project', 'task', "projectID=$project->id"), $lang->project->tasks) . "</nobr></li>";
echo "<li id='storytab'><nobr>" . html::a($this->createLink('project', 'story', "projectID=$project->id"), $lang->project->stories) . "</nobr></li>";
echo "<li id='bugtab'><nobr>" . html::a($this->createLink('project', 'bug', "projectID=$project->id"), $lang->project->bugs) . "</nobr></li>";
echo "<li id='tasktab'><nobr>" . html::a($this->createLink('project', 'task', "projectID=$project->id"), $lang->project->task) . "</nobr></li>";
echo "<li id='storytab'><nobr>" . html::a($this->createLink('project', 'story', "projectID=$project->id"), $lang->project->story) . "</nobr></li>";
echo "<li id='bugtab'><nobr>" . html::a($this->createLink('project', 'bug', "projectID=$project->id"), $lang->project->bug) . "</nobr></li>";
//echo "<li id='burntab'><nobr>" . html::a($this->createLink('project', 'burn', "projectID=$project->id"), $lang->project->burndown) . "</nobr></li>";
echo <<<EOT
<script language="Javascript">