/resources/lang/en/validation.php

https://gitlab.com/rohiri/SIINDI · PHP · 283 lines · 220 code · 33 blank · 30 comment · 0 complexity · c94f174bfd6387b5963e710ca4185eff 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. 'filled' => 'The :attribute field is required.',
  36. 'exists' => 'The selected :attribute is invalid.',
  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. 'max' => [
  42. 'numeric' => 'The :attribute may not be greater than :max.',
  43. 'file' => 'The :attribute may not be greater than :max kilobytes.',
  44. 'string' => 'The :attribute may not be greater than :max characters.',
  45. 'array' => 'The :attribute may not have more than :max items.',
  46. ],
  47. 'mimes' => 'The :attribute must be a file of type: :values.',
  48. 'min' => [
  49. 'numeric' => 'The :attribute must be at least :min.',
  50. 'file' => 'The :attribute must be at least :min kilobytes.',
  51. 'string' => 'The :attribute must be at least :min characters.',
  52. 'array' => 'The :attribute must have at least :min items.',
  53. ],
  54. 'not_in' => 'The selected :attribute is invalid.',
  55. 'numeric' => 'The :attribute must be a number.',
  56. 'regex' => 'The :attribute format is invalid.',
  57. 'required' => 'The :attribute field is required.',
  58. 'required_if' => 'The :attribute field is required when :other is :value.',
  59. 'required_with' => 'The :attribute field is required when :values is present.',
  60. 'required_with_all' => 'The :attribute field is required when :values is present.',
  61. 'required_without' => 'The :attribute field is required when :values is not present.',
  62. 'required_without_all' => 'The :attribute field is required when none of :values are present.',
  63. 'same' => 'The :attribute and :other must match.',
  64. 'size' => [
  65. 'numeric' => 'The :attribute must be :size.',
  66. 'file' => 'The :attribute must be :size kilobytes.',
  67. 'string' => 'The :attribute must be :size characters.',
  68. 'array' => 'The :attribute must contain :size items.',
  69. ],
  70. 'string' => 'The :attribute must be a string.',
  71. 'timezone' => 'The :attribute must be a valid zone.',
  72. 'unique' => 'The :attribute has already been taken.',
  73. 'url' => 'The :attribute format is invalid.',
  74. /*
  75. |--------------------------------------------------------------------------
  76. | Custom Validation Language Lines
  77. |--------------------------------------------------------------------------
  78. |
  79. | Here you may specify custom validation messages for attributes using the
  80. | convention "attribute.rule" to name the lines. This makes it quick to
  81. | specify a specific custom language line for a given attribute rule.
  82. |
  83. */
  84. 'custom' => [
  85. 'id_periodo' => [
  86. 'unique' => 'El Periodo Ya Ha Sido Registrado',
  87. 'required' => 'El Campo Periodo Es Obligatorio',],
  88. 'e_inscritos' => [
  89. 'regex' => 'El Formato de Estudiantes Inscritos No Es Correcto (Solo valores entre 0-999)',
  90. 'required' => 'El Campo Estudiantes Inscritos Es Obligatorio',],
  91. 'e_admintidos' => [
  92. 'regex' => 'El Formato de Estudiantes Admitidos No Es Correcto (Solo valores entre 10-999)',
  93. 'required' => 'El Campo Estudiantes Inscritos Es Obligatorio',],
  94. 'matriculados_total' => [
  95. 'regex' => 'El Formato de Estudiantes Matriculados En Total No Es Correcto (Solo valores entre 10-9999)',
  96. 'required' => 'El Campo Estudiantes Inscritos Es Obligatorio',],
  97. 'matriculados_primersemestre' => [
  98. 'regex' => 'El Formato de Matriculados En Primer Semestre No Es Correcto (Solo valores entre 10-999)',
  99. 'required' => 'El Campo Estudiantes Inscritos Es Obligatorio',],
  100. 'graduados' => [
  101. 'regex' => 'El Formato de Estudiantes Graduados No Es Correcto (Solo valores entre 0-9999)',
  102. 'required' => 'El Campo Estudiantes Inscritos Es Obligatorio',],
  103. 'retirados' => [
  104. 'regex' => 'El Formato de Estudiantes Retirados No Es Correcto (Solo valores entre 0-9999)',
  105. 'required' => 'El Campo Estudiantes Inscritos Es Obligatorio',],
  106. 'tasa_desercion' => [
  107. 'regex' => 'El Formato de Tasa de Desercion Inscritos No Es Correcto (Solo valores entre 0-99)',
  108. 'required' => 'El Campo Estudiantes Inscritos Es Obligatorio',],
  109. 'tasa_culminacion' => [
  110. 'regex' => 'El Formato de Tasa de Culminación No Es Correcto (Solo valores entre 0-99)',
  111. 'required' => 'El Campo Estudiantes Inscritos Es Obligatorio',],
  112. 'codigo_curso' => [
  113. 'regex' => 'El Formato del Código Del Curso No Es Correcto (Deber Ser de 6 Caracteres)',
  114. 'unique' => 'El Código del Curso Ya Ha Sido Registrado',
  115. 'required' => 'El Campo Código del Curso Es Obligatorio',],
  116. 'nombre_curso' => [
  117. 'min' => 'El Nombre del Curso No Debe Ser Inferior a :min Caracteres',
  118. 'max' => 'El Nombre del Curso No Debe Ser Superior a :max Caracteres',
  119. 'required' => 'El Campo Nombre Del Curso Es Obligatorio',],
  120. 'tipo_curso' => [
  121. 'min' => 'El Campo Tipo Del Curso No Debe Ser Inferior a :min Caracteres',
  122. 'max' => 'El Campo Tipo Del Curso No Debe Ser Superior a :max Caracteres',
  123. 'required' => 'El Campo Tipo Del Curso Es Obligatorio',],
  124. 'semestre' => [
  125. 'min' => 'El Campo Semeste No Debe Ser Inferior a :min Caracteres',
  126. 'max' => 'El Campo Semestre No Debe Ser Superior a :max Caracteres',
  127. 'required' => 'El Campo Semestre Es Obligatorio',],
  128. 'area' => [
  129. 'min' => 'El Campo Area No Debe Ser Inferior a :min Caracteres',
  130. 'max' => 'El Campo Area No Debe Ser Superior a :max Caracteres',
  131. 'required' => 'El Campo Area Es Obligatorio',],
  132. 'creditos' => [
  133. 'min' => 'El Campo Creditos No Debe Ser Inferior a :min Caracteres',
  134. 'max' => 'El Campo Creditos No Debe Ser Superior a :max Caracteres',
  135. 'required' => 'El Campo Creditos Es Obligatorio',],
  136. 'id_planestudio' => [
  137. 'required' => 'El Campo Plan de Estudio Es Obligatorio',],
  138. 'id_profesor' => [
  139. 'required' => 'El Campo Profesor Es Obligatorio',],
  140. 'valor'=>[
  141. 'required'=>'El Campo Valor Es Obligatorio',
  142. 'regex'=>'El Formato Del Campo Valor No Es Correcto (Debe ser de 1 a 2 Caracteres)',],
  143. 'numero_consejo'=>[
  144. 'required'=>'El Número Del Consejo Es Obligatorio',
  145. 'min' => 'El Número Del Consejo No Debe Ser Inferior a :min Caracteres',
  146. 'max' => 'El Número Del Consejo No Debe Ser Superior a :max Caracteres',],
  147. 'fecha'=>[
  148. 'required'=>'El Campo Fecha Es Obligatorio',],
  149. 'nombre_evento'=>[
  150. 'required'=>'El Campo Nombre Del Evento es Obligatorio',
  151. 'min' => 'El Nombre Del Evento No Debe Ser Inferior a :min Caracteres',
  152. 'max' => 'El Nombre Del Evento No Debe Ser Superior a :max Caracteres',],
  153. 'lugar'=>[
  154. 'min' => 'El Lugar No Debe Ser Inferior a :min Caracteres',
  155. 'max' => 'El Lugar No Debe Ser Superior a :max Caracteres',],
  156. 'caracter_evento'=>[
  157. 'required'=>'El Campo Caracter Del Evento es Obligatorio',],
  158. 'id_tipoeventos'=>[
  159. 'required'=>'El Campo Tipo De Evento es Obligatorio',],
  160. 'nombre_actividad'=>[
  161. 'required'=>'El Campo Nombre De La Actividad Es Obligatorio',
  162. 'min' => 'El Campo Nombre De La Actividad No Debe Ser Inferior a :min Caracteres',
  163. 'max' => 'El Campo Nombre De La Actividad No Debe Ser Superior a :max Caracteres',],
  164. 'sesion_consejo'=>[
  165. 'required'=>'El Campo Número De La Sesión Del Consejo Es Obligatorio',
  166. 'min' => 'El Campo Número De La Sesión Del Consejo No Debe Ser Inferior a :min Caracteres',
  167. 'max' => 'El Campo Número De La Sesión Del Consejo No Debe Ser Superior a :max Caracteres',],
  168. 'fecha_sesion'=>[
  169. 'required'=>'La Fecha De La Sesión Es Obligatoria',],
  170. 'tipo_movilidad'=>[
  171. 'required'=>'El Campo Tipo De Movilidad Es Obligatorio',],
  172. 'id_evento'=>[
  173. 'required'=>'El Campo Evento Es Obligatorio'],
  174. 'nombre_nivelestudio'=>[
  175. 'required'=>'El Nombre Del Nivel De Estudio Es Obligatorio',
  176. 'min' => 'El Nombre Del Nivel De Estudio No Debe Ser Inferior a :min Caracteres',
  177. 'max' => 'El Nombre Del Nivel De Estudio No Debe Ser Superior a :max Caracteres',],
  178. 'nombre_programa'=>[
  179. 'required'=>'El Nombre Del Programa Es Obligatorio',
  180. 'min' => 'El Nombre Del Programa No Debe Ser Inferior a :min Caracteres',
  181. 'max' => 'El Nombre Del Programao No Debe Ser Superior a :max Caracteres',],
  182. 'nombre_tipoevento'=>[
  183. 'required'=>'El Nombre Del Tipo De Evento Es Obligatorio',
  184. 'min' => 'El Nombre Del Tipo De Evento No Debe Ser Inferior a :min Caracteres',
  185. 'max' => 'El Nombre Del Tipo De Evento No Debe Ser Superior a :max Caracteres',],
  186. 'nombre_vinculacion'=>[
  187. 'required'=>'El Nombre De La Vinculación Es Obligatorio',
  188. 'min' => 'El Nombre De La Vinculación No Debe Ser Inferior a :min Caracteres',
  189. 'max' => 'El Nombre De La Vinculación No Debe Ser Superior a :max Caracteres',],
  190. 'id_programa'=>[
  191. 'required'=>'El Nombre Del Programa Es Obligatorio',],
  192. 'id_nivelestudio'=>[
  193. 'required'=>'El Nombre Del Nivel De Estudio Es Obligatorio',],
  194. 'titulo_estudio'=>[
  195. 'required'=>'El Título De Estudio Es Obligatorio',
  196. 'min' => 'El Título De Estudio No Debe Ser Inferior a :min Caracteres',
  197. 'max' => 'El Título De Estudio No Debe Ser Superior a :max Caracteres',],
  198. 'cedula'=>[
  199. 'required'=>'El Campo Cédula Es Obligatorio',
  200. 'unique'=>'El Campo Cédula Es Único',
  201. 'regex'=>'El Formato Del Campo Cédula No Es Correcto (Debe ser de 7, 8, o 10 Caracteres)',],
  202. 'primer_nombre'=>[
  203. 'required'=>'El Campo Primer Nombre Es Obligatorio',
  204. 'min' => 'El Campo Primer Nombre No Debe Ser Inferior a :min Caracteres',
  205. 'max' => 'El Campo Primer Nombre No Debe Ser Superior a :max Caracteres',],
  206. 'segundo_nombre'=>[
  207. 'min' => 'El Campo Segundo Nombre No Debe Ser Inferior a :min Caracteres',
  208. 'max' => 'El Campo Segundo Nombre No Debe Ser Superior a :max Caracteres',],
  209. 'primer_apellido'=>[
  210. 'required'=>'El Campo Primer Apellido Es Obligatorio',
  211. 'min' => 'El Campo Primer Apellido No Debe Ser Inferior a :min Caracteres',
  212. 'max' => 'El Campo Primer Apellido No Debe Ser Superior a :max Caracteres',],
  213. 'segundo_apellido'=>[
  214. 'min' => 'El Campo Segundo Apellido No Debe Ser Inferior a :min Caracteres',
  215. 'max' => 'El Campo Segundo Apellido No Debe Ser Superior a :max Caracteres',],
  216. 'email'=>[
  217. 'required'=>'El Email Es Obligatorio',
  218. 'email'=>'El Formato Del Campo Email No Es Correcto',],
  219. 'telefono'=>[
  220. 'min' => 'El Campo Teléfono No Debe Ser Inferior a :min Caracteres',
  221. 'max' => 'El Campo Teléfono No Debe Ser Superior a :max Caracteres',],
  222. 'codigo'=>[
  223. 'required'=>'El Campo Código Es Obligatorio',
  224. 'unique'=>'El Campo Código Es Único',
  225. 'regex'=>'El Formato Del Código No Es Correcto (Debe ser de 6 Caracteres)'],
  226. 'fecha_resolucion'=>[
  227. 'required'=>'El Campo Fecha De Resolución Es Obligatorio',],
  228. 'numero_resolucion'=>[
  229. 'required'=>'El Campo Número De Resolución Es Obligatorio',
  230. 'min' => 'El Campo Número De Resolución No Debe Ser Inferior a :min Caracteres',
  231. 'max' => 'El Campo Número De Resolución No Debe Ser Superior a :max Caracteres',],
  232. 'fecha_inicio'=>[
  233. 'required'=>'El Campo Fecha De Inicio Es Obligatorio',],
  234. 'fecha_fin'=>[
  235. 'required'=>'El Campo Fecha Fin Es Obligatorio',],
  236. 'id_programa'=>[
  237. 'required'=>'El Campo Programa Es Obligatorio',],
  238. ],
  239. /*
  240. |--------------------------------------------------------------------------
  241. | Custom Validation Attributes
  242. |--------------------------------------------------------------------------
  243. |
  244. | The following language lines are used to swap attribute place-holders
  245. | with something more reader friendly such as E-Mail Address instead
  246. | of "email". This simply helps us make messages a little cleaner.
  247. |
  248. */
  249. 'attributes' => [],
  250. ];