From d3510a7b0813f70a1e08713437de8c62c8c19a28 Mon Sep 17 00:00:00 2001 From: Domizio Demichelis Date: Wed, 10 Oct 2018 12:15:31 +0700 Subject: [PATCH] updated comments in plurals.rb --- lib/locales/plurals.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/locales/plurals.rb b/lib/locales/plurals.rb index ae3309a99..d4a20784a 100644 --- a/lib/locales/plurals.rb +++ b/lib/locales/plurals.rb @@ -25,8 +25,9 @@ } # Languages (language/plural pairs) -# Contain all the entries for all the languages defined in the pagy.yml dictionary -# The default plural for missing languages is the :zero_one_other plural (used for English) +# Contain all the entries for all the languages defined in the dictionaries. +# The default plural for languages not explicitly listed here +# is the :zero_one_other plural (used for English) Hash.new(plurals[:zero_one_other]).tap do |languages| languages['en'] = plurals[:zero_one_other] languages['ru'] = plurals[:one_few_many_other]