* change for upgrade and zh-tw lang.
This commit is contained in:
+1
-1
@@ -17,7 +17,7 @@ if(!function_exists('getWebRoot')){function getWebRoot(){}}
|
||||
|
||||
/* Basic settings. */
|
||||
$config = new config();
|
||||
$config->version = '8.2.beta'; // The version of zentaopms. Don't change it.
|
||||
$config->version = '8.2'; // The version of zentaopms. Don't change it.
|
||||
$config->charset = 'UTF-8'; // The charset of zentaopms.
|
||||
$config->cookieLife = time() + 2592000; // The cookie life time.
|
||||
$config->timezone = 'Asia/Shanghai'; // The time zone setting, for more see http://www.php.net/manual/en/timezones.php
|
||||
|
||||
@@ -120,13 +120,15 @@ $lang->bug->allUsers = '所有用戶';
|
||||
$lang->bug->allBuilds = '所有';
|
||||
|
||||
/* legend列表。*/
|
||||
$lang->bug->legendBasicInfo = '基本信息';
|
||||
$lang->bug->legendAttatch = '附件';
|
||||
$lang->bug->legendPrjStoryTask = $lang->projectCommon . '/需求/任務';
|
||||
$lang->bug->legendSteps = '重現步驟';
|
||||
$lang->bug->legendComment = '備註';
|
||||
$lang->bug->legendLife = 'BUG的一生';
|
||||
$lang->bug->legendMisc = '其他相關';
|
||||
$lang->bug->legendBasicInfo = '基本信息';
|
||||
$lang->bug->legendAttatch = '附件';
|
||||
$lang->bug->legendPrjStoryTask = $lang->projectCommon . '/需求/任務';
|
||||
$lang->bug->lblTypeAndSeverity = '類型/嚴重程度';
|
||||
$lang->bug->lblSystemBrowserAndHardware = '系統/瀏覽器';
|
||||
$lang->bug->legendSteps = '重現步驟';
|
||||
$lang->bug->legendComment = '備註';
|
||||
$lang->bug->legendLife = 'BUG的一生';
|
||||
$lang->bug->legendMisc = '其他相關';
|
||||
|
||||
/* 功能按鈕。*/
|
||||
$lang->bug->buttonConfirm = '確認';
|
||||
|
||||
@@ -65,7 +65,7 @@ $lang->duplicate = '已有相同標題的%s';
|
||||
$lang->ipLimited = "<html><head><meta http-equiv='Content-Type' content='text/html; charset=utf-8' /></head><body>抱歉,管理員限制當前IP登錄,請聯繫管理員解除限制。</body></html>";
|
||||
$lang->unfold = '+';
|
||||
$lang->fold = '-';
|
||||
$lang->homepage = '設為主頁';
|
||||
$lang->homepage = '設為模組首頁';
|
||||
$lang->tutorial = '新手教程';
|
||||
$lang->changeLog = '修改日誌';
|
||||
$lang->manual = '手冊';
|
||||
@@ -190,7 +190,7 @@ $lang->product->menu->view = array('link' => '概況|product|view|productID=%
|
||||
$lang->product->menu->project = "{$lang->projectCommon}|product|project|status=all&productID=%s";
|
||||
$lang->product->menu->create = array('link' => "<i class='icon-plus'></i> 添加{$lang->productCommon}|product|create", 'float' => 'right');
|
||||
$lang->product->menu->all = array('link' => "<i class='icon-cubes'></i> 所有{$lang->productCommon}|product|all|productID=%s", 'float' => 'right');
|
||||
$lang->product->menu->index = array('link' => "<i class='icon-home'></i>產品主頁|product|index|locate=no", 'float' => 'right');
|
||||
$lang->product->menu->index = array('link' => "<i class='icon-home'></i>{$lang->productCommon}主頁|product|index|locate=no", 'float' => 'right');
|
||||
|
||||
$lang->story = new stdclass();
|
||||
$lang->productplan = new stdclass();
|
||||
@@ -219,7 +219,7 @@ $lang->project->menu->product = $lang->productCommon . '|project|manageproduct
|
||||
$lang->project->menu->view = array('link' => '概況|project|view|projectID=%s', 'alias' => 'edit,start,suspend,putoff,close');
|
||||
$lang->project->menu->create = array('link' => "<i class='icon-plus'></i> 添加{$lang->projectCommon}|project|create", 'float' => 'right');
|
||||
$lang->project->menu->all = array('link' => "<i class='icon-th-large'></i> 所有{$lang->projectCommon}|project|all|status=undone&projectID=%s", 'float' => 'right');
|
||||
$lang->project->menu->index = array('link' => "<i class='icon-home'></i>項目主頁|project|index|locate=no", 'float' => 'right');
|
||||
$lang->project->menu->index = array('link' => "<i class='icon-home'></i>{$lang->projectCommon}主頁|project|index|locate=no", 'float' => 'right');
|
||||
|
||||
$lang->task = new stdclass();
|
||||
$lang->build = new stdclass();
|
||||
|
||||
@@ -31,6 +31,7 @@ $lang->tutorial->congratulateTask = '恭喜,你完成了任務 【<span class=
|
||||
$lang->tutorial->serverErrorTip = '發生了一些錯誤。';
|
||||
$lang->tutorial->ajaxSetError = '必須指定已完成的任務,如果要重置任務,請設置值為空。';
|
||||
$lang->tutorial->novice = "您可能初次使用禪道,是否進入新手教程";
|
||||
$lang->tutorial->dataNotSave = "教程任務中,數據不會保存。";
|
||||
|
||||
$lang->tutorial->tasks = array();
|
||||
|
||||
|
||||
@@ -100,3 +100,4 @@ $lang->upgrade->fromVersions['8_0'] = '8.0';
|
||||
$lang->upgrade->fromVersions['8_0_1'] = '8.0.1';
|
||||
$lang->upgrade->fromVersions['8_1'] = '8.1';
|
||||
$lang->upgrade->fromVersions['8_1_3'] = '8.1.3';
|
||||
$lang->upgrade->fromVersions['8_2_beta'] = '8.2.beta';
|
||||
|
||||
@@ -100,3 +100,4 @@ $lang->upgrade->fromVersions['8_0'] = '8.0';
|
||||
$lang->upgrade->fromVersions['8_0_1'] = '8.0.1';
|
||||
$lang->upgrade->fromVersions['8_1'] = '8.1';
|
||||
$lang->upgrade->fromVersions['8_1_3'] = '8.1.3';
|
||||
$lang->upgrade->fromVersions['8_2_beta'] = '8.2.beta';
|
||||
|
||||
@@ -100,3 +100,4 @@ $lang->upgrade->fromVersions['8_0'] = '8.0';
|
||||
$lang->upgrade->fromVersions['8_0_1'] = '8.0.1';
|
||||
$lang->upgrade->fromVersions['8_1'] = '8.1';
|
||||
$lang->upgrade->fromVersions['8_1_3'] = '8.1.3';
|
||||
$lang->upgrade->fromVersions['8_2_beta'] = '8.2.beta';
|
||||
|
||||
@@ -140,6 +140,7 @@ class upgradeModel extends model
|
||||
$this->execSQL($this->getUpgradeFile('8.1.3'));
|
||||
$this->addPriv8_2_beta();
|
||||
$this->adjustConfigSectionAndKey();
|
||||
case '8_2_beta':
|
||||
|
||||
default: if(!$this->isError()) $this->setting->updateVersion($this->config->version);
|
||||
}
|
||||
@@ -216,6 +217,7 @@ class upgradeModel extends model
|
||||
case '8_0_1': $confirmContent .= file_get_contents($this->getUpgradeFile('8.0.1'));
|
||||
case '8_1': $confirmContent .= file_get_contents($this->getUpgradeFile('8.1'));
|
||||
case '8_1_3': $confirmContent .= file_get_contents($this->getUpgradeFile('8.1.3'));
|
||||
case '8_2_beta':
|
||||
}
|
||||
return str_replace('zt_', $this->config->db->prefix, $confirmContent);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user