From 2fa2ff9070b5cdd05b433bc4bfdddb7872b46cac Mon Sep 17 00:00:00 2001 From: James Brooks Date: Tue, 23 Jun 2015 15:46:37 +0100 Subject: [PATCH] Fix CS on language files and add copyright header --- resources/lang/ru/dashboard.php | 2 +- resources/lang/ru/validation.php | 58 ++++++++++++++--------------- resources/lang/zh-CN/dashboard.php | 4 +- resources/lang/zh-CN/reminders.php | 9 +++++ resources/lang/zh-CN/validation.php | 58 ++++++++++++++--------------- 5 files changed, 70 insertions(+), 61 deletions(-) diff --git a/resources/lang/ru/dashboard.php b/resources/lang/ru/dashboard.php index c6769b76..ef1c2a58 100644 --- a/resources/lang/ru/dashboard.php +++ b/resources/lang/ru/dashboard.php @@ -172,7 +172,7 @@ return [ 'logout' => 'Выйти', // Notifications - 'notifications' => [ + 'notifications' => [ 'notifications' => 'Уведомления', 'awesome' => 'Отлично!', 'whoops' => 'Ой-ой!', diff --git a/resources/lang/ru/validation.php b/resources/lang/ru/validation.php index 11ed83c9..aa8336cb 100644 --- a/resources/lang/ru/validation.php +++ b/resources/lang/ru/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 килобайт.', '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 килобайт.', 'string' => ':attribute не должно превышать :max символов.', 'array' => ':attribute не может содержать больше чем :max элементов.', ], - 'mimes' => ':attribute должно быть файлом типа: :values.', - 'min' => [ + 'mimes' => ':attribute должно быть файлом типа: :values.', + 'min' => [ 'numeric' => ':attribute должно быть не меньше :min.', 'file' => ':attribute должно быть не меньше :min килобайт.', 'string' => ':attribute должно быть не меньше :min символов.', @@ -78,10 +78,10 @@ return [ 'string' => 'Поле :attribute должно содержать :size символов.', 'array' => 'Поле :attribute должно содержать :size элементов.', ], - 'string' => 'Поле :attribute должно быть строкой.', - 'unique' => ':attribute уже занято.', - 'url' => 'Неправильный формат :attribute.', - 'timezone' => ':attribute должно быть корректным часовым поясом.', + 'string' => 'Поле :attribute должно быть строкой.', + 'unique' => ':attribute уже занято.', + 'url' => 'Неправильный формат :attribute.', + 'timezone' => ':attribute должно быть корректным часовым поясом.', /* |-------------------------------------------------------------------------- diff --git a/resources/lang/zh-CN/dashboard.php b/resources/lang/zh-CN/dashboard.php index 4ea02ef8..852d7474 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/reminders.php b/resources/lang/zh-CN/reminders.php index 841327ee..d0e28a32 100755 --- a/resources/lang/zh-CN/reminders.php +++ b/resources/lang/zh-CN/reminders.php @@ -1,5 +1,14 @@ + * + * 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/validation.php b/resources/lang/zh-CN/validation.php index a66ebf55..7897cbc2 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' => ':attribute必须是一个字符串。', - 'unique' => ':attribute 已经被占用', - 'url' => ':attribute 的格式无效', - 'timezone' => ':attribute 必须是个有效的区域。', + 'string' => ':attribute必须是一个字符串。', + 'unique' => ':attribute 已经被占用', + 'url' => ':attribute 的格式无效', + 'timezone' => ':attribute 必须是个有效的区域。', /* |--------------------------------------------------------------------------