Problem/Motivation
In order for Drupal.t() to function, Drupal must be able to parse the built JS file that is attached to identify strings that need to be translated. This means `Drupal.t` can't be passed as a callback, as is done in the slideshow js and `Drupal.t` can't be mangled by Uglify for production builds.
Proposed resolution
1. Refactor slideshow JS to translate strings directly with Drupal.t rather than via a callback
2. Configure uglify to preserve Drupal.t when compressing JS
Issue fork prototype-3585336
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
jldust commentedComment #5
jldust commentedThis has been merged in and will be included in the next tagged release.