Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

[MM-26426] - Fix translations broken by the webpack require call #5778

Merged
merged 1 commit into from
Jun 24, 2020

Conversation

jespino
Copy link
Member

@jespino jespino commented Jun 23, 2020

Summary

I think this was broken because we updated the dependencies. The require
calls were getting the object including the default export insted of using
directly that default value as the imported value. Now using import is working
fine.

Ticket Link

MM-26426

@jespino jespino requested a review from crspeller June 23, 2020 14:05
@jespino jespino added 2: Dev Review Requires review by a core commiter 3: QA Review Requires review by a QA tester labels Jun 23, 2020
Copy link
Member

@crspeller crspeller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice fix :)

@nevyangelova nevyangelova added the Setup Cloud Test Server Setup a test server using Mattermost Cloud label Jun 23, 2020
@nevyangelova nevyangelova changed the title Fix translations broken by the webpack require call [MM-26426] - Fix translations broken by the webpack require call Jun 23, 2020
Copy link
Contributor

@jgilliam17 jgilliam17 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @jespino
Tested, looks good to merge.

  • Verified user can change language in account settings > display > language.

@jgilliam17 jgilliam17 added QA Review Done and removed 3: QA Review Requires review by a QA tester Setup Cloud Test Server Setup a test server using Mattermost Cloud labels Jun 23, 2020
@mm-cloud-bot
Copy link

Test server destroyed

@jespino jespino requested a review from hmhealey June 23, 2020 18:05
@jespino jespino requested review from mgdelacroix and removed request for hmhealey June 24, 2020 09:50
@mgdelacroix mgdelacroix added 4: Reviews Complete All reviewers have approved the pull request and removed 2: Dev Review Requires review by a core commiter QA Review Done labels Jun 24, 2020
@mgdelacroix mgdelacroix merged commit c6c6f93 into mattermost:master Jun 24, 2020
@amyblais amyblais added Changelog/Not Needed Does not require a changelog entry Docs/Not Needed Does not require documentation labels Jun 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
4: Reviews Complete All reviewers have approved the pull request Changelog/Not Needed Does not require a changelog entry Docs/Not Needed Does not require documentation
Projects
None yet
8 participants