Update README.rdoc

Added info for non-English localization use.
This commit is contained in:
Alexandr 2016-02-17 21:55:37 +03:00
parent 5629661f84
commit 9ed0f0e58c
1 changed files with 1 additions and 0 deletions

View File

@ -220,6 +220,7 @@ Keys and the default values are the following. You can override them by adding t
other: "Displaying <b>all %{count}</b> %{entry_name}"
more_pages:
display_entries: "Displaying %{entry_name} <b>%{first}&nbsp;-&nbsp;%{last}</b> of <b>%{total}</b> in total"
If you use non-English localization see {i18n rules}[https://github.com/svenfuchs/i18n/blob/f19893d84262261d9c8abe303f465ea28ba057e4/test/test_data/locales/plurals.rb] for changing <tt>one_page:display_entries</tt> block.
=== Customizing the pagination helper