Browse files

Added entries for models in config/locales/en.yml as will_paginate ge…

…m does not pluralize models correctly in page_entries_info - see mislav/will_paginate#208.
  • Loading branch information...
1 parent 52290a6 commit 86fc610ffa56cf60a4b1c3c548a05a8665bd1aba Alex Nenadic committed Jul 1, 2013
Showing with 33 additions and 4 deletions.
  1. +33 −4 config/locales/en.yml
View
37 config/locales/en.yml
@@ -1,5 +1,34 @@
-# Sample localization file for English. Add more files in this directory for other locales.
-# See http://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
-
+### Sample localization file for English. Add more files in this directory for other locales.
+### See http://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
en:
- hello: "Hello world"
+# will_paginate:
+# models:
+# user:
+# page_entries_info:
+# multi_page: "Displaying users %{from} - %{to} of %{count} in total"
+# multi_page_html: "Displaying users <b>%{from} - %{to}</b> of <b>%{count}</b> in total"
+# single_page:
+# one: "Displaying 1 user"
+# other: "Displaying all %{count} users"
+# zero: "No users found"
+# single_page_html:
+# one: "Displaying <b>1</b> user"
+# other: "Displaying <b>all %{count}</b> users"
+# zero: "No users found"
+ will_paginate:
+ models:
+ user:
+ zero: "users"
+ one: "user"
+ few: "users"
+ other: "users"
+ service:
+ zero: "services"
+ one: "service"
+ few: "services"
+ other: "services"
+ service_provider:
+ zero: "service providers"
+ one: "service provider"
+ few: "service providers"
+ other: "service providers"

0 comments on commit 86fc610

Please sign in to comment.