Просмотр файла resources/lang/en/validator.php

Размер файла: 1.87Kb
  1. <?php
  2.  
  3. return [
  4. 'user' => 'User is not found!',
  5. 'token' => 'Invalid session id, retry action!',
  6. 'flood' => 'Anti-flood! Please wait :sec seconds before sending again!',
  7. 'text' => 'Post text is too long or short!',
  8. 'text_long' => 'Post text is too long!',
  9. 'comment_long' => 'Comment too long!',
  10. 'phone' => 'Invalid phone format. Example: 8 900 123-45-67',
  11. 'captcha' => 'Could not pass the captcha test!',
  12. 'site' => 'Invalid site address! Example: http://site.domain',
  13. 'url' => 'Invalid URL! The characters [a-z0-9_-.?=#/] are allowed. Example: http://site.domain',
  14. 'url_text' => 'URL is too long or short!',
  15. 'color' => 'Invalid color format! Example: #ff0000',
  16. 'date' => 'Invalid date of birth! Example: dd.mm.yyyy',
  17. 'email' => 'Invalid email address! Example: name@site.domain',
  18. 'login' => 'Invalid characters in login. Latin characters, numbers, and hyphens are allowed!',
  19. 'deletion' => 'No records selected for deletion!',
  20. 'not_ajax' => 'This is not an ajax request!',
  21.  
  22. 'length_min' => 'At least :length char.',
  23. 'length_max' => 'No more :length char.',
  24. 'between' => 'From :min to :max',
  25. 'extension' => 'Invalid file extension!',
  26. 'size_max' => 'Maximum file weight :size!',
  27. 'weight_max' => 'Maximum image size :weight px!',
  28. 'weight_min' => 'Minimum image size :weight px!',
  29. 'weight_empty' => 'Image size is too small!',
  30. 'files_max' => 'Allowed to upload no more than :max files!',
  31. 'active_upload' => 'Not enough asset to upload files!',
  32. 'file_upload_failed' => 'Failed to load file!',
  33. 'file_upload_one' => 'You must upload at least 1 file!',
  34. 'image_upload_failed' => 'Failed to load image!',
  35. ];