Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Refactoring & adding I18n #4

Closed
wants to merge 2 commits into
from

Conversation

Projects
None yet
2 participants

Hi Amatsuda

I refactored the code a little bit. I was using kaminari in a clients project & i needed a custom pagination view the kaminari themes was a quick solution but it lacked I18n so i added it to the project.

JUST GIVING BACK TO OPEN SOURCE

@seuros seuros commented on the diff Sep 10, 2014

github/app/views/kaminari/_prev_page.html.haml
@@ -1,2 +1,2 @@
-~ link_to_unless current_page.first?, raw('« Newer'), url, :remote => remote do |name|
+~ link_to_unless current_page.first?, raw(t 'views.pagination.previous') , url, :remote => remote do |name|
@seuros

seuros Sep 10, 2014

Collaborator

why using raw ?

@seuros seuros closed this Nov 22, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment