diff --git a/resources/lang/zh-CN/cachet.php b/resources/lang/zh-CN/cachet.php index 1f59d82b..87074ea5 100755 --- a/resources/lang/zh-CN/cachet.php +++ b/resources/lang/zh-CN/cachet.php @@ -60,29 +60,29 @@ return [ // Subscriber 'subscriber' => [ - 'subscribe' => '', - 'button' => '', + 'subscribe' => '订阅最新的更新。', + 'button' => '订阅', 'email' => [ - 'subscribe' => '', - 'subscribed' => '', - 'verified' => '', - 'unsubscribe' => '', - 'unsubscribed' => '', - 'failure' => '', + 'subscribe' => '订阅电子邮件更新。', + 'subscribed' => '你已经订阅电子邮件通知,请检查您的电子邮件,确认您的订阅。', + 'verified' => '您的电子邮件订阅已确认。谢谢!', + 'unsubscribe' => '取消电子邮件订阅。', + 'unsubscribed' => '您的电子邮件订阅已被取消。', + 'failure' => '邮件订阅失败。', 'verify' => [ - 'text' => '', - 'html-preheader' => '', - 'html' => '', + 'text' => '请确认您的 :app_name 电子邮件订阅。\\n:link\\n此致,:app_name', + 'html-preheader' => '请确认您的 :app_name 状态更新邮件订阅。', + 'html' => '
请确认您的 :app_name 电子邮件订阅。
:link
此致,:app_name
', ], 'maintenance' => [ - 'text' => '', - 'html-preheader' => '', - 'html' => '', + 'text' => '新的维护计划已被安排在 :app_name 上。\\n此致,:app_name', + 'html-preheader' => '新的维护计划已被安排在 :app_name 上。', + 'html' => '新的维护计划已被安排在 :app_name 上。
此致,:app_name
', ], 'incident' => [ - 'text' => '', - 'html-preheader' => '', - 'html' => '', + 'text' => ':app_name 有新事件报告。\\n此致,:app_name', + 'html-preheader' => ':app_name 有新事件报告。', + 'html' => ':app_name 有新事件报告。
此致,:app_name
', ], ], ], @@ -90,8 +90,8 @@ return [ // Other 'powered_by' => ':app 应用状态页面由 Cachet提供支持。', 'about_this_site' => '关于此站点', - 'rss-feed' => '', - 'atom-feed' => '', + 'rss-feed' => 'RSS 订阅', + 'atom-feed' => 'Atom 订阅', 'feed' => '状态源', ]; diff --git a/resources/lang/zh-CN/dashboard.php b/resources/lang/zh-CN/dashboard.php index 852d7474..4ea02ef8 100755 --- a/resources/lang/zh-CN/dashboard.php +++ b/resources/lang/zh-CN/dashboard.php @@ -127,7 +127,7 @@ return [ 'success' => '团队成员已添加。', 'failure' => '添加组件失败。', ], - 'edit' => [ + 'edit' => [ 'title' => '更新配置文件', 'success' => '配置文件已更新。', 'failure' => '资料更新失败。', @@ -172,7 +172,7 @@ return [ 'logout' => '注销', // Notifications - 'notifications' => [ + 'notifications' => [ 'notifications' => '通知', 'awesome' => '太棒了!', 'whoops' => '哎呦!', diff --git a/resources/lang/zh-CN/errors.php b/resources/lang/zh-CN/errors.php new file mode 100644 index 00000000..b40875a0 --- /dev/null +++ b/resources/lang/zh-CN/errors.php @@ -0,0 +1,25 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +return [ + 'not-found' => [ + 'code' => '404', + 'title' => '这个页面失踪了!', + 'message' => '抱歉,但我们无法找到您要访问的的页面。请检查你的 URL,然后重试。', + 'link' => '返回主页', + ], + 'unauthorized' => [ + 'code' => '401', + 'title' => '未授权', + 'message' => '很抱歉,您需要管理员权限才能看到此页面。', + 'link' => '返回主页', + ], +]; diff --git a/resources/lang/zh-CN/forms.php b/resources/lang/zh-CN/forms.php index ffdced44..ceaa7305 100755 --- a/resources/lang/zh-CN/forms.php +++ b/resources/lang/zh-CN/forms.php @@ -21,8 +21,8 @@ return [ 'site_timezone' => '选择您的时区', 'site_locale' => '选择您的语言', 'enable_google2fa' => '启用谷歌双因素身份验证', - 'cache_driver' => '', - 'session_driver' => '', + 'cache_driver' => '缓存驱动', + 'session_driver' => '会话驱动', ], // Login form fields @@ -44,7 +44,7 @@ return [ 'message-help' => '您可以使用Markdown语言。', 'scheduled_at' => '什么时间安排维护?', 'incident_time' => '这次事件是什么时候发生的?', - 'notify_subscribers' => '', + 'notify_subscribers' => '通知订阅者', 'visibility' => '事件的可见性', 'public' => '公共可见', 'logged_in_only' => '仅登录用户可见', @@ -103,9 +103,9 @@ return [ 'banner-help' => '建议上传文件宽度不大于930像素。', 'analytics_google' => 'Google Analytics 代码', 'analytics_gosquared' => 'GoSquared Analytics 代码', - 'analytics_piwik_url' => '', - 'analytics_piwik_siteid' => '', - 'subscribers' => '', + 'analytics_piwik_url' => '输入Piwik实例的URL(不含http(s)://)', + 'analytics_piwik_siteid' => 'Piwik 的站点 id', + 'subscribers' => '允许用户订阅邮件通知吗?', ], 'security' => [ 'allowed-domains' => '允许的域', diff --git a/resources/lang/zh-CN/reminders.php b/resources/lang/zh-CN/reminders.php index d0e28a32..841327ee 100755 --- a/resources/lang/zh-CN/reminders.php +++ b/resources/lang/zh-CN/reminders.php @@ -1,14 +1,5 @@ - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - return [ /* diff --git a/resources/lang/zh-CN/setup.php b/resources/lang/zh-CN/setup.php index d1439f3a..1e574db7 100755 --- a/resources/lang/zh-CN/setup.php +++ b/resources/lang/zh-CN/setup.php @@ -13,7 +13,7 @@ return [ 'setup' => '设置', 'title' => '安装 Cachet', 'service_details' => '服务细节', - 'env_setup' => '', + 'env_setup' => '环境设置', 'status_page_setup' => '状态页面设置', 'show_support' => '您想支持Cachet么?', 'admin_account' => '管理员帐户', diff --git a/resources/lang/zh-CN/validation.php b/resources/lang/zh-CN/validation.php index 85270cfb..a66ebf55 100755 --- a/resources/lang/zh-CN/validation.php +++ b/resources/lang/zh-CN/validation.php @@ -22,41 +22,41 @@ return [ | */ - 'accepted' => ':attribute 必须是可以接受的。', - 'active_url' => ':attribute 不是一个有效的URL网址。', - 'after' => ':attribute 必须在 :date 之后。', - 'alpha' => ':attribute 只能包含字母。', - 'alpha_dash' => ':attribute 只能包含字母,数字和破折号。', - 'alpha_num' => ':attribute 只允许包含字母和数字。', - 'array' => ':attribute 必须是个数组。', - 'before' => ':attribute 必须在 :date 之前。', - 'between' => [ + 'accepted' => ':attribute 必须是可以接受的。', + 'active_url' => ':attribute 不是一个有效的URL网址。', + 'after' => ':attribute 必须在 :date 之后。', + 'alpha' => ':attribute 只能包含字母。', + 'alpha_dash' => ':attribute 只能包含字母,数字和破折号。', + 'alpha_num' => ':attribute 只允许包含字母和数字。', + 'array' => ':attribute 必须是个数组。', + 'before' => ':attribute 必须在 :date 之前。', + 'between' => [ 'numeric' => ':attribute 必须在 :min 到 :max 之间。', 'file' => ':attribute 必须在 :min 到 :max KB 之间。', 'string' => ':attribute 必须在 :min 到 :max 字符之间。', 'array' => ':attribute 必须在 :min 到 :max 个数目之间。', ], - 'boolean' => ':attribute 必须为 true(正确) 或者 false(错误)', - 'confirmed' => ':attribute 与确认项目不匹配', - 'date' => ':attribute 不是个有效日期', - 'date_format' => ':attribute 不符合 :format 的格式', - 'different' => ':attribute 和 :other 不能相同。', - 'digits' => ':attribute 必须是 :digits 位数。', - 'digits_between' => ':attribute 必须在 :min 和 :max 位之间。', - 'email' => ':attribute 必须是个有效的邮件地址。', - 'exists' => '选择的 :attribute 无效。', - 'image' => ':attribute 必须是图片。', - 'in' => '选择的 :attribute 无效。', - 'integer' => ':attribute 必须是整数。', - 'ip' => ':attribute 必须是一个有效的 IP 地址。', - 'max' => [ + 'boolean' => ':attribute 必须为 true(正确) 或者 false(错误)', + 'confirmed' => ':attribute 与确认项目不匹配', + 'date' => ':attribute 不是个有效日期', + 'date_format' => ':attribute 不符合 :format 的格式', + 'different' => ':attribute 和 :other 不能相同。', + 'digits' => ':attribute 必须是 :digits 位数。', + 'digits_between' => ':attribute 必须在 :min 和 :max 位之间。', + 'email' => ':attribute 必须是个有效的邮件地址。', + 'exists' => '选择的 :attribute 无效。', + 'image' => ':attribute 必须是图片。', + 'in' => '选择的 :attribute 无效。', + 'integer' => ':attribute 必须是整数。', + 'ip' => ':attribute 必须是一个有效的 IP 地址。', + 'max' => [ 'numeric' => ':attribute 不能大于 :max。', 'file' => ':attribute 不能大于 :max KB。', 'string' => ':attribute 不能大于 :max 个字符。', 'array' => ':attribute 不能超过 :max 个。', ], - 'mimes' => ':attribute 文件类型必须是 :values。', - 'min' => [ + 'mimes' => ':attribute 文件类型必须是 :values。', + 'min' => [ 'numeric' => ':attribute 最少是 :min。', 'file' => ':attribute 至少需要 :min KB。', 'string' => ':attribute 最少需要 :min个字符。', @@ -78,10 +78,10 @@ return [ 'string' => ':attribute 必须是 :size 个字符', 'array' => ':attribute 必须包含 :size 个', ], - 'string' => '', - 'unique' => ':attribute 已经被占用', - 'url' => ':attribute 的格式无效', - 'timezone' => ':attribute 必须是个有效的区域。', + 'string' => ':attribute必须是一个字符串。', + 'unique' => ':attribute 已经被占用', + 'url' => ':attribute 的格式无效', + 'timezone' => ':attribute 必须是个有效的区域。', /* |--------------------------------------------------------------------------