Added Spanish option in settings

This commit is contained in:
RemixDev 2020-07-29 14:53:10 +02:00
parent 6b545bf048
commit 6863384632
3 changed files with 11 additions and 7 deletions

File diff suppressed because one or more lines are too long

View File

@ -4,6 +4,7 @@ import VueI18n from 'vue-i18n'
// Languages
import it from '@/lang/it'
import en from '@/lang/en'
import es from '@/lang/es'
Vue.use(VueI18n)
@ -13,7 +14,8 @@ document.querySelector('html').setAttribute('lang', DEFAULT_LANG)
const locales = {
it,
en
en,
es
}
const i18n = new VueI18n({

View File

@ -1,7 +1,9 @@
import it from 'svg-country-flags/svg/it.svg'
import gb from 'svg-country-flags/svg/gb.svg'
import es from 'svg-country-flags/svg/es.svg'
export default {
it,
en: gb
en: gb,
es
}