From 6a07a5883f0ff7f0c650d06eb4580f54203b39a5 Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Sun, 12 Jun 2022 09:06:58 -0700 Subject: [PATCH] Fix some typos --- CHANGELOG.md | 6 +++--- README.md | 2 +- kaminari-core/lib/kaminari/helpers/helper_methods.rb | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b39e484..f017d87 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -59,7 +59,7 @@ * Now the `page_entries_info` method respects the `I18n.locale` value when pluralizing the `entry_name` option #899 [@hundred] * `require 'kaminari/core'` is no longer necessary when using `require 'kaminari/activerecord'` #896 [@yhara] * Added the `#current_per_page` method to inspect current value of `per_page` #875 [#bfad] -* Better accesibility support by adding accessibility roles to pagination nav #848 [@frrrances] +* Better accessibility support by adding accessibility roles to pagination nav #848 [@frrrances] ### Bug Fixes: @@ -100,7 +100,7 @@ * Extracted Grape support to kaminari-grape gem and removed it from the core -* Splitted the gem into 3 internal gems: +* Split the gem into 3 internal gems: * The core pagination logic (kaminari-core) * Active Record adapter (kaminari-activerecord) * Action View adapter (kaminari-actionview) @@ -311,7 +311,7 @@ * Fixed displayed number of items on each page w/ Mongoid 2.4.x and MongoMapper #194 [@dblock] -* Removed a unused local variable from templates from default tamplate #245 [@juno] +* Removed an unused local variable from templates from default template #245 [@juno] * Fixed `page_entry_info` to use the value of `entry_name` option when given collection is empty or a PaginatableArray #265, #277 [@eitoball] diff --git a/README.md b/README.md index 9228e9b..866d20e 100644 --- a/README.md +++ b/README.md @@ -299,7 +299,7 @@ This option makes it easier to do things like A/B testing pagination templates/t This simply renders a link to the next page. This would be helpful for creating a Twitter-like pagination feature. -The helper methods support a `params` option to further specify the link. If `format` needs to be set, inlude it in the `params` hash. +The helper methods support a `params` option to further specify the link. If `format` needs to be set, include it in the `params` hash. ```erb <%= link_to_next_page @items, 'Next Page', params: {controller: 'foo', action: 'bar', format: :turbo_stream} %> diff --git a/kaminari-core/lib/kaminari/helpers/helper_methods.rb b/kaminari-core/lib/kaminari/helpers/helper_methods.rb index a0dbd7f..7d18d0e 100644 --- a/kaminari-core/lib/kaminari/helpers/helper_methods.rb +++ b/kaminari-core/lib/kaminari/helpers/helper_methods.rb @@ -193,7 +193,7 @@ module Kaminari # # By default, the message will use the humanized class name of objects # in collection: for instance, "project types" for ProjectType models. - # The namespace will be cutted out and only the last name will be used. + # The namespace will be cut out and only the last name will be used. # Override this with the :entry_name parameter: # # <%= page_entries_info @posts, entry_name: 'item' %>