Merge pull request #760 from wfjsw/master

Update Chinese lang. Closes #758
This commit is contained in:
James Brooks 2015-06-23 15:37:13 +01:00
commit 69f213a4dc
7 changed files with 82 additions and 66 deletions

View File

@ -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' => '<p>请确认您的 :app_name 电子邮件订阅。</p><p>:link</p><p>此致,:app_name</p>',
],
'maintenance' => [
'text' => '',
'html-preheader' => '',
'html' => '',
'text' => '新的维护计划已被安排在 :app_name 上。\\n此致:app_name',
'html-preheader' => '新的维护计划已被安排在 :app_name 上。',
'html' => '<p>新的维护计划已被安排在 :app_name 上。</p><p>此致,:app_name</p>',
],
'incident' => [
'text' => '',
'html-preheader' => '',
'html' => '',
'text' => ':app_name 有新事件报告。\\n此致:app_name',
'html-preheader' => ':app_name 有新事件报告。',
'html' => '<p>:app_name 有新事件报告。</p><p>此致,:app_name</p>',
],
],
],
@ -90,8 +90,8 @@ return [
// Other
'powered_by' => ':app 应用状态页面由 <a href="https://cachethq.io">Cachet</a>提供支持。',
'about_this_site' => '关于此站点',
'rss-feed' => '',
'atom-feed' => '',
'rss-feed' => 'RSS 订阅',
'atom-feed' => 'Atom 订阅',
'feed' => '状态源',
];

View File

@ -127,7 +127,7 @@ return [
'success' => '团队成员已添加。',
'failure' => '添加组件失败。',
],
'edit' => [
'edit' => [
'title' => '更新配置文件',
'success' => '配置文件已更新。',
'failure' => '资料更新失败。',
@ -172,7 +172,7 @@ return [
'logout' => '注销',
// Notifications
'notifications' => [
'notifications' => [
'notifications' => '通知',
'awesome' => '太棒了!',
'whoops' => '哎呦!',

View File

@ -0,0 +1,25 @@
<?php
/*
* This file is part of Cachet.
*
* (c) Cachet HQ <support@cachethq.io>
*
* 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' => '返回主页',
],
];

View File

@ -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' => '允许的域',

View File

@ -1,14 +1,5 @@
<?php
/*
* This file is part of Cachet.
*
* (c) Cachet HQ <support@cachethq.io>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
return [
/*

View File

@ -13,7 +13,7 @@ return [
'setup' => '设置',
'title' => '安装 Cachet',
'service_details' => '服务细节',
'env_setup' => '',
'env_setup' => '环境设置',
'status_page_setup' => '状态页面设置',
'show_support' => '您想支持Cachet么?',
'admin_account' => '管理员帐户',

View File

@ -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 必须是个有效的区域。',
/*
|--------------------------------------------------------------------------