projectblacklight/blacklight — pull request #628 by eranhirs (2013-10-19 19:23:40+00:00)
Title: Create locales.js.erb - Now the locales are accessible to JS

Some JS files (like bookmark_toggle.js) have locales strings inside them, this causes 2 problems:
1) Changing to another language won't work for the locales in JS files.
2) Some of the locales strings are scattered around the JS.

Now the locales are accessible from Javascript.