pgAdmin 4 commit: Add a mechanism for centralising JS translations, to

From: Dave Page <dpage(at)pgadmin(dot)org>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: pgAdmin 4 commit: Add a mechanism for centralising JS translations, to
Date: 2017-03-15 17:10:26
Message-ID: E1coCRO-0007Py-8d@gothos.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Add a mechanism for centralising JS translations, to avoid having to render many JS files with Jinja.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=4445f9dd63709849875cd3e422d4df3d50bca8da
Author: Atira Odhner <aodhner(at)pivotal(dot)io>

Modified Files
--------------
test/javascript/fake_translations.js | 3 ++
test/javascript/translate_spec.js | 43 ++++++++++++++++++++++++++
web/pgadmin/static/js/translate.js | 32 +++++++++++++++++++
web/pgadmin/tools/__init__.py | 19 +++++++++++-
web/pgadmin/tools/templates/js/translations.js | 4 +++
5 files changed, 100 insertions(+), 1 deletion(-)

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2017-03-15 17:11:14 pgAdmin 4 commit: Refactor clipboard copying into a separate file for u
Previous Message Dave Page 2017-03-15 17:09:26 pgAdmin 4 commit: Add Jasmine test framework for JS testing.