From 995b7a2039496b85fc2d58b26432423ee030ac74 Mon Sep 17 00:00:00 2001 From: Meutel Date: Sat, 8 Aug 2015 23:12:16 +0200 Subject: [PATCH] translations --- app/views/books/show.html.erb | 16 ++++++++-------- app/views/layouts/_dl_link.html.erb | 2 +- app/views/layouts/application.html.erb | 4 ++-- config/locales/en.yml | 22 ++++++++++++++++++---- config/locales/fr.yml | 19 +++++++++++++++++-- 5 files changed, 46 insertions(+), 17 deletions(-) diff --git a/app/views/books/show.html.erb b/app/views/books/show.html.erb index 45e24cc..26ffc90 100644 --- a/app/views/books/show.html.erb +++ b/app/views/books/show.html.erb @@ -15,7 +15,7 @@ <% end %>

- <%= "Author".pluralize(@book.authors.count) %> + <%= t(:book_authors, count: @book.authors.count) %>