From d9ed443cb217868f3507668721d39a0ec9d5263c Mon Sep 17 00:00:00 2001 From: Larissa Reis Date: Tue, 26 Apr 2016 09:56:19 -0300 Subject: [PATCH] Fixes pluralization of search results string --- app/views/profile_search/_results_list.html.erb | 2 +- app/views/search/_search_content.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/profile_search/_results_list.html.erb b/app/views/profile_search/_results_list.html.erb index 5b68f41..29147a6 100644 --- a/app/views/profile_search/_results_list.html.erb +++ b/app/views/profile_search/_results_list.html.erb @@ -1,7 +1,7 @@
<% if @results %>
- <%= _("%s results found") % @results.total_entries %> + <%= n_("%s result found", "%s results found", @results.total_entries) % @results.total_entries %>