forked from mislav/will_paginate
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
:previous_label, :next_label, page gap text and the `page_entries_info` method output can now all be translated by overriding values seen in "lib/will_paginate/locale/en.yml" from your own application locale files. closes mislav#99, mislav#10, mislav#109
- Loading branch information
Showing
13 changed files
with
325 additions
and
352 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
en: | ||
views: | ||
will_paginate: | ||
previous_label: "← Previous" | ||
next_label: "Next →" | ||
page_gap: "…" | ||
|
||
page_entries_info: | ||
single_page: | ||
zero: "No %{plural} found" | ||
one: "Displaying 1 %{name}" | ||
other: "Displaying all %{count} %{plural}" | ||
single_page_html: | ||
zero: "No %{plural} found" | ||
one: "Displaying <b>1</b> %{name}" | ||
other: "Displaying <b>all %{count}</b> %{plural}" | ||
|
||
multi_page: "Displaying %{plural} %{from} - %{to} of %{total} in total" | ||
multi_page_html: "Displaying %{plural} <b class='range'>%{from} - %{to}</b> of <b class='total'>%{total}</b> in total" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.