diff --git a/app/views/books/_index.html.erb b/app/views/books/_index.html.erb index 2737350..2015e49 100644 --- a/app/views/books/_index.html.erb +++ b/app/views/books/_index.html.erb @@ -1,14 +1,14 @@ <% opts = { data: { url: url_for, remote: true, method: :get } } content_for :latest_filter do %>
- <%= label_tag "sort", "Sort by" %> + <%= label_tag "sort", t(:sort_by) %>
<% end %> @@ -17,9 +17,9 @@ content_for :latest_filter do %> <%= will_paginate class: "center" %> - - - + + + <% @books.each do |book| %> diff --git a/app/views/layouts/_book_dl.html.erb b/app/views/layouts/_book_dl.html.erb index a7793a9..d7cd95a 100644 --- a/app/views/layouts/_book_dl.html.erb +++ b/app/views/layouts/_book_dl.html.erb @@ -4,7 +4,7 @@
@@ -13,9 +13,9 @@ <%= form_tag({}, {method: :get, remote: true}) do %>
- <%= button_tag "Search", class: "btn btn-default" %> + <%= button_tag t(:search), class: "btn btn-default" %> - <%= search_field_tag(:term, @preference.term, placeholder: "Search for...", class: "form-control") %> + <%= search_field_tag(:term, @preference.term, placeholder: t(:search_ph), class: "form-control") %>
<% end %> <%= render'layouts/perpage' %> diff --git a/app/views/layouts/_initials.html.erb b/app/views/layouts/_initials.html.erb index 2772661..3e39316 100644 --- a/app/views/layouts/_initials.html.erb +++ b/app/views/layouts/_initials.html.erb @@ -1,9 +1,8 @@ <% initials = ['0'] + ('A'..'Z').to_a %>
-
NameAuthorsSerie<%= t :col_book_title %><%= t :col_book_authors %><%= t :col_book_serie %>