diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-10-25 17:38:58 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-10-25 17:38:58 +0100 |
commit | 27cab90573fb1c68076adf252a161687fa981b9c (patch) | |
tree | 307eb2dbc622a4394791b5f3fd4b2deb0400c837 | |
parent | 917245cd73f7b4dcd9fe800352eeb4138238346d (diff) |
Add collapse filter to translation JavaScript.
This removes unnecessary whitespace to reduce the output size.
-rw-r--r-- | templates/web/base/js/translation_strings.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/web/base/js/translation_strings.html b/templates/web/base/js/translation_strings.html index 9bdf3b498..97945a78e 100644 --- a/templates/web/base/js/translation_strings.html +++ b/templates/web/base/js/translation_strings.html @@ -1,3 +1,4 @@ +[% FILTER collapse %] translation_strings = { update: '[% loc('Please enter a message') | replace("'", "\\'") %]', title: '[% loc('Please enter a subject') | replace("'", "\\'") %]', @@ -81,3 +82,4 @@ update_plural: '[% loc('updates') | replace("'", "\\'") %]' } }; +[% END %] |