<commit_before>import 'jquery'

import 'mediaelement'
import 'mediaelement/src/js/mep-header'
import 'mediaelement/src/js/mep-library'
import 'mediaelement/src/js/mep-player'
import 'mediaelement/src/js/mep-feature-playpause'
import 'mediaelement/src/js/mep-feature-stop'
import 'mediaelement/src/js/mep-feature-progress'
import 'mediaelement/src/js/mep-feature-time'
import 'mediaelement/src/js/mep-feature-volume'
import 'mediaelement/src/js/mep-feature-fullscreen'
import '../mediaelement/mep-feature-tracks-instructure'
import '../mediaelement/mep-feature-speed-instructure'
import '../mediaelement/mep-feature-sourcechooser-instructure'
import 'mediaelement/src/js/mep-feature-googleanalytics'

// Import stylesheet and override
import 'mediaelement/build/mediaelementplayer.min.css'
import '../../../app/stylesheets/base/_custom_mediaelementplayer.css'
<commit_msg>Translate strings in mediaelement player<commit_after>import 'jquery'

import 'mediaelement'
import 'mediaelement/src/js/mep-header'
import 'mediaelement/src/js/mep-library'
import 'mediaelement/src/js/mep-player'
import 'mediaelement/src/js/mep-feature-playpause'
import 'mediaelement/src/js/mep-feature-stop'
import 'mediaelement/src/js/mep-feature-progress'
import 'mediaelement/src/js/mep-feature-time'
import 'mediaelement/src/js/mep-feature-volume'
import 'mediaelement/src/js/mep-feature-fullscreen'
import '../mediaelement/mep-feature-tracks-instructure'
import '../mediaelement/mep-feature-speed-instructure'
import '../mediaelement/mep-feature-sourcechooser-instructure'
import 'mediaelement/src/js/mep-feature-googleanalytics'

// Import stylesheet and override
import 'mediaelement/build/mediaelementplayer.min.css'
import '../../../app/stylesheets/base/_custom_mediaelementplayer.css'


// Tell mediaelementJS to use strings for the user's locale.
// when we start doing locale-specific webpack builds,
// change window.ENV.LOCALE to process.env.BUILD_LOCALE
let strings
try {
  strings = require(`mediaelement/build/lang/me-i18n-locale-${window.ENV.LOCALE}`)
} catch (error) {
  // medialementjs doesn't have strings for this locale
}
if (strings) window.mejs.i18n.locale.language = window.ENV.LOCALE


{'fraction_non_alphanumeric': 0.13534522176497485, 'fraction_numerical': 0.001828989483310471, 'mean_word_length': 5.3604651162790695, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2554791', 'n_tokens_mistral': 709, 'n_tokens_neox': 699, 'n_words': 118}