Skip to content

Commit e6f12f5

Browse files
authored
Merge pull request rails#46827 from maxim/patch-2
Add comparison rows to i18n error interpolations table
2 parents d05395c + d8c2c3e commit e6f12f5

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)