Skip to content

Commit

Permalink
updated comments in plurals.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
ddnexus committed Oct 10, 2018
1 parent 5ed458a commit d3510a7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/locales/plurals.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit d3510a7

Please sign in to comment.