plone/mockup — pull request #452 by jcbrand (2014-12-19 12:34:18+00:00)
Title: Make patterns more generic by loading the i18n catalog in a separate step.

Hi mockers

This pull request makes the Mockup patterns more generic by refactoring the loading of the i18n catalog out of the patterns themselves.

By having that step out of the patterns themselves, one could conceivably use a different i18n library (such as Jed.js), merely by changing the require.js paths config and without having the modify the pattern itself.

This is important considering the goal of eventually getting Mockup and Patternslib back together.

We want to have the ability to write patterns that are usable outside of Plone as well as to use patterns that were written by people from outside of the Plone community. So making our own patterns generic is a very important step towards that goal.

The changes here require an additional entry to the Plone resource registries, for which I'll make a Plone request soon.

Feedback/thoughts are appreciated.