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

This commit is contained in:
Atira Odhner authored and Dave Page committed 2017-03-15 17:10:22 +00:00
1 parent 2f84156dc6
commit 4445f9dd63
5 files changed
+100 -1

No files matched your search

@@ -0,0 +1,4 @@
define(function () {
var translations = {{ translations|tojson }};
return translations;
});