Browse Source

fix issue-183

pull/194/head
hit172587zpz 3 years ago
parent
commit
ac942c95f8
3 changed files with 3 additions and 2 deletions
  1. +1
    -1
      options/locale/locale_en-US.ini
  2. +1
    -0
      options/locale/locale_zh-CN.ini
  3. +1
    -1
      templates/status/500.tmpl

+ 1
- 1
options/locale/locale_en-US.ini View File

@@ -90,7 +90,7 @@ loading = Loading…
error404_index = Request forbidden by administrative rules
error500_index = Internal Server Error
error404 = The page you are trying to reach either <strong>does not exist</strong> or <strong>you are not authorized</strong> to view it.
error500= Sorry, the site has encountered some problems, we are trying to <strong>fix the page</strong>, please try again later.
[error]
occurred = An error has occurred
report_message = An error has occurred


+ 1
- 0
options/locale/locale_zh-CN.ini View File

@@ -90,6 +90,7 @@ loading=正在加载...
error404_index = 您的访问受限!
error500_index = 抱歉!您指定的网页无法访问。
error404=您正尝试访问的页面 <strong>不存在</strong> 或 <strong>您尚未被授权</strong> 查看该页面。
error500=抱歉,站点遇到一些问题,我们正尝试<strong>修复网页</strong>,请您稍后再试。

[error]
occurred=发生错误


+ 1
- 1
templates/status/500.tmpl View File

@@ -6,7 +6,7 @@
<img class="ui centered medium image" src="{{StaticUrlPrefix}}/img/icon-500@2x.png">
<h2>{{.i18n.Tr "error500_index"}}</h2>
<p>{{.i18n.Tr "error404" | Safe}}</p>
<p>{{.i18n.Tr "error500" | Safe}}</p>
</div>
</div>


Loading…
Cancel
Save