Translated pagination links.

This commit is contained in:
Benjamin Meichsner 2009-03-23 10:47:42 +01:00
parent 51f9826ea6
commit 1772e8840c
1 changed files with 3 additions and 3 deletions

View File

@ -21,8 +21,8 @@ module ApplicationHelper
update = options[:update] || nil
# Translations
previous_label = '« ' + _('Previous')
next_label = _('Next') + ' »'
previous_label = '« ' + "Vorherige"
next_label = "Nächste" + ' »'
# Merge other url-options for will_paginate
params = params.merge({:per_page => per_page})
will_paginate collection, { :params => params, :remote => true, :update => update,
@ -49,7 +49,7 @@ module ApplicationHelper
links << per_page
end
end
return _('Per page: ') + links.join(" ")
return "Pro Seite: " + links.join(" ")
end
def sort_td_class_helper(param)