Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Changeset [f1fba716bad505a52a2199bdd5e7bb4e768073f3] by Mislav Marohnić

Revision f1fba716bad505a52a2199bdd5e7bb4e768073f3, committed by Mislav Marohnić · July 28th, 2011 @ 06:52 PM

have no fear, i18n is here!

: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 #99, #10, #109
https://github.com/mislav/will_paginate/commit/f1fba716bad505a52a21...

13 changed files

  • A lib/will_paginate/locale/en.yml
  • R lib/will_paginate/view_helpers/base.rb
  • M lib/will_paginate/core_ext.rb
  • M lib/will_paginate/railtie.rb
  • M lib/will_paginate/view_helpers.rb
  • M lib/will_paginate/view_helpers/action_view.rb
  • M lib/will_paginate/view_helpers/link_renderer.rb
  • M lib/will_paginate/view_helpers/link_renderer_base.rb
  • M spec/spec_helper.rb
  • M spec/view_helpers/action_view_spec.rb
  • M spec/view_helpers/base_spec.rb
  • M spec/view_helpers/link_renderer_base_spec.rb
  • M spec/view_helpers/view_example_group.rb