lib/grape/locale/en.yml in grape-0.8.0 vs lib/grape/locale/en.yml in grape-0.9.0

- old
+ new

@@ -1,18 +1,18 @@ en: grape: errors: - format: ! '%{attribute} %{message}' + format: ! '%{attributes} %{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'" + resolution: "eg: version 'v1', using: :header, vendor: 'twitter'" missing_mime_type: problem: 'missing mime type for %{new_format}' resolution: "you can choose existing mime type from Grape::ContentTypes::CONTENT_TYPES or add your own with content_type :%{new_format}, 'application/%{new_format}' @@ -27,6 +27,8 @@ 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}' mutual_exclusion: 'are mutually exclusive' - exactly_one: "- exactly one parameter must be provided" + at_least_one: 'are missing, at least one parameter must be provided' + exactly_one: 'are missing, exactly one parameter must be provided' +