Misc addition #336

Closed
wants to merge 7 commits into
from

Conversation

Projects
None yet
2 participants

Adding (Customize Page information text - "Displaying/Listing/Viewing" posts 1 of 10 etc etc.)

Mislav ! What you think (Customizing the page info feature) should not be there in will_paginate ? :)

Owner

Princetambar commented on 24ede04 Sep 25, 2013

Spec added for customizing page infor

Owner

mislav commented Sep 27, 2013

You can already customize the full sentence by editing translations in your app. E.g.

en:
  will_paginate:
    page_entries_info:
      single_page:
        zero:  "No %{model} found"
        one:   "Listing 1 %{model}"
        other: "Listing all %{count} %{model}"

You can also define per-model translations

mislav closed this Sep 27, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment