use new translation keys for will_paginate instead of the setting

This commit is contained in:
Jonne Hass 2011-12-11 02:49:19 +01:00
parent 77d850f492
commit 12d0eee7d9
2 changed files with 4 additions and 3 deletions

View file

@ -83,9 +83,6 @@ class ApplicationController < ActionController::Base
else
I18n.locale = request.compatible_language_from AVAILABLE_LANGUAGE_CODES
end
WillPaginate::ViewHelpers.pagination_options[:previous_label] = "&laquo; #{I18n.t('previous')}"
WillPaginate::ViewHelpers.pagination_options[:next_label] = "#{I18n.t('next')} &raquo;"
end
def clear_gc_stats

View file

@ -1015,6 +1015,10 @@ en:
email_confirmed: "Email %{email} activated"
email_not_confirmed: "Email could not be activated. Wrong link?"
will_paginate:
previous_label: "&laquo; previous"
next_label: "next &raquo;"
webfinger:
fetch_failed: "failed to fetch webfinger profile for %{profile_url}"
hcard_fetch_failed: "there was a problem fetching the hcard for %{account}"