pgAdmin 4 commit: Allow the modules to define the i18n messages, and ot

From: Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: pgAdmin 4 commit: Allow the modules to define the i18n messages, and ot
Date: 2016-05-10 10:39:53
Message-ID: E1b054z-0008LJ-4S@gothos.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgadmin-hackers by date

  From Date Subject
Next Message Neel Patel 2016-05-10 10:50:01 [pgAdmin4]: Maintenance tool for vaccum operation
Previous Message Ashesh Vashi 2016-05-10 10:33:09 pgAdmin 4 commit: Adding the timeout for the connection on the configur