pgAdmin 4 commit: Allow the modules to define the i18n messages, and ot - Mailing list pgadmin-hackers

From Ashesh Vashi
Subject pgAdmin 4 commit: Allow the modules to define the i18n messages, and ot
Date
Msg-id E1b054z-0008LJ-4S@gothos.postgresql.org
Whole thread Raw
List pgadmin-hackers
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(-)


pgadmin-hackers by date:

Previous
From: Ashesh Vashi
Date:
Subject: pgAdmin 4 commit: Adding the timeout for the connection on the configur
Next
From: Neel Patel
Date:
Subject: [pgAdmin4]: Maintenance tool for vaccum operation