made pagination translatable
This commit is contained in:
parent
f8229d07e8
commit
a0f9fb35f3
2 changed files with 9 additions and 0 deletions
6
config/initializers/will_paginate.rb
Normal file
6
config/initializers/will_paginate.rb
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
# Copyright (c) 2010, Diaspora Inc. This file is
|
||||
# licensed under the Affero General Public License version 3 or later. See
|
||||
# the COPYRIGHT file.
|
||||
|
||||
WillPaginate::ViewHelpers.pagination_options[:previous_label] = "« #{I18n.t('pagination.previous')}"
|
||||
WillPaginate::ViewHelpers.pagination_options[:next_label] = "#{I18n.t('pagination.next')} »"
|
||||
|
|
@ -394,3 +394,6 @@ en:
|
|||
webfinger:
|
||||
fetch_failed: "failed to fetch webfinger profile for %{profile_url}"
|
||||
hcard_fetch_failed: "there was a problem fetching the hcard for #{@account}"
|
||||
pagination:
|
||||
next: "Next"
|
||||
previous: "Previous"
|
||||
|
|
|
|||
Loading…
Reference in a new issue