lib/grape/locale/en.yml in grape-2.0.0 vs lib/grape/locale/en.yml in grape-2.1.0
- old
+ new
@@ -8,9 +8,12 @@
regexp: 'is invalid'
blank: 'is empty'
values: 'does not have a valid value'
except_values: 'has a value not allowed'
same_as: 'is not the same as %{parameter}'
+ length: 'is expected to have length within %{min} and %{max}'
+ length_min: 'is expected to have length greater than or equal to %{min}'
+ length_max: 'is expected to have length less than or equal to %{max}'
missing_vendor_option:
problem: 'missing :vendor option'
summary: 'when version using header, you must specify :vendor option'
resolution: "eg: version 'v1', using: :header, vendor: 'twitter'"
missing_mime_type: