
Untitled
By: a guest on
Aug 7th, 2012 | syntax:
None | size: 0.84 KB | hits: 12 | expires: Never
Give custom messages in page_entries_info of will_paginate in rails
en:
will_paginate:
page_entries_info:
single_page:
zero: "No %{model} found"
one: "Displaying 1 %{model}"
other: "Displaying all %{count} %{model}"
single_page_html:
zero: "No %{model} found"
one: "Displaying <b>1</b> %{model}"
other: "Displaying <b>all %{count}</b> %{model}"
multi_page: "Displaying %{model} %{from} - %{to} of %{count} in total"
multi_page_html: "Displaying %{model} <b>%{from} - %{to}</b> of <b>%{count}</b> in total"
en:
will_paginate:
line_item:
page_entries_info:
multi_page: "Displaying %{from} - %{to} of %{count} of %{model}"
multi_page_html: "Displaying <b>%{from} - %{to}</b> of <b>%{count}</b> of %{model}"