lib/grape/locale/en.yml in grape-0.9.0 vs lib/grape/locale/en.yml in grape-0.10.0
- old
+ new
@@ -4,10 +4,11 @@
format: ! '%{attributes} %{message}'
messages:
coerce: 'is invalid'
presence: 'is missing'
regexp: 'is invalid'
+ blank: 'is empty'
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'"
@@ -29,6 +30,7 @@
unknown_options: 'unknown options: %{options}'
incompatible_option_values: '%{option1}: %{value1} is incompatible with %{option2}: %{value2}'
mutual_exclusion: 'are mutually exclusive'
at_least_one: 'are missing, at least one parameter must be provided'
exactly_one: 'are missing, exactly one parameter must be provided'
+ all_or_none: 'provide all or none of parameters'