fixed bug with 'page_entries_info' (:few and :many in locale) #239

Closed
wants to merge 1 commit into
from

Projects

None yet

2 participants

@nlevchuk

Hi!
If 'page_entries_info' method receive array with 2 or more entries -> leads to an error. I fixed it. May be you include this commit in master brunch. Thank you.

@mislav
Owner
mislav commented Jan 10, 2013

@nlevchuk What error do you get? It works fine with just "zero", "one" and "other" keys. Other languages might need extra keys if they have complex 2 plural forms, but it's the responsibility of the user to create translations for those languages. In English, the current code works fine.

@mislav mislav closed this Jan 10, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment