README.rdoc in kaminari-0.9.7 vs README.rdoc in kaminari-0.9.8
- old
+ new
@@ -87,10 +87,22 @@
* Ajax links (crazy simple, but works perfectly!)
This would add data-remote="true" to all the links inside.
<%= paginate @users, :remote => true %>
+=== I18n and labels
+
+The default labels for 'previous', '...' and 'next' are rendered through I18n API.
+So, for example, if you want to change the "prev_label" to '<-', add it to a YAML file in your Rails.root/config/locales directory. Keys and the default values are the following.
+
+ en:
+ views:
+ pagination:
+ previous: "« Prev"
+ next: "Next »"
+ truncate: "..."
+
=== Customizing the pagination helper
Kaminari includes a handy template generator.
* to edit your paginator
@@ -112,10 +124,10 @@
% rails g kaminari:views
== For more information
-Check out Kaminari recipes on the GitHub Wiki.
+Check out Kaminari recipes on the GitHub Wiki for more advanced tips and techniques.
https://github.com/amatsuda/kaminari/wiki/Kaminari-recipes
== Questions, Feedbacks
Feel free to message me on Github (amatsuda) or Twitter (@a_matsuda) ☇☇☇ :)