config/locales/en.yml in activemodel-validators-1.0.0 vs config/locales/en.yml in activemodel-validators-1.1.0
- old
+ new
@@ -8,5 +8,11 @@
sum_of: "must be the sum of %{attr_names} (%{sum}) but was %{value}"
sum_of_with_addends: "must be the sum of %{attr_names} (%{addends} = %{sum}) but was %{value}"
must_be_blank: "must be blank"
+
+ at_least_one_field_must_be_present: "at least 1 of these fields must be present: %{attr_names_list}"
+
+ year_invalid: "is not a valid year (must be a number between %{min} and %{max})"
+ date_invalid: "is not a valid date (must be in %{expected_format} format)"
+ must_have_at_least_10_digits: "must have at least 10 digits"