mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Add a mechanism for centralising JS translations, to avoid having to render many JS files with Jinja.
This commit is contained in:
4
web/pgadmin/tools/templates/js/translations.js
Normal file
4
web/pgadmin/tools/templates/js/translations.js
Normal file
@@ -0,0 +1,4 @@
|
||||
define(function () {
|
||||
var translations = {{ translations|tojson }};
|
||||
return translations;
|
||||
});
|
||||
Reference in New Issue
Block a user