Skip to content

Commit 435b70a

Browse files
diegosardinadg
authored andcommitted
typo [Closes #1049]
1 parent 025d6f8 commit 435b70a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

forms/en/validation.texy

+3-3
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ For elements `addText()`, `addPassword()`, `addTextArea()`, `addEmail()`, `addIn
5959
| `Range` | value in the range | pair `[int\|float, int\|float]`
6060

6161
The `Integer`, `Numeric` a `Float` rules automatically convert the value to integer (or float respectively). Furthermore, the `URL` rule also accepts an address without a schema (eg `nette.org`) and completes the schema (`https://nette.org`).
62-
The expressions in `Pattern` and `PatternInsensitive` must be valid for the whole value, ie as if it were wrapped in the characters `^` and `$`.
62+
The expressions in `Pattern` and `PatternInsensitive` must be valid for the whole value, i.e. as if it were wrapped in the characters `^` and `$`.
6363

6464

6565
Number of Items
@@ -89,7 +89,7 @@ The `MimeType` and `Image` require PHP extension `fileinfo`. Whether a file or i
8989
Error Messages
9090
==============
9191

92-
All predefined rules except `Pattern` and `PatternInsensitive` have a default error message, so they it be omitted. However, by passing and formulating all customized messages, you will make the form more user-friendly.
92+
All predefined rules except `Pattern` and `PatternInsensitive` have a default error message, so they can be omitted. However, by passing and formulating all customized messages, you will make the form more user-friendly.
9393

9494
You can change the default messages in [forms:configuration], by modifying the texts in the `Nette\Forms\Validator::$messages` array or by using [translator|rendering#translating].
9595

@@ -279,7 +279,7 @@ $form->addText('zip', 'Postcode:')
279279
->addRule($form::Pattern, 'The postal code is not five digits', '\d{5}');
280280
```
281281

282-
The filter is included between the validation rules and conditions and therefore depends on the order of the methods, ie the filter and the rule are called in the same order as is the order of the `addFilter()` and `addRule()` methods.
282+
The filter is included between the validation rules and conditions and therefore depends on the order of the methods, i.e. the filter and the rule are called in the same order as is the order of the `addFilter()` and `addRule()` methods.
283283

284284

285285
JavaScript Validation

0 commit comments

Comments
 (0)