jazzband / django-recurrence

Utility for working with recurring dates in Django.
https://django-recurrence.readthedocs.org/
BSD 3-Clause "New" or "Revised" License
491 stars 190 forks source link

No error handling in JS code if translation is not setup correctly #218

Open lino opened 2 years ago

lino commented 2 years ago

Several issues (e.g. #170 ) in this project are related to surprises in our setup process and documentation with room for improvement.

I'll look into adding error handling in the JS side to give out helpful error messages hinting to setting up the translation stuff correctly.

GambetaClub commented 2 years ago

I installed and imported JavaScriptCatalog into my URLs and my error shows: "ReferenceError: pgettext is not defined at recurrence.js:1037:12". My django version is 4.0. I pass {{ form.media }} to my template but still doesn't work. Any suggestion? Thank you!