Changeset [f1fba716bad505a52a2199bdd5e7bb4e768073f3] 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...

Committed by Mislav Marohnić

  • 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
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Everyone's favorite Ruby library for pagination of practically anything!