Skip to content

Commit d9724c7

Browse files
authored
Merge pull request #10013 from neznaika0/fix/lang-typo
fix: Validation lang typo
2 parents 31a3212 + eff1813 commit d9724c7

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

system/Language/en/Validation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
'valid_json' => 'The {field} field must contain a valid json.',
6666

6767
// Credit Cards
68-
'valid_cc_num' => '{field} does not appear to be a valid credit card number.',
68+
'valid_cc_number' => '{field} does not appear to be a valid credit card number.',
6969

7070
// Files
7171
'uploaded' => '{field} is not a valid uploaded file.',

user_guide_src/source/changelogs/v4.7.1.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Message Changes
1919
***************
2020

2121
- Updated ``Images.unsupportedImageCreate``.
22+
- Renamed the ``Validation.valid_cc_num`` key to ``Validation.valid_cc_number``.
2223

2324
*******
2425
Changes
@@ -58,6 +59,7 @@ Bugs Fixed
5859
- **Toolbar:** Fixed a bug where the standalone toolbar page loaded from ``?debugbar_time=...`` was not interactive.
5960
- **Toolbar:** Fixed a bug in the Routes panel where only the first route parameter was converted to an input field on hover.
6061
- **Testing:** Fixed a bug in ``FeatureTestTrait::withRoutes()`` where invalid HTTP methods were not properly validated, thus passing them all to ``RouteCollection``.
62+
- **Validation:** Rule ``valid_cc_number`` now has the correct translation.
6163
- **View:** Fixed a bug where ``View`` would throw an error if the ``appOverridesFolder`` config property was not defined.
6264

6365
See the repo's

0 commit comments

Comments
 (0)