Allow the modules to define the i18n messages, and other messages
required by its javascript module.
This will allow us to load the javascript modules as a static file, and
not as a Jinja2 template. This will increase the load time, as it will
decrease number of templates to be processed during loading those
javascripts.
Branch
------
master
Details
-------
http://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=9cae686c6528d0a8da9250c7f0eda5a70ecd9810
Modified Files
--------------
web/pgadmin/__init__.py | 7 +++++++
web/pgadmin/browser/templates/browser/js/messages.js | 5 ++++-
web/pgadmin/utils/__init__.py | 16 ++++++++++++++++
3 files changed, 27 insertions(+), 1 deletion(-)