Skip to content

Commit

Permalink
Merge pull request #1 from anhsaker/patch-1
Browse files Browse the repository at this point in the history
Add patch-1 to master
  • Loading branch information
anhskohbo committed Jul 31, 2013
2 parents d71b500 + 3e145ee commit 727cd9f
Show file tree
Hide file tree
Showing 3 changed files with 167 additions and 0 deletions.
29 changes: 29 additions & 0 deletions vi/pagination.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?php

/*
|--------------------------------------------------------------------------
| Vietnamese Language for Laravel 4
|--------------------------------------------------------------------------
|
| Translate by [email protected]
|
*/

return array(

/*
|--------------------------------------------------------------------------
| Pagination Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used by the paginator library to build
| the simple pagination links. You are free to change them to anything
| you want to customize your views to better match your application.
|
*/

'previous' => '&laquo; Trang sau',

'next' => 'Trang trước &raquo;',

);
31 changes: 31 additions & 0 deletions vi/reminders.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<?php

/*
|--------------------------------------------------------------------------
| Vietnamese Language for Laravel 4
|--------------------------------------------------------------------------
|
| Translate by [email protected]
|
*/

return array(

/*
|--------------------------------------------------------------------------
| Password Reminder Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are the default lines which match reasons
| that are given by the password broker for a password update attempt
| has failed, such as for an invalid token or invalid new password.
|
*/

"password" => "Mật khẩu phải gồm 6 ký tự và khớp với phần xác nhận.",

"user" => "Không tìm thấy user với địa chỉ email này.",

"token" => "Mã reset mật khẩu không hợp lệ.",

);
107 changes: 107 additions & 0 deletions vi/validation.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
<?php

/*
|--------------------------------------------------------------------------
| Vietnamese Language for Laravel 4
|--------------------------------------------------------------------------
|
| Translate by [email protected]
|
*/

return array(

/*
|--------------------------------------------------------------------------
| Validation Language Lines
|--------------------------------------------------------------------------
|
| The following language lines contain the default error messages used by
| the validator class. Some of these rules have multiple versions such
| such as the size rules. Feel free to tweak each of these messages.
|
*/

"accepted" => "Trường :attribute phải đuợc chấp nhận.",
"active_url" => "Trường :attribute không phải là một URL hợp lệ.",
"after" => "Trường :attribute phải là một ngày sau ngày :date.",
"alpha" => "Trường :attribute chỉ có thể chứa các chữ cái",
"alpha_dash" => "Trường :attribute chỉ có thể chứa chữ cái, số và dấu gạch ngang.",
"alpha_num" => "Trường :attribute chỉ có thể chứa chữ cái và số.",
"array" => "Kiểu dữ liệu của trường :attribute phải là dạng mảng.",
"before" => "Trường :attribute phải là một ngày trước ngày :date.",
"between" => array(
"numeric" => "Trường :attribute phải nằm trong khoảng :min - :max.",
"file" => "Dung lượng tập tin trong trường :attribute phải từ :min - :max kB.",
"string" => "Trường :attribute phải từ :min - :max ký tự.",
"array" => "Trường :attribute phải có từ :min - :max phần tử.",
),
"confirmed" => "Giá trị xác nhận trong trường :attribute không khớp.",
"date" => "Trường :attribute không phải là định dạng của ngày-tháng.",
"date_format" => "Trường :attribute không giống với định dạng :format.",
"different" => "Trường :attribute và :other phải khác nhau.",
"digits" => "Độ dài của trường :attribute phải gồm :digits chữ số.",
"digits_between" => "Độ dài của trường :attribute phải nằm trong khoảng :min and :max chữ số.",
"email" => "Trường :attribute không giống với định dạng của email.",
"exists" => "Giá trị đã chọn trong trường :attribute không hợp lệ.",
"image" => "Các tập tin trong trường :attribute phải là định dạng hình ảnh.",
"in" => "Giá trị đã chọn trong trường :attribute không hợp lệ.",
"integer" => "Trường :attribute phải là một số nguyên.",
"ip" => "Trường :attribute phải là một địa chỉa IP.",
"max" => array(
"numeric" => "Trường :attribute không đuợc lớn hơn :max.",
"file" => "Dung lượng tập tin trong trường :attribute không được lớn hơn :max kB.",
"string" => "Trường :attribute không được lớn hơn :max ký tự.",
"array" => "Trường :attribute không được lớn hơn :max phần tử.",
),
"mimes" => "Trường :attribute phải là một tập tin có định dạng: :values.",
"min" => array(
"numeric" => "Trường :attribute phải tối thiểu là :min.",
"file" => "Dung lượng tập tin trong trường :attribute phải tối thiểu :min kB.",
"string" => "Trường :attribute phải có tối thiểu :min ký tự.",
"array" => "Trường :attribute phải có tối thiểu :min phần tử.",
),
"not_in" => "Giá trị đã chọn trong trường :attribute không hợp lệ.",
"numeric" => "Trường :attribute phải là một số.",
"regex" => "Định dạng trường :attribute không hợp lệ.",
"required" => "Trường :attribute không đuợc bỏ trống.",
"required_if" => "Trường :attribute không đuợc bỏ trống khi trường :other là :value.",
"required_with" => "Trường :attribute không đuợc bỏ trống khi trường :values có giá trị.",
"required_without" => "Trường :attribute không đuợc bỏ trống khi trường :values không có giá trị.",
"same" => "Trường :attribute và :other phải giống nhau.",
"size" => array(
"numeric" => "Trường :attribute phải bằng :size.",
"file" => "Dung lượng tập tin trong trường :attribute phải bằng :size kB.",
"string" => "Trường :attribute phải chứa :size ký tự.",
"array" => "Trường :attribute phải chứa :size phần tử.",
),
"unique" => "Trường :attribute đã có trong CSDL.",
"url" => "Trường :attribute không giống với định dạng một URL.",

/*
|--------------------------------------------------------------------------
| Custom Validation Language Lines
|--------------------------------------------------------------------------
|
| Here you may specify custom validation messages for attributes using the
| convention "attribute.rule" to name the lines. This makes it quick to
| specify a specific custom language line for a given attribute rule.
|
*/

'custom' => array(),

/*
|--------------------------------------------------------------------------
| Custom Validation Attributes
|--------------------------------------------------------------------------
|
| The following language lines are used to swap attribute place-holders
| with something more reader friendly such as E-Mail Address instead
| of "email". This simply helps us make messages a little cleaner.
|
*/

'attributes' => array(),

);

0 comments on commit 727cd9f

Please sign in to comment.