Skip to content

Commit d8c2c3e

Browse files
authored
Add comparison to i18n error interpolations table
1 parent 1a03cd4 commit d8c2c3e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

guides/source/i18n.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -996,6 +996,12 @@ So, for example, instead of the default error message `"cannot be blank"` you co
996996
| numericality | :in | :in | count |
997997
| numericality | :odd | :odd | - |
998998
| numericality | :even | :even | - |
999+
| comparison | :greater_than | :greater_than | count |
1000+
| comparison | :greater_than_or_equal_to | :greater_than_or_equal_to | count |
1001+
| comparison | :equal_to | :equal_to | count |
1002+
| comparison | :less_than | :less_than | count |
1003+
| comparison | :less_than_or_equal_to | :less_than_or_equal_to | count |
1004+
| comparison | :other_than | :other_than | count |
9991005

10001006
### Translations for Action Mailer E-Mail Subjects
10011007

0 commit comments

Comments
 (0)