Fix poll validation issues (#10186)

- Fix missing interpolation argument in PollValidator
- Fix PollValidator rejecting exact allowed min/max durations
This commit is contained in:
Eugen Rochko
2019-03-06 04:54:11 +01:00
committed by GitHub
parent d97cbb0da6
commit 5996be994d
10 changed files with 20 additions and 20 deletions

View File

@ -741,9 +741,9 @@ en:
duration_too_long: is too far into the future
duration_too_short: is too soon
expired: The poll has already ended
over_character_limit: cannot be longer than %{MAX} characters each
over_character_limit: cannot be longer than %{max} characters each
too_few_options: must have more than one item
too_many_options: can't contain more than %{MAX} items
too_many_options: can't contain more than %{max} items
preferences:
languages: Languages
other: Other