lib/grape/locale/en.yml in grape-0.5.0 vs lib/grape/locale/en.yml in grape-0.6.0
- old
+ new
@@ -1,11 +1,12 @@
en:
grape:
errors:
+ format: ! '%{attribute} %{message}'
messages:
- coerce: 'invalid parameter: %{attribute}'
- presence: 'missing parameter: %{attribute}'
- regexp: 'invalid parameter: %{attribute}'
+ coerce: 'is invalid'
+ presence: 'is missing'
+ regexp: 'is invalid'
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: