lib/config/locales/en.yml in mongoid-scroll-0.3.7 vs lib/config/locales/en.yml in mongoid-scroll-1.0.0
- old
+ new
@@ -5,13 +5,21 @@
messages:
multiple_sort_fields:
message: "Scrolling over a criteria with multiple fields is not supported."
summary: "You're attempting to scroll over data with a sort order that includes multiple fields: %{sort}."
resolution: "Simplify the sort order to a single field."
+ mismatched_sort_fields:
+ message: "Specifying different sort fields than the original sort is not supported."
+ summary: "You're attempting to scroll over data with a sort order that differs between the cursor and the original criteria: %{diff}."
+ resolution: "Don't update the cursor sort options."
invalid_cursor:
message: "The cursor supplied is invalid."
summary: "The cursor supplied is invalid: %{cursor}."
resolution: "Cursors must be in the form 'value:tiebreak_id'."
+ invalid_base64_cursor:
+ message: "The cursor supplied is invalid."
+ summary: "The cursor supplied is invalid: %{cursor}."
+ resolution: "Cursors must be a base64-encoded string."
no_such_field:
message: "Invalid field."
summary: "The field supplied in the cursor does not exist: %{field}."
resolution: "Has the model changed or are you not sorting the criteria by the right field."
unsupported_field_type: