diff --git a/config/initializers/will_paginate.rb b/config/initializers/will_paginate.rb new file mode 100644 index 000000000..eb149ea22 --- /dev/null +++ b/config/initializers/will_paginate.rb @@ -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')} »" diff --git a/config/locales/diaspora/en.yml b/config/locales/diaspora/en.yml index d780d8f62..e0e00110e 100644 --- a/config/locales/diaspora/en.yml +++ b/config/locales/diaspora/en.yml @@ -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"