* Finish task #3074.

This commit is contained in:
pengjiangxiu
2017-07-17 16:53:53 +08:00
parent 48fc034fa1
commit 80df7a693e
5 changed files with 28 additions and 4 deletions
+8
View File
@@ -62,6 +62,14 @@ $lang->misc->tableName = "Table Name";
$lang->misc->tableStatus = "Status";
$lang->misc->novice = "First time to ZenTao? Do you want to start rookie mode?";
$lang->user->noticeResetFile = "<h5>If you are not Administrator, please contact Administrator to repair table.</h5>
<h5>If you are, please login into your Zentao host and create the <span>%s</span> file.</h5>
<p>Note:</p>
<ol>
<li>Keep the ok.txt empty.</li>
<li>If ok.txt exists, remove it and create one again.</li>
</ol>";
$lang->misc->feature = new stdclass();
$lang->misc->feature->lastest = 'Latest Version';
$lang->misc->feature->detailed = 'Details';
+9 -1
View File
@@ -56,12 +56,20 @@ $lang->misc->noGDLib = "请用手机浏览器访问:<strong>%s</strong>";
$lang->misc->copyright = "&copy; 2009 - 2016 <a href='http://www.cnezsoft.com' target='_blank'>青岛易软天创网络科技有限公司</a> 电话:4006-8899-23 Email:<a href='mailto:co@zentao.net'>co@zentao.net</a> QQ:1492153927";
$lang->misc->checkTable = "检查修复数据表";
$lang->misc->needRepair = "修复表";
$lang->misc->repairTable = "数据库表可以因为断电原因损坏,需要检查修复!!";
$lang->misc->repairTable = "数据库表可能因为断电原因损坏,需要检查修复!!";
$lang->misc->repairFail = "修复失败,请到该数据库的数据目录下,尝试执行<code>myisamchk -r -f %s.MYI</code>进行修复。";
$lang->misc->tableName = "表名";
$lang->misc->tableStatus = "状态";
$lang->misc->novice = "您可能初次使用禅道,是否进入新手模式?";
$lang->misc->noticeRepair = "<h5>普通用户请联系管理员进行修复</h5>
<h5>管理员请登录禅道所在的服务器,创建<span>%s</span>文件。</h5>
<p>注意:</p>
<ol>
<li>文件内容为空。</li>
<li>如果之前文件存在,删除之后重新创建。</li>
</ol>";
$lang->misc->feature = new stdclass();
$lang->misc->feature->lastest = '最新版本';
$lang->misc->feature->detailed = '详情';
+9 -1
View File
@@ -56,12 +56,20 @@ $lang->misc->noGDLib = "請用手機瀏覽器訪問:<strong>%s</strong>";
$lang->misc->copyright = "&copy; 2009 - 2016 <a href='http://www.cnezsoft.com' target='_blank'>青島易軟天創網絡科技有限公司</a> 電話:4006-8899-23 Email:<a href='mailto:co@zentao.net'>co@zentao.net</a> QQ:1492153927";
$lang->misc->checkTable = "檢查修復數據表";
$lang->misc->needRepair = "修復表";
$lang->misc->repairTable = "資料庫表可以因為斷電原因損壞,需要檢查修復!!";
$lang->misc->repairTable = "資料庫表可能因為斷電原因損壞,需要檢查修復!!";
$lang->misc->repairFail = "修復失敗,請到該資料庫的數據目錄下,嘗試執行<code>myisamchk -r -f %s.MYI</code>進行修復。";
$lang->misc->tableName = "表名";
$lang->misc->tableStatus = "狀態";
$lang->misc->novice = "您可能初次使用禪道,是否進入新手模式?";
$lang->user->noticeResetFile = "<h5>普通用戶請聯繫管理員進行修復</h5>
<h5>管理員請登錄禪道所在的伺服器,創建<span>%s</span>檔案。</h5>
<p>注意:</p>
<ol>
<li>檔案內容為空。</li>
<li>如果之前檔案存在,刪除之後重新創建。</li>
</ol>";
$lang->misc->feature = new stdclass();
$lang->misc->feature->lastest = '最新版本';
$lang->misc->feature->detailed = '詳情';
+1 -1
View File
@@ -15,7 +15,7 @@
<div class='container mw-700px'>
<?php if($status == 'createFile'):?>
<div class='panel-body'>
<?php printf($lang->user->noticeResetFile, $this->session->checkFileName);?>
<?php printf($lang->misc->noticeRepair, $this->session->checkFileName);?>
</div>
<p><?php echo html::a(inlink('checkTable'), $this->lang->refresh, '', "class='btn'")?></p>
<?php elseif($status == 'check'):?>