send translated strings to javascript

This commit is contained in:
Zachary Chai
2016-11-10 12:16:33 -05:00
parent c32b513d6c
commit c7d2c8f27e
7 changed files with 32 additions and 30 deletions

View File

@ -49,3 +49,7 @@
<!-- End of Footer -->
</body>
</html>
<script type="text/javascript">
window.I18n = <%= client_translations.to_json.html_safe %>
</script>