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]