mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
Merge pull request #6624 from ddevsr/language-valid-json
fix: missing `valid_json` in Validation Language
This commit is contained in:
commit
0d002ebd88
@ -59,6 +59,7 @@ return [
|
||||
'valid_url' => 'The {field} field must contain a valid URL.',
|
||||
'valid_url_strict' => 'The {field} field must contain a valid URL.',
|
||||
'valid_date' => 'The {field} field must contain a valid date.',
|
||||
'valid_json' => 'The {field} field must contain a valid json.',
|
||||
|
||||
// Credit Cards
|
||||
'valid_cc_num' => '{field} does not appear to be a valid credit card number.',
|
||||
|
@ -231,6 +231,7 @@ final class LanguageTest extends CIUnitTestCase
|
||||
['RESTful'],
|
||||
['Router'],
|
||||
['Session'],
|
||||
['Test'],
|
||||
['Time'],
|
||||
['Validation'],
|
||||
['View'],
|
||||
|
@ -21,6 +21,11 @@ Enhancements
|
||||
|
||||
none.
|
||||
|
||||
Message Changes
|
||||
***************
|
||||
|
||||
- Added missing item ``valid_json`` in ``Language/en/Validation.php``
|
||||
|
||||
Changes
|
||||
*******
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user