<commit_before>import Vue from 'vue'
import VueI18n from 'vue-i18n'
import deepmerge from 'deepmerge'

import availableLocales from './availableLocales'

import en from '@/locales/en.json'
import de from '@/locales/de.json'
import deCHScout from '@/locales/de-CH-scout.json'

import validationEn from 'vee-validate/dist/locale/en.json'
import validationDe from 'vee-validate/dist/locale/de.json'

Vue.use(VueI18n)

export default new VueI18n({
  locale: 'de',
  fallbackLocale: 'en',
  messages: deepmerge({ en, de, 'de-CH-scout': deCHScout }, {
    de: {
      validation: validationDe.messages
    },
    en: {
      validation: validationEn.messages
    }
  }),
  silentTranslationWarn: true,
  availableLocales
})<commit_msg>Allow overriding of vee-validate built-in validation messages<commit_after>import Vue from 'vue'
import VueI18n from 'vue-i18n'
import deepmerge from 'deepmerge'

import availableLocales from './availableLocales'

import en from '@/locales/en.json'
import de from '@/locales/de.json'
import deCHScout from '@/locales/de-CH-scout.json'

import validationEn from 'vee-validate/dist/locale/en.json'
import validationDe from 'vee-validate/dist/locale/de.json'

Vue.use(VueI18n)

export default new VueI18n({
  locale: 'de',
  fallbackLocale: 'en',
  messages: deepmerge({
    de: {
      validation: validationDe.messages
    },
    en: {
      validation: validationEn.messages
    }
  }, { en, de, 'de-CH-scout': deCHScout }),
  silentTranslationWarn: true,
  availableLocales
})
{'fraction_non_alphanumeric': 0.12350597609561753, 'fraction_numerical': 0.010624169986719787, 'mean_word_length': 4.178694158075602, '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': '3203575', 'n_tokens_mistral': 524, 'n_tokens_neox': 518, 'n_words': 126}