emulsify
emulsify copied to clipboard
The Drupal.t function doesn't work because of minified js.
emulsify version: 2.7
What happened: The Drupal.t function doesn't work in minified js.
Problem description:
When javascript is minified the argument (variable) Drupal
gets replaced with b
for example b.t('Skills')
If I change b
to Drupal
in the minified file, the word 'Skills' gets translatable in Drupal through the User interface translation.
Thanks for opening your first issue here! Be sure to follow the issue template!
I just ran into this issue too. I was getting a console error that Drupal.t()
was an unrecognized function.