lib/grape/locale/en.yml in grape-0.6.0 vs lib/grape/locale/en.yml in grape-0.6.1
- old
+ new
@@ -4,10 +4,11 @@
format: ! '%{attribute} %{message}'
messages:
coerce: 'is invalid'
presence: 'is missing'
regexp: 'is invalid'
+ values: 'does not have a valid value'
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:
@@ -24,5 +25,6 @@
invalid_versioner_option:
problem: 'Unknown :using for versioner: %{strategy}'
resolution: 'available strategy for :using is :path, :header, :param'
unknown_validator: 'unknown validator: %{validator_type}'
unknown_options: 'unknown options: %{options}'
+ incompatible_option_values: '%{option1}: %{value1} is incompatible with %{option2}: %{value2}'