You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
1.6 KiB
PHP
19 lines
1.6 KiB
PHP
<?php
|
|
|
|
$entry = require dirname(__DIR__) . '/entry.php';
|
|
|
|
return [
|
|
$entry('public.error.not_found.kicker', 'public_error', 'public.error', '404 · 页面未找到'),
|
|
$entry('public.error.not_found.title', 'public_error', 'public.error', '页面不存在', 'title'),
|
|
$entry('public.error.not_found.description', 'public_error', 'public.error', '你访问的地址不存在、已被移动,或暂时无法打开。可以返回首页重新开始。', 'description'),
|
|
$entry('public.error.method_not_allowed.kicker', 'public_error', 'public.error', '405 · 请求方式不被允许'),
|
|
$entry('public.error.method_not_allowed.title', 'public_error', 'public.error', '请求方式不被允许', 'title'),
|
|
$entry('public.error.method_not_allowed.description', 'public_error', 'public.error', '当前地址不支持这次请求方式。请返回上一页,或回到首页重新进入。', 'description'),
|
|
$entry('public.error.server_error.kicker', 'public_error', 'public.error', '500 · 服务异常'),
|
|
$entry('public.error.server_error.title', 'public_error', 'public.error', '服务暂时不可用', 'title'),
|
|
$entry('public.error.server_error.description', 'public_error', 'public.error', '服务器处理请求时出现异常。请稍后再试,或返回首页继续访问其他页面。', 'description'),
|
|
$entry('public.error.action.home', 'public_error', 'public.error', '返回首页', 'button'),
|
|
$entry('public.error.action.user', 'public_error', 'public.error', '用户中心', 'button'),
|
|
$entry('public.error.action.login', 'public_error', 'public.error', '重新登录', 'button'),
|
|
];
|