PageRenderTime 44ms CodeModel.GetById 16ms RepoModel.GetById 0ms app.codeStats 0ms

/resources/lang/es/validation.php

https://gitlab.com/nasirkhan/laravel-5-boilerplate
PHP | 135 lines | 97 code | 8 blank | 30 comment | 0 complexity | 37e40a54a202d37624780a3b5d06be23 MD5 | raw file
  1. <?php
  2. return [
  3. /*
  4. |--------------------------------------------------------------------------
  5. | Validation Language Lines
  6. |--------------------------------------------------------------------------
  7. |
  8. | The following language lines contain the default error messages used by
  9. | the validator class. Some of these rules have multiple versions such
  10. | as the size rules. Feel free to tweak each of these messages here.
  11. |
  12. */
  13. 'accepted' => 'The :attribute must be accepted.',
  14. 'active_url' => 'The :attribute is not a valid URL.',
  15. 'after' => 'The :attribute must be a date after :date.',
  16. 'alpha' => 'The :attribute may only contain letters.',
  17. 'alpha_dash' => 'The :attribute may only contain letters, numbers, and dashes.',
  18. 'alpha_num' => 'The :attribute may only contain letters and numbers.',
  19. 'array' => 'The :attribute must be an array.',
  20. 'before' => 'The :attribute must be a date before :date.',
  21. 'between' => [
  22. 'numeric' => 'The :attribute must be between :min and :max.',
  23. 'file' => 'The :attribute must be between :min and :max kilobytes.',
  24. 'string' => 'The :attribute must be between :min and :max characters.',
  25. 'array' => 'The :attribute must have between :min and :max items.',
  26. ],
  27. 'boolean' => 'The :attribute field must be true or false.',
  28. 'confirmed' => 'The :attribute confirmation does not match.',
  29. 'date' => 'The :attribute is not a valid date.',
  30. 'date_format' => 'The :attribute does not match the format :format.',
  31. 'different' => 'The :attribute and :other must be different.',
  32. 'digits' => 'The :attribute must be :digits digits.',
  33. 'digits_between' => 'The :attribute must be between :min and :max digits.',
  34. 'email' => 'The :attribute must be a valid email address.',
  35. 'exists' => 'The selected :attribute is invalid.',
  36. 'filled' => 'The :attribute field is required.',
  37. 'image' => 'The :attribute must be an image.',
  38. 'in' => 'The selected :attribute is invalid.',
  39. 'integer' => 'The :attribute must be an integer.',
  40. 'ip' => 'The :attribute must be a valid IP address.',
  41. 'json' => 'The :attribute must be a valid JSON string.',
  42. 'max' => [
  43. 'numeric' => 'The :attribute may not be greater than :max.',
  44. 'file' => 'The :attribute may not be greater than :max kilobytes.',
  45. 'string' => 'The :attribute may not be greater than :max characters.',
  46. 'array' => 'The :attribute may not have more than :max items.',
  47. ],
  48. 'mimes' => 'The :attribute must be a file of type: :values.',
  49. 'min' => [
  50. 'numeric' => 'The :attribute must be at least :min.',
  51. 'file' => 'The :attribute must be at least :min kilobytes.',
  52. 'string' => 'The :attribute must be at least :min characters.',
  53. 'array' => 'The :attribute must have at least :min items.',
  54. ],
  55. 'not_in' => 'The selected :attribute is invalid.',
  56. 'numeric' => 'The :attribute must be a number.',
  57. 'regex' => 'The :attribute format is invalid.',
  58. 'required' => 'The :attribute field is required.',
  59. 'required_if' => 'The :attribute field is required when :other is :value.',
  60. 'required_with' => 'The :attribute field is required when :values is present.',
  61. 'required_with_all' => 'The :attribute field is required when :values is present.',
  62. 'required_without' => 'The :attribute field is required when :values is not present.',
  63. 'required_without_all' => 'The :attribute field is required when none of :values are present.',
  64. 'same' => 'The :attribute and :other must match.',
  65. 'size' => [
  66. 'numeric' => 'The :attribute must be :size.',
  67. 'file' => 'The :attribute must be :size kilobytes.',
  68. 'string' => 'The :attribute must be :size characters.',
  69. 'array' => 'The :attribute must contain :size items.',
  70. ],
  71. 'string' => 'The :attribute must be a string.',
  72. 'timezone' => 'The :attribute must be a valid zone.',
  73. 'unique' => 'The :attribute has already been taken.',
  74. 'url' => 'The :attribute format is invalid.',
  75. /*
  76. |--------------------------------------------------------------------------
  77. | Custom Validation Language Lines
  78. |--------------------------------------------------------------------------
  79. |
  80. | Here you may specify custom validation messages for attributes using the
  81. | convention "attribute.rule" to name the lines. This makes it quick to
  82. | specify a specific custom language line for a given attribute rule.
  83. |
  84. */
  85. 'custom' => [
  86. 'attribute-name' => [
  87. 'rule-name' => 'custom-message',
  88. ],
  89. ],
  90. /*
  91. |--------------------------------------------------------------------------
  92. | Custom Validation Attributes
  93. |--------------------------------------------------------------------------
  94. |
  95. | The following language lines are used to swap attribute place-holders
  96. | with something more reader friendly such as E-Mail Address instead
  97. | of "email". This simply helps us make messages a little cleaner.
  98. |
  99. */
  100. 'attributes' => [
  101. 'name' => 'Nombre',
  102. 'email' => 'Correo electronico',
  103. 'password' => 'Contraseña',
  104. 'password_confirmation' => 'Confirmacion de contraseña',
  105. 'old_password' => 'Contraseña anterior',
  106. 'new_password' => 'Nueva contraseña',
  107. 'new_password_confirmation' => 'Confirme la nueva contraseña',
  108. 'created_at' => 'Creado el',
  109. 'last_updated' => 'Ultima actualizacion',
  110. 'actions' => 'Acciones',
  111. 'active' => 'Activo',
  112. 'confirmed' => 'Confirmado',
  113. 'send_confirmation_email' => 'Enviar mail de confirmacion',
  114. 'associated_roles' => 'Roles asociados',
  115. 'other_permissions' => 'Otros permisos',
  116. 'role_name' => 'Nombre de rol',
  117. 'role_sort' => 'Ordenar roles',
  118. 'associated_permissions' => 'Permisos asociados',
  119. 'permission_name' => 'Nombre del permiso',
  120. 'display_name' => 'Mostrar nombre',
  121. 'system_permission' => 'Permiso de sistema?',
  122. 'permission_group_name' => 'Nombre de grupo',
  123. 'group' => 'Grupo',
  124. 'group-sort' => 'Ordenar grupo',
  125. 'dependencies' => 'Dependencias',
  126. ],
  127. ];