<commit_before>import langEn from '../i18n/en-us'

export default {
  __installed: false,
  install ({ $q, Vue, lang }) {
    if (this.__installed) { return }
    this.__installed = true

    this.set = (lang = langEn) => {
      lang.set = this.set

      Vue.set($q, 'i18n', lang)
      this.name = lang.lang
      this.lang = lang
    }

    this.detectLocale = () => {
      let val =
        navigator.language ||
        navigator.languages[0] ||
        navigator.browserLanguage ||
        navigator.userLanguage ||
        navigator.systemLanguage
      if (val) {
        return val.toLowerCase()
      }
    }

    this.set(lang)
  }
}<commit_msg>refactor(i18n): Small change<commit_after>import langEn from '../i18n/en-us'

export default {
  __installed: false,
  install ({ $q, Vue, lang }) {
    if (this.__installed) { return }
    this.__installed = true

    this.set = (lang = langEn) => {
      lang.set = this.set

      Vue.set($q, 'i18n', lang)
      this.name = lang.lang
      this.lang = lang
    }

    this.set(lang)
  },

  getLocale () {
    let val =
      navigator.language ||
      navigator.languages[0] ||
      navigator.browserLanguage ||
      navigator.userLanguage ||
      navigator.systemLanguage

    if (val) {
      return val.toLowerCase()
    }
  }
}
{'fraction_non_alphanumeric': 0.13713405238828968, 'fraction_numerical': 0.009244992295839754, 'mean_word_length': 2.0855106888361044, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 6, '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': '1139661', 'n_tokens_mistral': 447, 'n_tokens_neox': 429, 'n_words': 86}