form_validation_lang.php 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <?php
  2. /**
  3. * CodeIgniter
  4. *
  5. * An open source application development framework for PHP
  6. *
  7. * This content is released under the MIT License (MIT)
  8. *
  9. * Copyright (c) 2014 - 2019, British Columbia Institute of Technology
  10. *
  11. * Permission is hereby granted, free of charge, to any person obtaining a copy
  12. * of this software and associated documentation files (the "Software"), to deal
  13. * in the Software without restriction, including without limitation the rights
  14. * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  15. * copies of the Software, and to permit persons to whom the Software is
  16. * furnished to do so, subject to the following conditions:
  17. *
  18. * The above copyright notice and this permission notice shall be included in
  19. * all copies or substantial portions of the Software.
  20. *
  21. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  22. * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  23. * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  24. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  25. * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  26. * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  27. * THE SOFTWARE.
  28. *
  29. * @package CodeIgniter
  30. * @author EllisLab Dev Team
  31. * @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (https://ellislab.com/)
  32. * @copyright Copyright (c) 2014 - 2019, British Columbia Institute of Technology (https://bcit.ca/)
  33. * @license https://opensource.org/licenses/MIT MIT License
  34. * @link https://codeigniter.com
  35. * @since Version 1.0.0
  36. * @filesource
  37. */
  38. defined('BASEPATH') OR exit('No direct script access allowed');
  39. $lang['form_validation_required'] = 'The {field} field is required.';
  40. $lang['form_validation_isset'] = 'The {field} field must have a value.';
  41. $lang['form_validation_valid_email'] = 'The {field} field must contain a valid email address.';
  42. $lang['form_validation_valid_emails'] = 'The {field} field must contain all valid email addresses.';
  43. $lang['form_validation_valid_url'] = 'The {field} field must contain a valid URL.';
  44. $lang['form_validation_valid_ip'] = 'The {field} field must contain a valid IP.';
  45. $lang['form_validation_valid_base64'] = 'The {field} field must contain a valid Base64 string.';
  46. $lang['form_validation_min_length'] = 'The {field} field must be at least {param} characters in length.';
  47. $lang['form_validation_max_length'] = 'The {field} field cannot exceed {param} characters in length.';
  48. $lang['form_validation_exact_length'] = 'The {field} field must be exactly {param} characters in length.';
  49. $lang['form_validation_alpha'] = 'The {field} field may only contain alphabetical characters.';
  50. $lang['form_validation_alpha_numeric'] = 'The {field} field may only contain alpha-numeric characters.';
  51. $lang['form_validation_alpha_numeric_spaces'] = 'The {field} field may only contain alpha-numeric characters and spaces.';
  52. $lang['form_validation_alpha_dash'] = 'The {field} field may only contain alpha-numeric characters, underscores, and dashes.';
  53. $lang['form_validation_numeric'] = 'The {field} field must contain only numbers.';
  54. $lang['form_validation_is_numeric'] = 'The {field} field must contain only numeric characters.';
  55. $lang['form_validation_integer'] = 'The {field} field must contain an integer.';
  56. $lang['form_validation_regex_match'] = 'The {field} field is not in the correct format.';
  57. $lang['form_validation_matches'] = 'The {field} field does not match the {param} field.';
  58. $lang['form_validation_differs'] = 'The {field} field must differ from the {param} field.';
  59. $lang['form_validation_is_unique'] = 'The {field} field must contain a unique value.';
  60. $lang['form_validation_is_natural'] = 'The {field} field must only contain digits.';
  61. $lang['form_validation_is_natural_no_zero'] = 'The {field} field must only contain digits and must be greater than zero.';
  62. $lang['form_validation_decimal'] = 'The {field} field must contain a decimal number.';
  63. $lang['form_validation_less_than'] = 'The {field} field must contain a number less than {param}.';
  64. $lang['form_validation_less_than_equal_to'] = 'The {field} field must contain a number less than or equal to {param}.';
  65. $lang['form_validation_greater_than'] = 'The {field} field must contain a number greater than {param}.';
  66. $lang['form_validation_greater_than_equal_to'] = 'The {field} field must contain a number greater than or equal to {param}.';
  67. $lang['form_validation_error_message_not_set'] = 'Unable to access an error message corresponding to your field name {field}.';
  68. $lang['form_validation_in_list'] = 'The {field} field must be one of: {param}.';