Subversion Repository Public Repository

paulgoughbooks_old

This repository has no backups
This repository's network speed is throttled to 100KB/sec

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<?php

/**
 * Validation language strings.
 *
 * @package    CodeIgniter
 * @author     CodeIgniter Dev Team
 * @copyright  2019-2020 CodeIgniter Foundation
 * @license    https://opensource.org/licenses/MIT	MIT License
 * @link       https://codeigniter.com
 * @since      Version 4.0.0
 * @filesource
 *
 * @codeCoverageIgnore
 */

return [
	// Core Messages
   'noRuleSets'            => 'No rulesets specified in Validation configuration.',
   'ruleNotFound'          => '{0} is not a valid rule.',
   'groupNotFound'         => '{0} is not a validation rules group.',
   'groupNotArray'         => '{0} rule group must be an array.',
   'invalidTemplate'       => '{0} is not a valid Validation template.',

	// Rule Messages
   'alpha'                 => 'The {field} field may only contain alphabetical characters.',
   'alpha_dash'            => 'The {field} field may only contain alphanumeric, underscore, and dash characters.',
   'alpha_numeric'         => 'The {field} field may only contain alphanumeric characters.',
   'alpha_numeric_punct'   => 'The {field} field may contain only alphanumeric characters, spaces, and  ~ ! # $ % & * - _ + = | : . characters.',
   'alpha_numeric_space'   => 'The {field} field may only contain alphanumeric and space characters.',
   'alpha_space'           => 'The {field} field may only contain alphabetical characters and spaces.',
   'decimal'               => 'The {field} field must contain a decimal number.',
   'differs'               => 'The {field} field must differ from the {param} field.',
   'equals'                => 'The {field} field must be exactly: {param}.',
   'exact_length'          => 'The {field} field must be exactly {param} characters in length.',
   'greater_than'          => 'The {field} field must contain a number greater than {param}.',
   'greater_than_equal_to' => 'The {field} field must contain a number greater than or equal to {param}.',
   'hex'                   => 'The {field} field may only contain hexidecimal characters.',
   'in_list'               => 'The {field} field must be one of: {param}.',
   'integer'               => 'The {field} field must contain an integer.',
   'is_natural'            => 'The {field} field must only contain digits.',
   'is_natural_no_zero'    => 'The {field} field must only contain digits and must be greater than zero.',
   'is_not_unique'         => 'The {field} field must contain a previously existing value in the database.',
   'is_unique'             => 'The {field} field must contain a unique value.',
   'less_than'             => 'The {field} field must contain a number less than {param}.',
   'less_than_equal_to'    => 'The {field} field must contain a number less than or equal to {param}.',
   'matches'               => 'The {field} field does not match the {param} field.',
   'max_length'            => 'The {field} field cannot exceed {param} characters in length.',
   'min_length'            => 'The {field} field must be at least {param} characters in length.',
   'not_equals'            => 'The {field} field cannot be: {param}.',
   'numeric'               => 'The {field} field must contain only numbers.',
   'regex_match'           => 'The {field} field is not in the correct format.',
   'required'              => 'The {field} field is required.',
   'required_with'         => 'The {field} field is required when {param} is present.',
   'required_without'      => 'The {field} field is required when {param} is not present.',
   'string'                => 'The {field} field must be a valid string.',
   'timezone'              => 'The {field} field must be a valid timezone.',
   'valid_base64'          => 'The {field} field must be a valid base64 string.',
   'valid_email'           => 'The {field} field must contain a valid email address.',
   'valid_emails'          => 'The {field} field must contain all valid email addresses.',
   'valid_ip'              => 'The {field} field must contain a valid IP.',
   'valid_url'             => 'The {field} field must contain a valid URL.',
   'valid_date'            => 'The {field} field must contain a valid date.',

	// Credit Cards
   'valid_cc_num'          => '{field} does not appear to be a valid credit card number.',

	// Files
   'uploaded'              => '{field} is not a valid uploaded file.',
   'max_size'              => '{field} is too large of a file.',
   'is_image'              => '{field} is not a valid, uploaded image file.',
   'mime_in'               => '{field} does not have a valid mime type.',
   'ext_in'                => '{field} does not have a valid file extension.',
   'max_dims'              => '{field} is either not an image, or it is too wide or tall.',
];

Commits for paulgoughbooks_old/trunk/system/Language/en/Validation.php

Diff revisions: vs.
Revision Author Commited Message
2 tporter picture tporter Tue 03 Nov, 2020 08:50:21 +0000

Migration of Paul Goughs Books site to Codeignitor 4