Skip to content
This repository was archived by the owner on Mar 31, 2023. It is now read-only.

The Drupal.t function doesn't work because of minified js. #344

@nortmas

Description

@nortmas

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions