use new translation keys for will_paginate instead of the setting
This commit is contained in:
parent
77d850f492
commit
12d0eee7d9
2 changed files with 4 additions and 3 deletions
|
|
@ -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] = "« #{I18n.t('previous')}"
|
||||
WillPaginate::ViewHelpers.pagination_options[:next_label] = "#{I18n.t('next')} »"
|
||||
end
|
||||
|
||||
def clear_gc_stats
|
||||
|
|
|
|||
|
|
@ -1015,6 +1015,10 @@ en:
|
|||
email_confirmed: "Email %{email} activated"
|
||||
email_not_confirmed: "Email could not be activated. Wrong link?"
|
||||
|
||||
will_paginate:
|
||||
previous_label: "« previous"
|
||||
next_label: "next »"
|
||||
|
||||
webfinger:
|
||||
fetch_failed: "failed to fetch webfinger profile for %{profile_url}"
|
||||
hcard_fetch_failed: "there was a problem fetching the hcard for %{account}"
|
||||
|
|
|
|||
Loading…
Reference in a new issue