made pagination translatable

This commit is contained in:
MrZYX 2010-11-26 21:01:13 +01:00
parent f8229d07e8
commit a0f9fb35f3
2 changed files with 9 additions and 0 deletions

View 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')} »"

View file

@ -394,3 +394,6 @@ en:
webfinger: webfinger:
fetch_failed: "failed to fetch webfinger profile for %{profile_url}" fetch_failed: "failed to fetch webfinger profile for %{profile_url}"
hcard_fetch_failed: "there was a problem fetching the hcard for #{@account}" hcard_fetch_failed: "there was a problem fetching the hcard for #{@account}"
pagination:
next: "Next"
previous: "Previous"