Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve error message for missing pluralization key #371

Merged
merged 1 commit into from Jul 6, 2017

Commits on Jun 5, 2017

  1. Improve error message for missing pluralization key

    The error message for InvalidPluralizationData should include the missing key that triggered the error. For non-default pluralization rules like the CLDR rules for many languages, the sought-for key will not be obvious from the count.
    
    Also, the force_invalid_pluralization_data method in exceptions_test was not actually raising an exception, so a few assertions that relied on it were not being tested.
    ragesoss committed Jun 5, 2017
    Copy the full SHA
    ed3623f View commit details
    Browse the repository at this point in the history